Skip to content

Commit

Permalink
chore: declare full Python 3.8 support (#47)
Browse files Browse the repository at this point in the history
* chore: include arrow and fastparquet in Python 3.8

* Declare Python 3.8 support in package metadata

* Bump Python 3.7 to 3.8 in several nox sessions.
  • Loading branch information
plamut authored Mar 4, 2020
1 parent f93e538 commit c88a6dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
20 changes: 6 additions & 14 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,6 @@ def default(session):
# serialization, though.
dev_install = ".[all,fastparquet]"

# There is no pyarrow or fastparquet wheel for Python 3.8.
if session.python == "3.8":
# Since many tests are skipped due to missing dependencies, test
# coverage is much lower in Python 3.8. Remove once we can test with
# pyarrow.
coverage_fail_under = "--cov-fail-under=91"
dev_install = ".[pandas,tqdm]"

session.install("-e", dev_install)

# IPython does not support Python 2 after version 5.x
Expand Down Expand Up @@ -80,7 +72,7 @@ def unit(session):
default(session)


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

Expand Down Expand Up @@ -110,7 +102,7 @@ def system(session):
)


@nox.session(python=["2.7", "3.7"])
@nox.session(python=["2.7", "3.8"])
def snippets(session):
"""Run the snippets test suite."""

Expand All @@ -130,7 +122,7 @@ def snippets(session):
session.run("py.test", "samples", *session.posargs)


@nox.session(python="3.7")
@nox.session(python="3.8")
def cover(session):
"""Run the final coverage report.
Expand All @@ -142,7 +134,7 @@ def cover(session):
session.run("coverage", "erase")


@nox.session(python="3.7")
@nox.session(python="3.8")
def lint(session):
"""Run linters.
Expand All @@ -159,7 +151,7 @@ def lint(session):
session.run("black", "--check", *BLACK_PATHS)


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

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


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

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Operating System :: OS Independent",
"Topic :: Internet",
],
Expand Down

0 comments on commit c88a6dd

Please sign in to comment.