dateutil latest version

v2.8.1


dateutil v2.8.1 Release Notes

Release Date: 2019εΉ΄11月03ζ—₯ // about 6 years ago
  • πŸ”– Version 2.8.1 (2019εΉ΄11月03ζ—₯)

    ⚑️ 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

Previous changes from v2.7.5

  • ⚑️ Data updates

    • ⚑️ Update tzdata to 2018g
Awesome Python is part of the LibHunt network. Terms. Privacy Policy.

(CC)
BY-SA
We recommend Spin The Wheel Of Names for a cryptographically secure random name picker.

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /