Skip to content

Commit c88a6dd

Browse files
authored
chore: declare full Python 3.8 support (#47)
* 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.
1 parent f93e538 commit c88a6dd

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

noxfile.py

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,6 @@ def default(session):
4343
# serialization, though.
4444
dev_install = ".[all,fastparquet]"
4545

46-
# There is no pyarrow or fastparquet wheel for Python 3.8.
47-
if session.python == "3.8":
48-
# Since many tests are skipped due to missing dependencies, test
49-
# coverage is much lower in Python 3.8. Remove once we can test with
50-
# pyarrow.
51-
coverage_fail_under = "--cov-fail-under=91"
52-
dev_install = ".[pandas,tqdm]"
53-
5446
session.install("-e", dev_install)
5547

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

8274

83-
@nox.session(python=["2.7", "3.7"])
75+
@nox.session(python=["2.7", "3.8"])
8476
def system(session):
8577
"""Run the system test suite."""
8678

@@ -110,7 +102,7 @@ def system(session):
110102
)
111103

112104

113-
@nox.session(python=["2.7", "3.7"])
105+
@nox.session(python=["2.7", "3.8"])
114106
def snippets(session):
115107
"""Run the snippets test suite."""
116108

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

132124

133-
@nox.session(python="3.7")
125+
@nox.session(python="3.8")
134126
def cover(session):
135127
"""Run the final coverage report.
136128
@@ -142,7 +134,7 @@ def cover(session):
142134
session.run("coverage", "erase")
143135

144136

145-
@nox.session(python="3.7")
137+
@nox.session(python="3.8")
146138
def lint(session):
147139
"""Run linters.
148140
@@ -159,7 +151,7 @@ def lint(session):
159151
session.run("black", "--check", *BLACK_PATHS)
160152

161153

162-
@nox.session(python="3.7")
154+
@nox.session(python="3.8")
163155
def lint_setup_py(session):
164156
"""Verify that setup.py is valid (including RST check)."""
165157

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

182174

183-
@nox.session(python="3.7")
175+
@nox.session(python="3.8")
184176
def docs(session):
185177
"""Build the docs."""
186178

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
"Programming Language :: Python :: 3.5",
106106
"Programming Language :: Python :: 3.6",
107107
"Programming Language :: Python :: 3.7",
108+
"Programming Language :: Python :: 3.8",
108109
"Operating System :: OS Independent",
109110
"Topic :: Internet",
110111
],

0 commit comments

Comments
 (0)