vltr / middle

Flexible, extensible Python data structures for general usage
https://middle.readthedocs.io/en/latest/
MIT License
10 stars 1 forks source link

Scheduled weekly dependency update for week 37 #272

Closed pyup-bot closed 4 weeks ago

pyup-bot commented 1 month ago

Update attrs from 19.1.0 to 24.2.0.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/attrs

Update python-dateutil from 2.8.0 to 2.9.0.post0.

Changelog ### 2.9.0.post0 ``` ================================ Bugfixes -------- - Pinned ``setuptools_scm`` to ``<8``, which should make the generated ``_version.py`` file compatible with all supported versions of Python. ``` ### 2.9.0 ``` ========================== Data updates ------------ - Updated tzdata version to 2024a. (gh pr 1342) Features -------- - Made all ``dateutil`` submodules lazily imported using `PEP 562 <https://www.python.org/dev/peps/pep-0562/>`_. On Python 3.7+, things like ``import dateutil; dateutil.tz.gettz("America/New_York")`` will now work without explicitly importing ``dateutil.tz``, with the import occurring behind the scenes on first use. The old behavior remains on Python 3.6 and earlier. Fixed by Orson Adams. (gh issue 771, gh pr 1007) Bugfixes -------- - Removed a call to ``datetime.utcfromtimestamp``, which is deprecated as of Python 3.12. Reported by Hugo van Kemenade (gh pr 1284), fixed by Thomas Grainger (gh pr 1285). Documentation changes --------------------- - Added note into docs and tests where relativedelta would return last day of the month only if the same day on a different month resolves to a date that doesn't exist. Reported by hawkEye-01 (gh issue 1167). Fixed by Mifrill (gh pr 1168) ``` ### 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). ``` ### 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 ```
Links - PyPI: https://pypi.org/project/python-dateutil - Changelog: https://data.safetycli.com/changelogs/python-dateutil/ - Repo: https://github.com/dateutil/dateutil

Update six from 1.12.0 to 1.16.0.

Changelog ### 1.16.0 ``` ------ - Pull request 343, issue 341, pull request 349: Port _SixMetaPathImporter to Python 3.10. ``` ### 1.15.0 ``` ------ - Pull request 331: Optimize `six.ensure_str` and `six.ensure_binary`. ``` ### 1.14.0 ``` ------ - Issue 288, pull request 289: Add `six.assertNotRegex`. - Issue 317: `six.moves._dummy_thread` now points to the `_thread` module on Python 3.9+. Python 3.7 and later requires threading and deprecated the `_dummy_thread` module. - Issue 308, pull request 314: Remove support for Python 2.6 and Python 3.2. - Issue 250, issue 165, pull request 251: `six.wraps` now ignores missing attributes. This follows the Python 3.2+ standard library behavior. ``` ### 1.13.0 ``` ------ - Issue 298, pull request 299: Add `six.moves.dbm_ndbm`. - Issue 155: Add `six.moves.collections_abc`, which aliases the `collections` module on Python 2-3.2 and the `collections.abc` on Python 3.3 and greater. - Pull request 304: Re-add distutils fallback in `setup.py`. - Pull request 305: On Python 3.7, `with_metaclass` supports classes using PEP 560 features. ```
Links - PyPI: https://pypi.org/project/six - Changelog: https://data.safetycli.com/changelogs/six/ - Repo: https://github.com/benjaminp/six
pyup-bot commented 4 weeks ago

Closing this in favor of #273