module documentation
Undocumented
Function | access |
Undocumented |
Function | pytest |
pytest_virtualenv may not work. if it doesn't, skip these tests. See #1284. |
Function | test |
Check setuptools can be installed in a clean environment. |
Function | test |
Quick and dirty test to ensure all external dependencies are vendored. |
Function | test |
Check pip can upgrade setuptools from source. |
Function | test |
Undocumented |
Function | _check |
Check the test command will install all required dependencies. |
@pytest.mark.skipif( 'platform.python_implementation() == "PyPy"', reason='https://github.com/pypa/setuptools/pull/2865#issuecomment-965834995')
@pytest.mark.skipif( not access_pypi(), reason='no network')
@pytest.mark.parametrize( 'pip_version', [ None, pytest.param( 'pip<20.1', marks=pytest.mark.xfail( 'sys.version_info > (3, 12)', reason='pip 22 requried for Python 3.12 and later')), pytest.param( 'pip<21', marks=pytest.mark.xfail( 'sys.version_info > (3, 12)', reason='pip 22 requried for Python 3.12 and later')), pytest.param( 'pip<22', marks=pytest.mark.xfail( 'sys.version_info > (3, 12)', reason='pip 22 requried for Python 3.12 and later')), 'pip<23', pytest.param( 'https://github.com/pypa/pip/archive/main.zip', marks=pytest.mark.xfail( reason='#2975'))])
def test_pip_upgrade_from_source(pip_version, venv_without_setuptools, setuptools_wheel, setuptools_sdist): (source) ¶
@pytest.mark.skipif(
@pytest.mark.parametrize(
def test_pip_upgrade_from_source(pip_version, venv_without_setuptools, setuptools_wheel, setuptools_sdist): (source) ¶
Check pip can upgrade setuptools from source.