Skip to content

Allow python-dateutil 3 and 4 in the parse extra - #673

Open
itzzdev09 wants to merge 1 commit into
fabiocaccamo:mainfrom
itzzdev09:allow-dateutil-3-and-4
Open

itzzdev09 wants to merge 1 commit into
fabiocaccamo:mainfrom
itzzdev09:allow-dateutil-3-and-4

Conversation

@itzzdev09

Copy link
Copy Markdown
Contributor

Describe your changes
The parse extra pins python-dateutil < 3.0.0. python-dateutil 3.0.0 (21 Oct) and 4.0.0 (1 Nov) are out, so installing python-benedict[parse] (or [all]) holds dateutil back or conflicts with packages that need the new versions.

benedict only uses dateutil.parser.parse in parse_util.parse_datetime. This raises the upper bound to < 5.0.0. The pinned requirements.txt is left for dependabot.

Related issue
None.

Checklist before requesting a review

  • I have performed a self-review of my code.
  • I have added tests for the proposed changes. (No code change; the existing date parsing tests cover it.)
  • I have run the tests and there are not errors. Full suite with python-dateutil 4.0.0 installed: 990 passed (Python 3.12).

@codecov

codecov Bot commented Nov 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.70%. Comparing base (e910141) to head (57ecc5f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #673   +/-   ##
=======================================
  Coverage   98.70%   98.70%           
=======================================
  Files          65       65           
  Lines        2476     2476           
=======================================
  Hits         2444     2444           
  Misses         32       32           
Flag Coverage Δ
unittests 98.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant