Skip to content

Commit

Permalink
deps: update mininum support to Python 3.8, Pandas 1.5.0, Numpy 1.20.3
Browse files Browse the repository at this point in the history
  • Loading branch information
chelsea-lin committed Jul 24, 2024
1 parent f2bdeea commit 3ccb77c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 21 deletions.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

DEFAULT_PYTHON_VERSION = "3.8"

UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12"]
UNIT_TEST_STANDARD_DEPENDENCIES = [
"mock",
"asyncmock",
Expand Down
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
release_status = "Development Status :: 5 - Production/Stable"

dependencies = [
"packaging >= 17.0",
"pandas >= 0.24.2",
"packaging>=17.0",
"pandas>=1.5.0",
"pyarrow>=3.0.0",
"numpy >= 1.16.6",
"numpy>=1.20.3",
]

package_root = os.path.abspath(os.path.dirname(__file__))
Expand Down Expand Up @@ -63,7 +63,6 @@ def readme():
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -74,6 +73,6 @@ def readme():
],
platforms="Posix; MacOS X; Windows",
install_requires=dependencies,
python_requires=">=3.7",
python_requires=">=3.8",
tests_require=["pytest"],
)
11 changes: 0 additions & 11 deletions testing/constraints-3.7.txt

This file was deleted.

13 changes: 11 additions & 2 deletions testing/constraints-3.8.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# Make sure we test with pandas 1.2.0. The Python version isn't that relevant.
pandas==1.2.0
# This constraints file is used to check that lower bounds
# are correct in setup.py
# List *all* library dependencies and extras in this file.
# Pin the version to the lower bound.
#
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
packaging==17.0
# Make sure we test with pandas 1.5.0. The Python version isn't that relevant.
pandas==1.5.0
pyarrow==3.0.0
numpy==1.20.3
4 changes: 2 additions & 2 deletions testing/constraints-3.9.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Make sure we test with pandas 1.3.0. The Python version isn't that relevant.
pandas==1.3.0
# Make sure we test with pandas 1.5.0. The Python version isn't that relevant.
pandas==1.5.0
numpy<2.0.0

0 comments on commit 3ccb77c

Please sign in to comment.