Skip to content

Commit

Permalink
Merge pull request #1343 from pganssle/release_2.9.0
Browse files Browse the repository at this point in the history
Release 2.9.0
  • Loading branch information
pganssle committed Mar 1, 2024
2 parents 8fe0cab + 423ca2f commit db9d018
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Expand Up @@ -27,6 +27,11 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Run updatezinfo.py (Unix)
run: |
python -m venv venv
venv/bin/pip install -e .
./ci_tools/retry.sh venv/bin/python updatezinfo.py
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
@@ -1,4 +1,4 @@
include LICENSE NEWS zonefile_metadata.json updatezinfo.py pyproject.toml
recursive-include tests/
recursive-include tests/ *
global-exclude __pycache__
global-exclude *.py[co]
34 changes: 34 additions & 0 deletions NEWS
@@ -1,3 +1,37 @@
Version 2.9.0 (2024-02-29)
==========================

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)


Version 2.8.2 (2021-07-08)
==========================

Expand Down
6 changes: 0 additions & 6 deletions changelog.d/1007.feature.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/1167.doc.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/1174.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/1211.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/1284.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/1286.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/1342.data.rst

This file was deleted.

1 change: 1 addition & 0 deletions setup.cfg
Expand Up @@ -33,6 +33,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development :: Libraries

[options]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -104,7 +104,7 @@ commands = python -m sphinx -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/do

[testenv:news]
description = Invoke towncrier to update the NEWS file
basepython = python3.7
basepython = python3.11
passenv = *
deps = towncrier
commands =
Expand Down

0 comments on commit db9d018

Please sign in to comment.