Skip to content

Commit

Permalink
Add back 3.10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Jan 29, 2024
1 parent 7c46179 commit 0760eea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dkist/net/tests/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def aunit(draw, number=st.floats(allow_nan=False, allow_infinity=False, min_valu

@st.composite
def _embargo_end(draw, time=Times(
max_value=datetime.datetime(datetime.datetime.now(datetime.UTC).year, 1, 1, 0, 0),
max_value=datetime.datetime(datetime.datetime.utcnow().year, 1, 1, 0, 0),
min_value=datetime.datetime(1981, 1, 1, 0, 0)),
delta=TimeDelta()):
t1 = draw(time)
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ filterwarnings =
ignore:\nPyarrow will become a required dependency of pandas in the next major release of pandas:DeprecationWarning
# This seems to be coming out of pandas
ignore:datetime.datetime.utcfromtimestamp.*:DeprecationWarning
# The new way of doing it is 3.11
ignore:datetime.datetime.utcnow.*:DeprecationWarning

[flake8]
exclude = extern,sphinx,*parsetab.py,conftest.py,docs/conf.py,setup.py,__init__.py
Expand Down

0 comments on commit 0760eea

Please sign in to comment.