Made all dateutil submodules lazily imported using PEP 562. 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)
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)
Commits
1ae8077 Merge pull request #1346 from pganssle/release_2.9.0.post0
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python-packages group with 6 updates:
24.1.1
24.2.0
24.2.1
24.2.2
2.8.2
2.9.0.post0
13.7.0
13.7.1
0.2.2
0.3.0
0.12.3
0.12.4
Updates
autohooks
from 24.1.1 to 24.2.0Release notes
Sourced from autohooks's releases.
Commits
ed272ff
Automatic release to 24.2.0f71b1ad
Change: Improve zsh completion installation instructions5b47f57
Deps: Bump the dependencies group with 7 updates06647d7
Deps: Bump the dependencies group with 5 updates3adb00a
Deps: Bump the dependencies group with 6 updates2209c78
Automatic adjustments after releaseUpdates
pontos
from 24.2.1 to 24.2.2Release notes
Sourced from pontos's releases.
Commits
59600ec
Automatic release to 24.2.218b2757
Only compile regex pattern once3e63962
Fix: Fix overriding company in copyright header via update-header CLIb3ba4b3
Add a test for updating a header with spdx copyrightc31ef4d
Easier testing for update-header main function91ce1f6
Change: Allow to pass --year and --changed for update-header CLI74ea568
Change: Improve help for update-header argumentsa503ff2
Add: Add test for update-header passing files and directories356089d
Change: Improve and finalize update_file function APIe5e2725
Remove obsolete Terminal mock class in update header test moduleUpdates
python-dateutil
from 2.8.2 to 2.9.0.post0Release notes
Sourced from python-dateutil's releases.
Changelog
Sourced from python-dateutil's changelog.
Commits
1ae8077
Merge pull request #1346 from pganssle/release_2.9.0.post0ee6de9d
Update news to prepare for release9780d32
Pinsetuptools_scm
to <8db9d018
Merge pull request #1343 from pganssle/release_2.9.0423ca2f
Run updatezinfo before buildedd3fd4
Update NEWS filefe02d02
Run towncrier with Python 3.119c7524a
Fix MANIFEST.in pattern6de58f5
Update classifiers to include Python 3.128fe0cab
Merge pull request #1342 from pganssle/update_zoneinfoUpdates
rich
from 13.7.0 to 13.7.1Release notes
Sourced from rich's releases.
Changelog
Sourced from rich's changelog.
Commits
7f580bd
Merge pull request #3293 from Textualize/bump1371705bc46
bumpf4a7ed3
Merge pull request #3289 from Textualize/update-wcwidth18ebb42
Update wcwidth and cell widths.26152e9
Export TextType into the docs. (#3257)Updates
ruff
from 0.2.2 to 0.3.0Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
b53118e
Bump version to v0.3.0 (#10151)52f4c1e
Remove deprecated CLI option--format
(#10170)eceffe7
Deprecateruff \<path>
ruff --explain
,ruff --clean
and `ruff --generate...c73c497
[pydocstyle
] Trim whitespace when removing blank lines after section (`D413...c9c98c4
Fix mkdocs local link (#10167)72ccb34
Fix ecosystem check for indico (#10164)dcc92f5
Update black tests (#10166)a6f32dd
Ruff 2024.2 style (#9639)0293908
Implement RUF028 to detect useless formatter suppression comments (#9899)36bc725
[flake8-bugbear
] Avoid adding default initializers to stubs (B006
) (#10152)Updates
tomlkit
from 0.12.3 to 0.12.4Release notes
Sourced from tomlkit's releases.
Changelog
Sourced from tomlkit's changelog.
Commits
911cccd
chore: release 0.12.4712dba7
fix: -1 index error when setting dotted keyFixes #332Signed-off-by: Frost Min...0c2c30d
fix:|=
does not work as expected on TOMLDocumentFixes #331Signed-off-by: F...a3ed6a1
chore(deps-dev): bump jinja2 from 3.1.2 to 3.1.3 (#329)b963483
fix: indent exist check before accessing its property (#328)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show