Skip to content

Commit 4b1c348

Browse files
authored
Minor updates to noxfile.py (#7330)
2 parents 8453fa5 + 08a7f50 commit 4b1c348

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def should_update_common_wheels():
6868
# completely to nox for all our automation. Contributors should prefer using
6969
# `tox -e ...` until this note is removed.
7070
# -----------------------------------------------------------------------------
71-
@nox.session(python=["2.7", "3.5", "3.6", "3.7", "pypy"])
71+
@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8", "pypy", "pypy3"])
7272
def test(session):
7373
# Get the common wheels.
7474
if should_update_common_wheels():
@@ -87,6 +87,8 @@ def test(session):
8787

8888
# Build source distribution
8989
sdist_dir = os.path.join(session.virtualenv.location, "sdist")
90+
if os.path.exists(sdist_dir):
91+
shutil.rmtree(sdist_dir, ignore_errors=True)
9092
session.run(
9193
"python", "setup.py", "sdist",
9294
"--formats=zip", "--dist-dir", sdist_dir,

0 commit comments

Comments
 (0)