chore(deps): bump python-dateutil from 3.0.0 to 4.0.0 in /scripts in the python group
Type: Pull Request
State: Open
Association: Unknown
Comments: 1
(about 7 hours ago)
(about 7 hours ago)
dependencies python
Bumps the python group in /scripts with 1 update: python-dateutil.
Updates python-dateutil from 3.0.0 to 4.0.0
Release notes
Sourced from python-dateutil's releases.
4.0.0
dateutil4.0 requires Python 3.11 or later and no longer depends onsix. Apart from that, the changes in this release are bug fixes, but note thatisoparseis now stricter about the numeric fields it accepts (see below).Deprecations
- Dropped support for Python versions older than 3.11 and removed the dependency on
six, along with Python 2 compatibility helpers that were never part of the public API, such asdateutil.tz.tzname_in_python2. (gh pr #1625)Bugfixes
parser.isoparse, and theisoparsermethodsparse_isodate,parse_isotimeandparse_tzstr, now require each numeric field to be exactly the expected number of ASCII digits. Strings that were previously accepted, such as20200728121240(read as 21:24),2014- 4-21and2_14-04-21, and offsets such as+-1:00, now raiseValueError.tzicalapplies the same check toTZOFFSETFROMandTZOFFSETTO. Reported by@janos-gonye(gh issue #1074). Fixed by@varun3257(gh pr #1617).- Fixed an issue where iterating over a cached
rruleorrrulesetcould hang forever if another iterator over the same rule had already completed the cache, for example when a cachedrrulewas included twice in anrruleset. Reported by@bysiber(gh pr #1455). Fixed by@pganssle(gh pr #1655).- Unpickling a
tzutcnow gives thedateutil.tz.UTCsingleton, and unpickling atzoffsetgives the same object as callingtzoffset(name, offset). Previously unpickling bypassed the singleton-generation logic. Reported and fixed by@masipcat(gh issue #1051, gh pr #1053).relativedelta(yearday=366)now resolves to December 31 in leap years. Previously it gave December 30, the same date asyearday=365. Reported and fixed by@Master-Norna(gh pr #1583).Misc
- The build backend is now Hatchling, and the package metadata is in
pyproject.toml. Versions are still derived from Git tags and exposed asdateutil.__version__. This mainly affects people buildingdateutilfrom source. (gh pr #1637, #1638)- Changes to CI, tests and release tooling that do not affect users of the package: gh pr #1636, #1644, #1645, #1646, #1648, #1649, #1650.
Changelog
Sourced from python-dateutil's changelog.
Version 4.0.0 (2026-11-01)
dateutil4.0 requires Python 3.11 or later and no longer depends onsix. Apart from that, the changes in this release are bug fixes, but note thatisoparseis now stricter about the numeric fields it accepts (see below).Deprecations
- Dropped support for Python versions older than 3.11 and removed the dependency on
six, along with Python 2 compatibility helpers that were never part of the public API, such asdateutil.tz.tzname_in_python2. (gh pr #1625)Bugfixes
parser.isoparse, and theisoparsermethodsparse_isodate,parse_isotimeandparse_tzstr, now require each numeric field to be exactly the expected number of ASCII digits. Strings that were previously accepted, such as20200728121240(read as 21:24),2014- 4-21and2_14-04-21, and offsets such as+-1:00, now raiseValueError.tzicalapplies the same check toTZOFFSETFROMandTZOFFSETTO. Reported by@janos-gonye(gh issue #1074). Fixed by@varun3257(gh pr #1617).- Fixed an issue where iterating over a cached
rruleorrrulesetcould hang forever if another iterator over the same rule had already completed the cache, for example when a cachedrrulewas included twice in anrruleset. Reported by@bysiber(gh pr #1455). Fixed by@pganssle(gh pr #1655).- Unpickling a
tzutcnow gives thedateutil.tz.UTCsingleton, and unpickling atzoffsetgives the same object as callingtzoffset(name, offset). Previously unpickling bypassed the singleton-generation logic. Reported and fixed by@masipcat(gh issue #1051, gh pr #1053).relativedelta(yearday=366)now resolves to December 31 in leap years. Previously it gave December 30, the same date asyearday=365. Reported and fixed by@Master-Norna(gh pr #1583).Misc
- The build backend is now Hatchling, and the package metadata is in
pyproject.toml. Versions are still derived from Git tags and exposed asdateutil.__version__. This mainly affects people buildingdateutilfrom source. (gh pr #1637, #1638)- Changes to CI, tests and release tooling that do not affect users of the
... (truncated)
Commits
a78cbd8Prepare release 4.0.0d23ff76Fix yearday=366 resolving to Dec 30 in leap years5391455Return the cached instances when unpickling tzutc and tzoffset6f13622Reject non-digit characters in isoparse and tzical numeric fields6e1864cRelease the rrule cache lock on every exit from a refill (#1655)71d92daSkip coverage collection on PyPy in CId9cad2fRun the tests in parallel with pytest-xdist (#1649)433c98bAdd news fragment for #1650ea6bc3fRemove stale warning from the tz tox environments27ecba2Keep GitHub Actions pins updated with Dependabot- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 <dependency name> minor versionwill 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 <dependency name>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 <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Package Dependencies
python-dateutil
pip
3.0.0 → 4.0.0
Major
/scripts in the python group
Technical Details
| ID: | 16798489 |
| UUID: | 6256576858 |
| Node ID: | PR_kwDOQ19QfM8AAAABNesj_w |
| Host: | GitHub |
| Repository: | 0-draft/dev.to |