Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: Update mininum support to Python 3.9, Pandas 1.5.0, Numpy 1.20.3 #286

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are removing this, please update constraints-3.9.txt to include all the minimum versions from setup.py

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
2 changes: 1 addition & 1 deletion 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.5.3. The Python version isn't that relevant.
pandas==1.5.3
numpy==1.24.0
numpy==1.20.3
Loading