From 3dfa9e420ff9c65c229a5429029d1838d26df4e5 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Sun, 10 Nov 2019 11:48:13 +0530 Subject: [PATCH 1/2] nox: Remove pre-existing source distributions --- noxfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/noxfile.py b/noxfile.py index e03dbbd1d..9788c7b8b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -87,6 +87,8 @@ def test(session): # Build source distribution sdist_dir = os.path.join(session.virtualenv.location, "sdist") + if os.path.exists(sdist_dir): + shutil.rmtree(sdist_dir, ignore_errors=True) session.run( "python", "setup.py", "sdist", "--formats=zip", "--dist-dir", sdist_dir, From 08a7f501e833066236404fd57708daa293b988c9 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Sun, 10 Nov 2019 11:48:34 +0530 Subject: [PATCH 2/2] nox: Update interpreters available for testing --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 9788c7b8b..60c4a4a0b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -68,7 +68,7 @@ def should_update_common_wheels(): # completely to nox for all our automation. Contributors should prefer using # `tox -e ...` until this note is removed. # ----------------------------------------------------------------------------- -@nox.session(python=["2.7", "3.5", "3.6", "3.7", "pypy"]) +@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8", "pypy", "pypy3"]) def test(session): # Get the common wheels. if should_update_common_wheels():