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: declare support for Python 3.9 #488

Merged
merged 6 commits into from Jan 27, 2021
Merged
Show file tree
Hide file tree
Changes from 4 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
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -52,7 +52,7 @@ dependencies.

Supported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^
Python >= 3.6, < 3.9
Python >= 3.6, < 3.10

Unsupported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
16 changes: 8 additions & 8 deletions noxfile.py
Expand Up @@ -80,13 +80,13 @@ def default(session):
)


@nox.session(python=["3.6", "3.7", "3.8"])
@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
def unit(session):
"""Run the unit test suite."""
default(session)


@nox.session(python=["3.8"])
@nox.session(python=["3.9"])
def system(session):
"""Run the system test suite."""

Expand Down Expand Up @@ -154,7 +154,7 @@ def snippets(session):
)


@nox.session(python="3.8")
@nox.session(python="3.9")
def cover(session):
"""Run the final coverage report.

Expand All @@ -166,7 +166,7 @@ def cover(session):
session.run("coverage", "erase")


@nox.session(python="3.8")
@nox.session(python="3.9")
def prerelease_deps(session):
"""Run all tests with prerelease versions of dependencies installed.

Expand Down Expand Up @@ -201,7 +201,7 @@ def prerelease_deps(session):
session.run("py.test", "samples/tests")


@nox.session(python="3.8")
@nox.session(python="3.9")
def lint(session):
"""Run linters.

Expand All @@ -218,7 +218,7 @@ def lint(session):
session.run("black", "--check", *BLACK_PATHS)


@nox.session(python="3.8")
@nox.session(python="3.9")
def lint_setup_py(session):
"""Verify that setup.py is valid (including RST check)."""

Expand All @@ -239,7 +239,7 @@ def blacken(session):
session.run("black", *BLACK_PATHS)


@nox.session(python="3.8")
@nox.session(python="3.9")
def docs(session):
"""Build the docs."""

Expand All @@ -262,7 +262,7 @@ def docs(session):
)


@nox.session(python="3.8")
@nox.session(python="3.9")
def docfx(session):
"""Build the docfx yaml files for this library."""

Expand Down
8 changes: 4 additions & 4 deletions setup.py
Expand Up @@ -45,12 +45,11 @@
# grpc.Channel.close() method isn't added until 1.32.0.
# https://github.com/grpc/grpc/pull/15254
"grpcio >= 1.32.0, < 2.0dev",
"pyarrow >= 1.0.0, < 3.0dev",
"pyarrow >= 3.0.0, < 4.0dev",
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we keep this at 1.0 as a minimum? Or were there breaking changes we needed to account for?

Since pyarrow is a core library, the wider we can keep these dependencies, the fewer conflicts we'll get.

],
"pandas": [
"pandas>=0.23.0",
# pyarrow 1.0.0 is required for the use of timestamp_as_object keyword.
"pyarrow >= 1.0.0, < 3.0dev",
"pyarrow >= 3.0.0, < 4.0dev",
Copy link
Contributor

Choose a reason for hiding this comment

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

Ditto.

],
"tqdm": ["tqdm >= 4.7.4, <5.0.0dev"],
"opentelemetry": [
Expand Down Expand Up @@ -112,6 +111,7 @@
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent",
"Topic :: Internet",
],
Expand All @@ -120,7 +120,7 @@
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
python_requires=">=3.6, <3.9",
python_requires=">=3.6, <3.10",
include_package_data=True,
zip_safe=False,
)
2 changes: 1 addition & 1 deletion testing/constraints-3.6.txt
Expand Up @@ -27,5 +27,5 @@ opentelemetry-api==0.11b0
opentelemetry-sdk==0.11b0
opentelemetry-instrumentation==0.11b0
pandas==0.23.0
pyarrow==1.0.0
pyarrow==3.0.0
tqdm==4.7.4