Skip to content

Commit 3ccb77c

Browse files
committed
deps: update mininum support to Python 3.8, Pandas 1.5.0, Numpy 1.20.3
1 parent f2bdeea commit 3ccb77c

File tree

5 files changed

+18
-21
lines changed

5 files changed

+18
-21
lines changed

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
DEFAULT_PYTHON_VERSION = "3.8"
3636

37-
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
37+
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12"]
3838
UNIT_TEST_STANDARD_DEPENDENCIES = [
3939
"mock",
4040
"asyncmock",

setup.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
release_status = "Development Status :: 5 - Production/Stable"
3131

3232
dependencies = [
33-
"packaging >= 17.0",
34-
"pandas >= 0.24.2",
33+
"packaging>=17.0",
34+
"pandas>=1.5.0",
3535
"pyarrow>=3.0.0",
36-
"numpy >= 1.16.6",
36+
"numpy>=1.20.3",
3737
]
3838

3939
package_root = os.path.abspath(os.path.dirname(__file__))
@@ -63,7 +63,6 @@ def readme():
6363
"License :: OSI Approved :: Apache Software License",
6464
"Programming Language :: Python",
6565
"Programming Language :: Python :: 3",
66-
"Programming Language :: Python :: 3.7",
6766
"Programming Language :: Python :: 3.8",
6867
"Programming Language :: Python :: 3.9",
6968
"Programming Language :: Python :: 3.10",
@@ -74,6 +73,6 @@ def readme():
7473
],
7574
platforms="Posix; MacOS X; Windows",
7675
install_requires=dependencies,
77-
python_requires=">=3.7",
76+
python_requires=">=3.8",
7877
tests_require=["pytest"],
7978
)

testing/constraints-3.7.txt

-11
This file was deleted.

testing/constraints-3.8.txt

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
1-
# Make sure we test with pandas 1.2.0. The Python version isn't that relevant.
2-
pandas==1.2.0
1+
# This constraints file is used to check that lower bounds
2+
# are correct in setup.py
3+
# List *all* library dependencies and extras in this file.
4+
# Pin the version to the lower bound.
5+
#
6+
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
7+
packaging==17.0
8+
# Make sure we test with pandas 1.5.0. The Python version isn't that relevant.
9+
pandas==1.5.0
10+
pyarrow==3.0.0
11+
numpy==1.20.3

testing/constraints-3.9.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Make sure we test with pandas 1.3.0. The Python version isn't that relevant.
2-
pandas==1.3.0
1+
# Make sure we test with pandas 1.5.0. The Python version isn't that relevant.
2+
pandas==1.5.0
33
numpy<2.0.0

0 commit comments

Comments
 (0)