Skip to content

Fix missing pytz dependency - #1752

Merged
jertel merged 1 commit into
jertel:masterfrom
swisspostcs:fix-deps-pytz
Mar 17, 2026
Merged

Fix missing pytz dependency#1752
jertel merged 1 commit into
jertel:masterfrom
swisspostcs:fix-deps-pytz

Conversation

@m4dh4t

@m4dh4t m4dh4t commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Description

This PR fixes #1751, where a ModuleNotFoundError was raised due to pytz being used without being declared as a direct dependency.

The bug appeared after an upstream change in croniter removed pytz from its dependencies, which had previously made it transitively available.

Checklist

  • I have reviewed the contributing guidelines.
  • I have included unit tests for my changes or additions.
  • I have successfully run make test-docker with my changes.
  • I have manually tested all relevant modes of the change in this PR.
  • I have updated the documentation.
  • I have updated the changelog.

@m4dh4t

m4dh4t commented Mar 17, 2026

Copy link
Copy Markdown
Contributor Author

@jertel the PR should be good to go, tests passed locally

@jertel jertel left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sending up the PR!

@jertel
jertel merged commit ddab7de into jertel:master Mar 17, 2026
1 check passed
@m4dh4t
m4dh4t deleted the fix-deps-pytz branch March 17, 2026 13:16
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.

ModuleNotFoundError: No module named 'pytz'

2 participants