Integration tests for setuptools that focus on building packages via pip. The idea behind these tests is not to exhaustively check all the possible combinations of packages, operating systems, supporting libraries, etc, but rather check a limited number of popular packages and how they interact with the exposed public API. This way if any change in API is introduced, we hope to identify backward compatibility problems before publishing a release. The number of tested packages is purposefully kept small, to minimise duration and the associated maintenance cost (changes in the way these packages define their build process may require changes in the tests).
Function | build |
Find out what are the build dependencies for a package. |
Function | download |
Undocumented |
Function | retrieve |
Undocumented |
Function | retrieve |
Either use cached sdist file or download it from PyPI |
Function | test |
Undocumented |
Function | venv |
Undocumented |
Constant | ALREADY |
Undocumented |
Constant | EXAMPLES |
Undocumented |
Constant | EXTRA |
Undocumented |
Constant | INSTALL |
Undocumented |
Constant | LATEST |
Default version to be checked |
Constant | VIRTUALENV |
Undocumented |
Function | _prepare |
Undocumented |
Function | _read |
Undocumented |
Find out what are the build dependencies for a package. "Manually" install them, since pip will not install build deps with `--no-build-isolation`.
@pytest.mark.uses_network
def test_install_sdist(package, version, tmp_path, venv_python, setuptools_wheel): (source) ¶
Undocumented