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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support Python 3.10 #1043

Merged
merged 7 commits into from Nov 3, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions noxfile.py
Expand Up @@ -27,8 +27,8 @@
BLACK_PATHS = ("docs", "google", "samples", "tests", "noxfile.py", "setup.py")

DEFAULT_PYTHON_VERSION = "3.8"
SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"]
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9"]
SYSTEM_TEST_PYTHON_VERSIONS = ["3.8", "3.10"]
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10"]
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()

# 'docfx' is excluded since it only needs to run in 'docs-presubmit'
Expand Down
8 changes: 3 additions & 5 deletions samples/geography/requirements.txt
Expand Up @@ -24,14 +24,12 @@ importlib-metadata==4.8.1
libcst==0.3.21
munch==2.5.0
mypy-extensions==0.4.3
numpy==1.19.5; python_version < "3.7"
numpy==1.21.2; python_version > "3.6"
plamut marked this conversation as resolved.
Show resolved Hide resolved
packaging==21.0
pandas==1.1.5; python_version < '3.7'
pandas==1.3.2; python_version >= '3.7'
pandas==1.3.4; python_version >= '3.7'
proto-plus==1.19.2
protobuf==3.18.0
pyarrow==5.0.0
pyarrow==6.0.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.20
Expand All @@ -43,7 +41,7 @@ pytz==2021.1
PyYAML==5.4.1
requests==2.26.0
rsa==4.7.2
Shapely==1.7.1
Shapely==1.8.0
six==1.16.0
typing-extensions==3.10.0.2
typing-inspect==0.7.1
Expand Down
8 changes: 4 additions & 4 deletions samples/magics/requirements.txt
Expand Up @@ -3,10 +3,10 @@ google-cloud-bigquery-storage==2.9.0
google-auth-oauthlib==0.4.6
grpcio==1.41.0
ipython==7.16.1; python_version < '3.7'
ipython==7.17.0; python_version >= '3.7'
ipython==7.29.0; python_version >= '3.7'
matplotlib==3.3.4; python_version < '3.7'
matplotlib==3.4.1; python_version >= '3.7'
matplotlib==3.5.0rc1; python_version >= '3.7'
pandas==1.1.5; python_version < '3.7'
pandas==1.3.2; python_version >= '3.7'
pyarrow==5.0.0
pandas==1.3.4; python_version >= '3.7'
pyarrow==6.0.0
pytz==2021.1
6 changes: 3 additions & 3 deletions samples/snippets/requirements.txt
Expand Up @@ -3,10 +3,10 @@ google-cloud-bigquery-storage==2.9.0
google-auth-oauthlib==0.4.6
grpcio==1.41.0
ipython==7.16.1; python_version < '3.7'
ipython==7.17.0; python_version >= '3.7'
ipython==7.29.0; python_version >= '3.7'
matplotlib==3.3.4; python_version < '3.7'
matplotlib==3.4.1; python_version >= '3.7'
pandas==1.1.5; python_version < '3.7'
pandas==1.3.2; python_version >= '3.7'
pyarrow==5.0.0
pandas==1.3.4; python_version >= '3.7'
plamut marked this conversation as resolved.
Show resolved Hide resolved
pyarrow==6.0.0
pytz==2021.1
5 changes: 3 additions & 2 deletions setup.py
Expand Up @@ -59,7 +59,7 @@
]
+ pyarrow_dep,
"geopandas": ["geopandas>=0.9.0, <1.0dev", "Shapely>=1.6.0, <2.0dev"],
"pandas": ["pandas>=0.23.0"] + pyarrow_dep,
"pandas": ["pandas>=0.24.2"] + pyarrow_dep,
"bignumeric_type": pyarrow_dep,
"tqdm": ["tqdm >= 4.7.4, <5.0.0dev"],
"opentelemetry": [
Expand Down Expand Up @@ -127,6 +127,7 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Topic :: Internet",
],
Expand All @@ -135,7 +136,7 @@
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
python_requires=">=3.6, <3.10",
python_requires=">=3.6, <3.11",
include_package_data=True,
zip_safe=False,
)