Skip to content

Commit

Permalink
Make pytz a strong requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
kiorky committed Oct 10, 2023
1 parent 6246eb8 commit e1884e7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Changelog
------------------

- Add Python 3.12 support [rafsaf]
- Make major release instructions [kiorky]


1.4.1 (2023-06-15)
Expand Down
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,14 @@ What they evaluate to depends on whether you supply hash_id: no hash_id correspo
============ ============ ================


Upgrading
===========

To 2.0.0
++++++++++

- Install or upgrade pytz by using version specified requirements/base.txt if you have it installed `<=2021.1`.

Develop this package
====================

Expand Down
1 change: 1 addition & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
python_dateutil
pytz>2021.1
-e .
4 changes: 4 additions & 0 deletions src/croniter/croniter.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
import binascii
import random

# as pytz is optional in thirdparty libs but we need it for good support under
# python2, just test that it's well installed
import pytz # noqa

try:
from collections import OrderedDict
except ImportError:
Expand Down

0 comments on commit e1884e7

Please sign in to comment.