- Update to version 2.1.2
* Added support for build scripts without the setup.py file
generation in the editable builder (#2718).
* Fixed an error occurring when using older lock files (#2717).
- Changelog for version 2.1.1
* Fixed errors where invalid timezones were matched in
from_format() (#374).
* Fixed errors when subtracting negative timedeltas (#419).
* Fixed errors in total units computation for durations
with years and months (#482).
* Fixed an error where the fold attribute was overridden
when using replace() (#414).
* Fixed an error where now() was not returning the
correct result on DST transitions (#483).
* Fixed inconsistent typing annotation for the parse()
function (#452).
* Added the pl locale (#459).
- Build the extensions
- Kill dephell dependency
- Disable python2 package (no python2-poetry-core in Leaps
sr#842815)
OBS-URL: https://build.opensuse.org/request/show/844253
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=11
- version update to 2.1.0
Added
Added better typing and PEP-561 compliance (#320).
Added the is_anniversary() method as an alias of is_birthday() (#298).
Changed
Dropped support for Python 3.4.
is_utc() will now return True for any datetime with an offset of 0, similar to the behavior in the 1.* versions (#295)
Duration.in_words() will now return 0 milliseconds for empty durations.
Fixed
Fixed various issues with timezone transitions for some edge cases (#321, (#350)).
Fixed out of bound detection for nth_of("month") (#357).
Fixed an error where extra text was accepted in from_format() (#372).
Fixed a recursion error when adding time to a DateTime with a fixed timezone (#431).
Fixed errors where Period instances were not properly compared to other classes, especially timedelta instances (#427).
Fixed deprecation warnings due to internal regexps (#427).
Fixed an error where the test() helper would not unset the test instance when an exception was raised (#445).
Fixed an error where the week_of_month attribute was not returning the correct value (#446).
Fixed an error in the way the Z ISO-8601 UTC designator was not parsed as UTC (#448).
OBS-URL: https://build.opensuse.org/request/show/787803
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=5