Skip to content

Commit

Permalink
Make all tests pass on Python 3.9 to 3.12 inclusive
Browse files Browse the repository at this point in the history
This change adds Python 3.10, 3.11, and 3.12 to 'tox.ini', and makes
changes to 'dev' dependencies, and to pytest filter warnings, such that
tests pass on Python 3.9 to 3.12 inclusive.
  • Loading branch information
quicklizard99 committed Aug 12, 2024
1 parent d3e01e9 commit a4e34c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
license = {text = "MIT"}
dependencies = [
Expand All @@ -47,10 +48,10 @@ dev = [
"moto[s3,sqs]",
"mypy-boto3-s3",
"mypy",
"numpy",
"numpy>=1.26.4",
"pre-commit",
"psycopg2",
"pyarrow-stubs",
"pyarrow-stubs>=10.0.1.9",
"pytest-django",
"pytest-mock",
"pytest",
Expand Down Expand Up @@ -209,6 +210,8 @@ section-order = [
filterwarnings = [
"error::RuntimeWarning",
"error::DeprecationWarning",
"ignore:datetime.datetime.utcfromtimestamp\\(\\) is deprecated and scheduled for removal in a future version:DeprecationWarning",
"ignore:datetime.datetime.utcnow\\(\\) is deprecated and scheduled for removal in a future version:DeprecationWarning",
"ignore:defusedxml.lxml:DeprecationWarning:zeep",
"ignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3:DeprecationWarning:(graphene|singledispatch)",
# https://github.com/ktosiek/pytest-freezegun/issues/35
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ nh3==0.2.18
# via readme-renderer
nodeenv==1.9.1
# via pre-commit
numpy==1.22.2
numpy==1.26.4
# via
# xocto (pyproject.toml)
# pandas
Expand Down Expand Up @@ -175,7 +175,7 @@ psycopg2==2.9.9
# via xocto (pyproject.toml)
pyarrow==17.0.0
# via xocto (pyproject.toml)
pyarrow-stubs==10.0.1.6
pyarrow-stubs==10.0.1.9
# via xocto (pyproject.toml)
pycparser==2.22
# via cffi
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
min_version = 4.0
envlist = py39
envlist = py3{9,10,11,12}

[testenv]
# Install wheels instead of source distributions for faster execution.
Expand Down

0 comments on commit a4e34c8

Please sign in to comment.