python-pendulum
pendulum
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
feat: add Hindi (hi) localization support (#902) * feat: add Hindi (hi) localization support * fix: formatting of tests/localization/test_hi.py to use double quote strings
master
8 days ago
Make empty durations an error in pure-Python parser Some of Debian's test runners noticed that the pydantic-extra-types tests are failing on 32-bit architectures: ______________________ test_invalid_zero_duration_string _______________________ def test_invalid_zero_duration_string(): """'P' is not a valid ISO 8601 duration and should raise a validation error.""" > with pytest.raises(ValidationError): E Failed: DID NOT RAISE <class 'pydantic_core._pydantic_core.ValidationError'> tests/test_pendulum_dt.py:447: Failed Debian currently has pendulum 3.0.0, which disabled the Rust extensions if `struct.calcsize("P") == 4`, and the Rust and Python parsers disagree about how to handle an empty duration: the Rust parser reports an error, while the Python parser returns `Duration()`. 3.1.0 removes that particular limitation on using Rust extensions on 32-bit architectures, but the parser discrepancy still seems to be present. I don't have access to the full text of the standard, but Wikipedia's summary says 'However, at least one element must be present, thus "P" is not a valid representation for a duration of 0 seconds', so I think the Rust parser is correct. Adjust the Python parser to match.
cjwatson:pure-python-empty-duration
14 days ago
fix: formatting of tests/localization/test_hi.py to use double quote strings
gjaynir0508:hindi-localization
18 days ago
Use pathlib.Path to read unix tz (#742)
master
2 months ago
Fix pendulum.parse('now', tz='...') ignoring the time zone (#701)
master
2 months ago
Fix pendulum.parse('now', tz='...') ignoring the time zone
pR0Ps:bugfix/parse-now-timezone
2 months ago
fix: pendulum.parse is not marked as exported (#693)
master
2 months ago
Optimize usage of re. methods (#741)
master
2 months ago
Active Branches
Make empty durations an error in pure-Python parser
last run
14 days ago
#903
CodSpeed Performance Gauge
0%
Drop Py3.8 support to add potential Py3.13 support
last run
7 months ago
#863
CodSpeed Performance Gauge
-92%
Replace hardcoded time units with named constants
last run
7 months ago
#861
CodSpeed Performance Gauge
-1%
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs