Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.9.0 #1343

Merged
merged 5 commits into from Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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