Merge pull request #4826 from pypa/ci/py310

Run CI against Python 3.10
This commit is contained in:
Frost Ming
2021-11-05 16:13:02 +08:00
committed by GitHub
7 changed files with 247 additions and 231 deletions
+3 -3
View File
@@ -142,12 +142,12 @@ def test_pipenv_graph_reverse(PipenvInstance):
@flaky
def test_pipenv_check(PipenvInstance):
with PipenvInstance() as p:
c = p.pipenv('install requests==1.0.0')
c = p.pipenv('install pyyaml')
assert c.returncode == 0
c = p.pipenv('check')
assert c.returncode != 0
assert 'requests' in c.stdout
c = p.pipenv('uninstall requests')
assert 'pyyaml' in c.stdout
c = p.pipenv('uninstall pyyaml')
assert c.returncode == 0
c = p.pipenv('install six')
assert c.returncode == 0
+2
View File
@@ -401,6 +401,7 @@ fake-package = "*"
@pytest.mark.lock
@pytest.mark.install
@pytest.mark.skip_windows
@pytest.mark.skipif(sys.version_info >= (3, 9), reason="old setuptools doesn't work")
@pytest.mark.needs_internet
def test_outdated_setuptools_with_pep517_legacy_build_meta_is_updated(PipenvInstance):
"""
@@ -429,6 +430,7 @@ def test_outdated_setuptools_with_pep517_legacy_build_meta_is_updated(PipenvInst
@pytest.mark.lock
@pytest.mark.install
@pytest.mark.skip_windows
@pytest.mark.skipif(sys.version_info >= (3, 9), reason="old setuptools doesn't work")
@pytest.mark.needs_internet
def test_outdated_setuptools_with_pep517_cython_import_in_setuppy(PipenvInstance):
"""
+2 -2
View File
@@ -32,7 +32,7 @@ def test_uninstall_requests(PipenvInstance):
@pytest.mark.uninstall
def test_uninstall_django(PipenvInstance):
with PipenvInstance() as p:
c = p.pipenv("install Django==1.11.13")
c = p.pipenv("install Django")
assert c.returncode == 0
assert "django" in p.pipfile["packages"]
assert "django" in p.lockfile["default"]
@@ -61,7 +61,7 @@ def test_mirror_uninstall(PipenvInstance):
)
assert "pypi.org" not in mirror_url
c = p.pipenv(f"install Django==1.11.13 --pypi-mirror {mirror_url}")
c = p.pipenv(f"install Django --pypi-mirror {mirror_url}")
assert c.returncode == 0
assert "django" in p.pipfile["packages"]
assert "django" in p.lockfile["default"]