You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
datetime: version 4.0.1
unittest: version 0.9.1
Initial version of Calendar.
Basic implementation of most Calendar features. Doesn't include
local or encoding. It can produce text and HTMl calendars.
Included is a basic command line set of arguments. A set of unit
tests for the calendar have also been implemented based on CPython
unit tests.
Basic strftime has been implemented in datetime. This covers the
minimum set of formatting required for the calendar functionality
implemented.
Added assertRaisesRegex and assertCountEq to unittest. These two
new functions are required for testing calendar. assertRaisesRegex
does not support calling with a compiled regex. A string is
expected.
Added unit tests for assertRaisesRegex and assertCountEq.
Porting of Calendar to Micropython
Updated datetime version information for new function strftime.
Copy file name to clipboardExpand all lines: python-stdlib/calendar/setup.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,9 @@
8
8
sys.path.append("..")
9
9
importsdist_upip
10
10
11
-
# TODO: Where does the version come from?
12
11
setup(
13
12
name="micropython-calendar",
14
-
version="0.0.0-1",
13
+
version="1.0.0-alpha",
15
14
description="CPython calendar module ported to MicroPython",
16
15
long_description="This is a module ported from CPython standard library to be compatible with\nMicroPython interpreter. Usually, this means applying small patches for\nfeatures not supported (yet, or at all) in MicroPython. Sometimes, heavier\nchanges are required. Note that CPython modules are written with availability\nof vast resources in mind, and may not work for MicroPython ports with\nlimited heap. If you are affected by such a case, please help reimplement\nthe module from scratch.",
0 commit comments