This repository corresponds to the code used in an experiment to verify proposed integration tests for setuptools, by running Github Actions. It tries to replicate the same proposed test (and conditions) that would run in setuptools CI.
Specifically:
The following files where copied from setuptools and pypa/setuptools#2863:
. ├── conftest.py ├── pytest.ini └── setuptools/ └── tests ├── contexts.py ├── fixtures.py └── integration ├── helpers.py └── test_pip_install_sdist.py * minor changeThe following file were created empty:
. └── setuptools/ ├── __init__.py └── tests ├── __init__.py └── integration └── __init__.pyThe following files were copied and then adapted:
. ├── tox.ini ├── pyproject.toml └── .github └── workflows └── main.yml
In test_pip_install_sdist.py, the following change is introduced:
- correct_setuptools = os.getenv("PROJECT_ROOT") or SETUPTOOLS_ROOT
+ # correct_setuptools = os.getenv("PROJECT_ROOT") or SETUPTOOLS_ROOT
+ correct_setuptools = (
+ "git+https://github.com/pypa/setuptools@main#egg=setuptools"
+ )This is required since this repository does not contain setuptools codebase. Instead it is installed directly from GitHub.
More information can be found in: