File python3-python-dateutil.changes of Package python3-python-dateutil
-------------------------------------------------------------------
Fri Jul 16 12:53:27 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 2.8.2:
- Data updates:
- Updated tzdata version to 2021a. (gh pr #1128)
- Bugfixes:
- Fixed a bug in the parser where non-``ValueError`` exceptions would be raised
during exception handling; this would happen, for example, if an
``IllegalMonthError`` was raised in ``dateutil`` code. Fixed by Mark Bailey.
(gh issue #981, pr #987).
- Fixed the custom ``repr`` for ``dateutil.parser.ParserError``, which was not
defined due to an indentation error. (gh issue #991, gh pr #993)
- Fixed a bug that caused ``b'`` prefixes to appear in parse_isodate exception
messages. Reported and fixed by Paul Brown (@pawl) (gh pr #1122)
- Make ``isoparse`` raise when trying to parse times with inconsistent use of
`:` separator. Reported and fixed by @mariocj89 (gh pr #1125).
- Fixed ``tz.gettz()`` not returning local time when passed an empty string.
Reported by @labrys (gh issues #925, #926). Fixed by @ffe4 (gh pr #1024)
- Documentation changes:
- Rearranged parser documentation into "Functions", "Classes" and "Warnings and
Exceptions" categories. (gh issue #992, pr #994).
- Updated ``parser.parse`` documentation to reflect the switch from
``ValueError`` to ``ParserError``. (gh issue #992, pr #994).
- Fixed methods in the ``rrule`` module not being displayed in the docs. (gh pr
#1025)
- Changed some relative links in the exercise documentation to refer to the
document locations in the input tree, rather than the generated HTML files in
the HTML output tree (which presumably will not exist in non-HTML output
formats). (gh pr #1078).
- Misc:
- Moved ``test_imports.py``, ``test_internals.py`` and ``test_utils.py`` to
pytest. Reported and fixed by @jpurviance (gh pr #978)
- Added project_urls for documentation and source. Patch by @andriyor (gh pr
#975).
- Simplified handling of bytes and bytearray in ``_parser._timelex``. Reported
and fixed by @frenzymadness (gh issue #1060).
- Changed the tests against the upstream tz database to always generate fat
binaries, since until GH-590 and GH-1059 are resolved, "slim" zic binaries
will cause problems in many zones, causing the tests to fail. This also
updates ``zoneinfo.rebuild`` to always generate fat binaries. (gh pr #1076).
- Moved sdist and wheel generation to use `python-build`. Reported and fixed by
@mariocj89 (gh pr #1133).
- update to version 2.8.1:
- Data updates:
- Updated tzdata version to 2019c.
- Bugfixes:
- Fixed a race condition in the ``tzoffset`` and ``tzstr`` "strong" caches on
Python 2.7. Reported by @kainjow (gh issue #901).
- Parsing errors will now raise ``ParserError``, a subclass of ``ValueError``,
which has a nicer string representation. Patch by @gfyoung (gh pr #881).
- ``parser.parse`` will now raise ``TypeError`` when ``tzinfos`` is passed a
type that cannot be interpreted as a time zone. Prior to this change, it
would raise an ``UnboundLocalError`` instead. Patch by @jbrockmendel (gh pr
#891).
- Changed error message raised when when passing a ``bytes`` object as the time
zone name to gettz in Python 3. Reported and fixed by @labrys () (gh issue
#927, gh pr #935).
- Changed compatibility logic to support a potential Python 4.0 release. Patch
by Hugo van Kemenade (gh pr #950).
- Updated many modules to use ``tz.UTC`` in favor of ``tz.tzutc()`` internally,
to avoid an unnecessary function call. (gh pr #910).
- Fixed issue where ``dateutil.tz`` was using a backported version of
``contextlib.nullcontext`` even in Python 3.7 due to a malformed import
statement. (gh pr #963).
- Tests:
- Switched from using assertWarns to using pytest.warns in the test suite. (gh
pr #969).
- Fix typo in setup.cfg causing PendingDeprecationWarning to not be explicitly
specified as an error in the warnings filter. (gh pr #966)
- Fixed issue where ``test_tzlocal_offset_equal`` would fail in certain
environments (such as FreeBSD) due to an invalid assumption about what time
zone names are provided. Reported and fixed by Kubilay Kocak (gh issue #918,
pr #928).
- Fixed a minor bug in ``test_isoparser`` related to ``bytes``/``str``
handling. Fixed by @fhuang5 (gh issue #776, gh pr #879).
- Explicitly listed all markers used in the pytest configuration. (gh pr #915)
- Extensive improvements to the parser test suite, including the adoption of
``pytest``-style tests and the addition of parametrization of several test
cases. Patches by @jbrockmendel (gh prs #735, #890, #892, #894).
- Added tests for tzinfos input types. Patch by @jbrockmendel (gh pr #891).
- Fixed failure of test suite when changing the TZ variable is forbidden.
Patch by @shadchin (gh pr #893).
- Pinned all test dependencies on Python 3.3. (gh prs #934, #962)
- Documentation changes:
- Fixed many misspellings, typos and styling errors in the comments and
documentation. Patch by Hugo van Kemenade (gh pr #952).
- Misc:
- Added Python 3.8 to the trove classifiers. (gh pr #970)
- Moved as many keys from ``setup.py`` to ``setup.cfg`` as possible. Fixed by
@FakeNameSE, @aquinlan82, @jachen20, and @gurgenz221 (gh issue #871, gh pr
#880).
- Reorganized ``parser`` methods by functionality. Patch by @jbrockmendel (gh
pr #882).
- Switched ``release.py`` over to using ``pep517.build`` for creating releases,
rather than direct invocations of ``setup.py``. Fixed by @smeng10 (gh issue
#869, gh pr #875).
- Added a "build" environment into the tox configuration, to handle dependency
management when making releases. Fixed by @smeng10 (gh issue #870,r
gh pr #876).
- GH #916, GH #971
- update to version 2.8.0:
- Data updates:
- Updated tzdata version to to 2018i.
- Features:
- Added support for ``EXDATE`` parameters when parsing ``rrule`` strings.
Reported by @mlorant (gh issue #410), fixed by @nicoe (gh pr #859).
- Added support for sub-minute time zone offsets in Python 3.6+.
Fixed by @cssherry (gh issue #582, pr #763)
- Switched the ``tzoffset``, ``tzstr`` and ``gettz`` caches over to using weak
references, so that the cache expires when no other references to the
original ``tzinfo`` objects exist. This cache-expiry behavior is not
guaranteed in the public interface and may change in the future. To improve
performance in the case where transient references to the same time zones
are repeatedly created but no strong reference is continuously held, a
smaller "strong value" cache was also added. Weak value cache implemented by
@cs-cordero (gh pr #672, #801), strong cache added by
Gökçen Nurlu (gh issue #691, gh pr #761)
- Bugfixes:
- Add support for ISO 8601 times with comma as the decimal separator in the
``dateutil.parser.isoparse`` function. (gh pr #721)
- Changed handling of ``T24:00`` to be compliant with the standard. ``T24:00``
now represents midnight on the *following* day.
Fixed by @cheukting (gh issue #658, gh pr #751)
- Fixed an issue where ``isoparser.parse_isotime`` was unable to handle the
``24:00`` variant representation of midnight. (gh pr #773)
- Added support for more than 6 fractional digits in `isoparse`.
Reported and fixed by @jayschwa (gh issue #786, gh pr #787).
- Added 'z' (lower case Z) as valid UTC time zone in isoparser.
Reported by @cjgibson (gh issue #820). Fixed by @Cheukting (gh pr #822)
- Fixed a bug with base offset changes during DST in ``tzfile``, and refactored
the way base offset changes are detected. Originally reported on
Stack Overflow by @MartinThoma. (gh issue #812, gh pr #810)
- Fixed error condition in ``tz.gettz`` when a non-ASCII timezone is passed on
Windows in Python 2.7. (gh issue #802, pr #861)
- Improved performance and inspection properties of ``tzname`` methods.
(gh pr #811)
- Removed unnecessary binary_type compatibility shims.
Added by @jdufresne (gh pr #817)
- Changed ``python setup.py test`` to print an error to ``stderr`` and exit
with 1 instead of 0. Reported and fixed by @hroncok (gh pr #814)
- Added a ``pyproject.toml`` file with build requirements and an explicitly
specified build backend. (gh issue #736, gh prs #746, #863)
- Documentation changes:
- Added documentation for the ``rrule.rrulestr`` function.
Fixed by @prdickson (gh issue #623, gh pr #762)
- Add documentation for the ``dateutil.tz.win`` module and mocked out certain
Windows-specific modules so that autodoc can still be run on non-Windows
systems. (gh issue #442, pr #715)
- Added changelog to documentation. (gh issue #692, gh pr #707)
- Improved documentation on the use of ``until`` and ``count`` parameters in
``rrule``. Fixed by @lucaferocino (gh pr #755).
- Added an example of how to use a custom ``parserinfo`` subclass to parse
non-standard datetime formats in the examples documentation for ``parser``.
Added by @prdickson (gh #753)
- Expanded the description and examples in the ``relativedelta`` class.
Contributed by @andrewcbennett (gh pr #759)
- Improved the contributing documentation to clarify where to put new changelog
files. Contributed by @andrewcbennett (gh pr #757)
- Fixed a broken doctest in the ``relativedelta`` module.
Fixed by @nherriot (gh pr #758).
- Reorganized ``dateutil.tz`` documentation and fixed issue with the
``dateutil.tz`` docstring. (gh pr #714)
- Misc:
- GH #720, GH #723, GH #726, GH #727, GH #740, GH #750, GH #760, GH #767,
GH #772, GH #773, GH #780, GH #784, GH #785, GH #791, GH #799, GH #813,
GH #836, GH #839, GH #857
-------------------------------------------------------------------
Tue Apr 6 09:26:18 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- cleanup and fixes for centos 8
-------------------------------------------------------------------
Thu Dec 10 09:18:38 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- CentOS: Fix six dependency
-------------------------------------------------------------------
Thu May 9 08:36:21 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Fix CentOS_7
-------------------------------------------------------------------
Mon Oct 29 09:11:10 UTC 2018 - sebix+novell.com@sebix.at
- update to 2.7.5
-------------------------------------------------------------------
Wed Mar 28 13:12:23 UTC 2018 - sebix+novell.com@sebix.at
- update to 2.7.2
-------------------------------------------------------------------
Mon Mar 12 10:50:58 UTC 2018 - sebix+novell.com@sebix.at
- update to 2.7.0
-------------------------------------------------------------------
Mon Jul 17 13:11:04 UTC 2017 - sebix+novell.com@sebix.at
- update to 2.6.1
-------------------------------------------------------------------
Mon Jul 10 12:37:31 UTC 2017 - sebix+novell.com@sebix.at
- fix Requires
-------------------------------------------------------------------
Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com
- Don't provide python2-dateutil, singlespec packages should use
correct name.
-------------------------------------------------------------------
Tue Mar 28 17:55:07 UTC 2017 - aloisio@gmx.com
- Converted to single-spec
- Enabled tests
- Spec cleanup
-------------------------------------------------------------------
Wed Nov 9 07:56:09 UTC 2016 - tbechtold@suse.com
- Use https for Source
-------------------------------------------------------------------
Tue Nov 8 15:54:24 UTC 2016 - aloisio@gmx.com
- Update to version 2.6.0
* Added PEP-495-compatible methods to address ambiguous and
imaginary dates in time zones in a backwards-compatible
way. Ambiguous dates and times can now be safely represented
by all dateutil time zones. Many thanks to Alexander
Belopolski (@abalkin) and Tim Peters @tim-one for their
inputs on how to address this. Original issues reported by
Yupeng and @zed (lP: 1390262, gh issues #57, #112, #249,
#284, #286, prs #127, #225, #248, #264, #302).
* Added new methods for working with ambiguous and imaginary
dates to the tz module. datetime_ambiguous() determines if
a datetime is ambiguous for a given zone and datetime_exists()
determines if a datetime exists in a given zone.
This works for all fold-aware datetimes, not just those
provided by dateutil. (gh issue #253, gh pr #302)
* Fixed an issue where dst() in Portugal in 1996 was
returning the wrong value in tz.tzfile objects. Reported
by @abalkin (gh issue #128, pr #225)
* Fixed an issue where zoneinfo.ZoneInfoFile errors were not
being properly deep-copied. (gh issue #226, pr #225)
* Refactored tzwin and tzrange as a subclass of a common
class, tzrangebase, as there was substantial overlapping
functionality. As part of this change, tzrange and tzstr
now expose a transitions() function, which returns the
DST on and off transitions for a given year. (gh issue
#260, pr #302)
* Deprecated zoneinfo.gettz() due to confusion with
tz.gettz(), in favor of get() method of
zoneinfo.ZoneInfoFile objects. (gh issue #11, pr #310)
* For non-character, non-stream arguments, parser.parse now
raises TypeError instead of AttributeError. (gh issues
#171, #269, pr #247)
* Fixed an issue where tzfile objects were not properly
handling dst() and tzname() when attached to
datetime.time objects. Reported by @ovacephaloid.
(gh issue #292, pr #309)
* /usr/share/lib/zoneinfo was added to TZPATHS for
compatibility with Solaris systems. Reported by @dhduvall
(gh issue #276, pr #307)
* tzoffset and tzrange objects now accept either a number of
seconds or a datetime.timedelta() object wherever
previously only a number of seconds was allowed.
(gh pr #264, #277)
* datetime.timedelta objects can now be added to
relativedelta objects. Reported and added by Alec Nikolas
Reiter (@justanr) (gh issue #282, pr #283
* Refactored relativedelta.weekday and rrule.weekday into a
common base class to reduce code duplication.
(gh issue #140, pr #311)
* An issue where the WKST parameter was improperly rendering
in str(rrule) was reported and fixed by Daniel LePage
(@dplepage). (gh issue #262, pr #263)
* A replace() method has been added to rrule objects by
@jendas1, which creates new rrule with modified attributes,
analogous to datetime.replace (gh pr #167)
* Made some significant performance improvements to rrule
objects in Python 2.x (gh pr #245)
* All classes defining equality functions now return
NotImplemented when compared to unsupported classes,
rather than raising TypeError, to allow other classes to
provide fallback support. (gh pr #236)
* Several classes have been marked as explicitly unhashable
to maintain identical behavior between Python 2 and 3.
Submitted by Roy Williams (@rowillia) (gh pr #296)
* Trailing whitespace in easter.py has been removed.
Submitted by @OmgImAlexis (gh pr #299)
* Windows-only batch files in build scripts had line endings
switched to CRLF. (gh pr #237)
* @adamchainz updated the documentation links to reflect
that the canonical location for readthedocs links is now
at .io, not .org. (gh pr #272)
* Made some changes to the CI and codecov to test against
newer versions of Python and pypy, and to adjust the code
coverage requirements. For the moment, full pypy3
compatibility is not supported until a new release is
available, due to upstream bugs in the old version
affecting PEP-495 support. (gh prs #265, #266, #304, #308)
* The full PGP signing key fingerprint was added to the
README.md in favor of the previously used long-id.
Reported by @valholl (gh issue #287, pr #304)
* Updated zoneinfo to 2016i. (gh issue #298, gh pr #306)
-------------------------------------------------------------------
Fri Mar 4 06:59:53 UTC 2016 - tbechtold@suse.com
- Fix Obsoletes. No version upgrade was done during renaming.
-------------------------------------------------------------------
Fri Feb 26 12:45:15 UTC 2016 - tbechtold@suse.com
- Rename package to python-python-dateutil . It's openSUSE policy
to use the $pypi name with the python prefix.
-------------------------------------------------------------------
Thu Aug 13 03:13:09 UTC 2015 - Greg.Freemyer@gmail.com
- update url in specfile
- use sed to eliminate MS-DOS style end of lines
- update to version 2.4.2:
* Updated zoneinfo to 2015b.
* Fixed issue with parsing of tzstr on Python 2.7.x; tzstr will now
be decoded if not a unicode type. gh #51 (lp:1331576), gh pr #55.
* Fix a parser issue where AM and PM tokens were showing up in fuzzy
date stamps, triggering inappropriate errors. gh #56 (lp:
1428895), gh pr #63.
* Missing function "setcachsize" removed from zoneinfo __all__ list
by @ryanss, fixing an issue with wildcard imports of
dateutil.zoneinfo. (gh pr #66).
* (PyPi only) Fix an issue with source distributions not including
the test suite.
- changes from version 2.4.1:
* Added explicit check for valid hours if AM/PM is specified in
parser. (gh pr #22, issue #21)
* Fix bug in rrule introduced in 2.4.0 where byweekday parameter was
not handled properly. (gh pr #35, issue #34)
* Fix error where parser allowed some invalid dates, overwriting
existing hours with the last 2-digit number in the string. (gh pr
#32, issue #31)
* Fix and add test for Python 2.x compatibility with boolean
checking of relativedelta objects. Implemented by @nimasmi (gh pr
#43) and Céic Krier (lp: 1035038)
* Replaced parse() calls with explicit datetime objects in unit
tests unrelated to parser. (gh pr #36)
* Changed private _byxxx from sets to sorted tuples and fixed one
currently unreachable bug in _construct_byset. (gh pr #54)
* Additional documentation for parser (gh pr #29, #33, #41) and
rrule.
* Formatting fixes to documentation of rrule and README.rst.
* Updated zoneinfo to 2015a.
- changes from version 2.4.0:
* Fix an issue with relativedelta and freezegun (lp:1374022)
* Fix tzinfo in windows for timezones without dst (lp:1010050, gh
#2)
* Ignore missing timezones in windows like in POSIX
* Fix minimal version requirement for six (gh #6)
* Many rrule changes and fixes by @pganssle (gh pull requests #13
#14 #17), including defusing some infinite loops (gh #4)
- changes from version 2.3:
* Cleanup directory structure, moved test.py to
dateutil/tests/test.py
* Changed many aspects of dealing with the zone info file. Instead
of a cache, all the zones are loaded to memory, but symbolic links
are loaded only once, so not much memory is used.
* The package is now zip-safe, and universal-wheelable, thanks to
changes in the handling of the zoneinfo file.
* Fixed tzwin silently not imported on windows python2
* New maintainer, together with new hosting: GitHub, Travis,
Read-The-Docs
-------------------------------------------------------------------
Mon Jul 27 19:01:48 UTC 2015 - aloisio@gmx.com
- Update to version 2.2:
* Updated zoneinfo to 2013h
* fuzzy_with_tokens parse addon from Christopher Corley
* Bug with LANG=C fixed by Mike Gilbert
- Aligned requirement version with PyPI
-------------------------------------------------------------------
Thu Oct 24 11:01:02 UTC 2013 - speilicke@suse.com
- Require python-setuptools instead of distribute (upstreams merged)
-------------------------------------------------------------------
Wed Jun 6 10:11:52 UTC 2012 - cfarrell@suse.com
- license update: BSD-3-Clause
Look at the LICENSE file
-------------------------------------------------------------------
Wed Jun 6 08:49:28 UTC 2012 - toddrme2178@gmail.com
- Added python-six requires and buildrequires. dateutil will build
without out, but packaged down the dependency chain will fail
if it isn't installed
-------------------------------------------------------------------
Sun Jun 3 05:11:38 UTC 2012 - os-dev@jacraig.com
- Update to version 2.1
* See NEWS for changes
-------------------------------------------------------------------
Fri Apr 27 14:07:19 UTC 2012 - toddrme2178@gmail.com
- Fix building python 3 package on openSUSE 11.4
-------------------------------------------------------------------
Thu Apr 26 12:11:38 UTC 2012 - toddrme2178@gmail.com
- Add python 3 package
-------------------------------------------------------------------
Tue Apr 20 12:31:46 UTC 2010 - cstender@novell.com
- updated to version 1.5
* See NEWS for all changes and fixes
-------------------------------------------------------------------
Thu Aug 13 10:55:11 UTC 2009 - cstender@novell.com
- build as noarch
-------------------------------------------------------------------
Tue Sep 9 12:18:33 CEST 2008 - cstender@suse.de
- add python-setuptools to BuildRequire
- updated package to version 1.4.1
o See NEWS for all changes and fixes
-------------------------------------------------------------------
Fri Oct 20 20:27:51 CEST 2006 - dgollub@suse.de
- initial version of python-dateutil (1.1)