summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove eggsecutablefeature/remove-eggsecutableJason R. Coombs2021-01-201-15/+0
|
* Prefer 'rootdir' for resolving the project root.Jason R. Coombs2021-01-181-12/+10
|
* Restore test_build_sdist_relative_path_import to its former simple ↵Jason R. Coombs2021-01-181-6/+6
| | | | implementation.
* Simplify get_build_backend to simply allow override of cwd.Jason R. Coombs2021-01-181-6/+4
|
* Extract workaround for pytest-dev/pytest-xdist#376 as a fixture. Invoke the ↵Jason R. Coombs2021-01-182-11/+19
| | | | repair at the session level and only when xdist is present.
* Rely on rootdir to determine the source. Avoids coupling with position in ↵Jason R. Coombs2021-01-181-9/+2
| | | | the test suite.
* Avoid indirection in src_dirJason R. Coombs2021-01-171-4/+1
|
* Use tmp src copy in `test_clean_env_install`Sviatoslav Sydorenko2021-01-181-2/+2
|
* Isolate src for `test_distutils_adoption`Sviatoslav Sydorenko2021-01-181-3/+3
|
* Make `test_pip_upgrade_from_source` xdist-friendlySviatoslav Sydorenko2021-01-182-2/+30
|
* Replace `tmpdir_cwd` fixture with `tmp_path`Sviatoslav Sydorenko2021-01-181-5/+4
|
* Make `get_build_backend` cwd path customizableSviatoslav Sydorenko2021-01-181-2/+4
|
* Clarify `test_build_sdist_relative_path_import`Sviatoslav Sydorenko2021-01-181-0/+1
|
* Sanitize CWD out of sys.path in xdist modeSviatoslav Sydorenko2021-01-181-0/+11
|
* Revert "Merge pull request #2533 from pypa/fix/2529"Jason R. Coombs2021-01-161-50/+34
| | | | | This reverts commit ef457b2e4eb215ab9d730afbd61a10ed3b118d3c, reversing changes made to d2b1f7ebd6ebd57b4a50bc6660e93b31129bacb4.
* Merge branch 'main' of https://github.com/pypa/setuptoolsJason R. Coombs2021-01-161-34/+50
|\
| * Merge pull request #2533 from pypa/fix/2529Jason R. Coombs2021-01-161-34/+50
| |\ | | | | | | Fix/2529
| | * Add failing testDustin Ingram2021-01-151-6/+21
| | |
| | * Move helper method out of classDustin Ingram2021-01-151-28/+29
| | |
* | | Disable PIP_NO_INDEX for tests that override the index. Ref #2534.v51.2.0Jason R. Coombs2021-01-161-0/+2
|/ /
* | Avoid hitting network during test_easy_installJason R. Coombs2021-01-161-0/+10
|/
* Disable index URL in pip-based fetch_build_eggs to avoid hitting PyPI.Jason R. Coombs2020-12-281-0/+2
|
* In test_test_command_install_requirements, uninstall setuptools to avoid ↵Jason R. Coombs2020-12-281-0/+2
| | | | getting some other version in the environment.
* Fix syntax in test_build_meta, version should not have quotes. Bug was ↵Jason R. Coombs2020-12-201-1/+1
| | | | masked by LegacyVersion parsing.
* Disable integration tests on PyPy on Windows. Ref #2496.Jason R. Coombs2020-12-201-0/+7
|
* Fix tests with pytest 6.2Chih-Hsuan Yen2020-12-136-13/+12
| | | | | | | | The latest pytest deprecates pytest.yield_fixture in favor of pytest.fixture [1]. The changelog [2] says that both are the same. [1] https://github.com/pytest-dev/pytest/pull/7988 [2] https://docs.pytest.org/en/stable/changelog.html#pytest-6-2-0-2020-12-12
* Fix test_test_command_install_requirements with pip 20.3+Chih-Hsuan Yen2020-12-121-1/+3
| | | | | | | | setuptools appends --find-links to pip if dependency_links is found, and both takes URLs [1][2]. [1] https://github.com/pypa/setuptools/blob/v51.0.0/docs/userguide/dependency_management.rst#dependencies-that-arent-in-pypi [2] https://pip.pypa.io/en/stable/reference/pip_install/#cmdoption-f
* Remove tests guaranteeing that (vendored) dependencies can be installed ↵Jason R. Coombs2020-12-061-56/+0
| | | | | | without setuptools. In a PEP 517 world without distutils, packagers will need to find another way to build and supply the dependencies
* Remove conditional skip, no longer relevant.Jason R. Coombs2020-12-061-2/+0
|
* Use 'virtualenv.python'. Fixes #2434.Jason R. Coombs2020-10-171-2/+3
|
* Update tests to specify local or stdlib for stability under default value.Jason R. Coombs2020-09-021-2/+4
|
* Merge pull request #2255 from pypa/bugfix/2232-adopt-distutils-defaultJason R. Coombs2020-08-201-5/+4
|\ | | | | Re-enable distutils patch by default.
| * Update tests to reflect new expectation.Jason R. Coombs2020-08-131-5/+4
| |
* | Remove Python 2 compatibilityJason R. Coombs2020-08-1629-271/+65
|/
* Merge pull request #2306 from takluyver/pep517-setup-requiresJason R. Coombs2020-08-131-1/+30
|\ | | | | Don't install setup_requires when run as a PEP-517 backend.
| * Flake 99Thomas Kluyver2020-08-061-1/+0
| |
| * Add test for PEP 517 backends not installing setup_requiresThomas Kluyver2020-08-061-1/+31
| |
* | Expect test to fail on PyPy due to implicit import during startup.Jason R. Coombs2020-08-081-0/+4
| |
* | Remove expected fail.Jason R. Coombs2020-08-081-1/+4
| |
* | On Windows, SYSTEMROOT must be supplied.Jason R. Coombs2020-08-081-2/+5
| |
* | Bypass pytest-virtualenv due to bugs in 'run' command. Instead, use ↵Jason R. Coombs2020-08-082-18/+31
| | | | | | | | jaraco.envs.VirtualEnv and build a bespoke fixture with a run command.
* | Support Python 3.5 and 3.6 in the tests.Jason R. Coombs2020-08-081-1/+12
| |
* | Add tests capturing expected distutils behavior. Ref #417.Jason R. Coombs2020-08-081-0/+37
|/
* Merge pull request #2166 from pypa/bugfix/2165-remove-site-pyJason R. Coombs2020-07-031-8/+0
|\ | | | | Remove site.py hack
| * Setuptools no longer installs a site.py file during easy_install or develop ↵Jason R. Coombs2020-05-291-8/+0
| | | | | | | | installs. Ref #2165.
* | Merge pull request #2143 from pypa/distutilsJason R. Coombs2020-07-031-1/+1
|\ \ | | | | | | Adopt distutils
| * | fix test for deprecation warningmattip2020-07-021-1/+1
| |/
* | Merge pull request #1973 from jdufresne/makedirsJason R. Coombs2020-06-152-6/+2
|\ \ | | | | | | Remove pkg_resources.py31compat.makedirs() in favor of the stdlib
| * | Remove pkg_resources.py31compat.makedirs() in favor of the stdlibJon Dufresne2020-02-162-6/+2
| | | | | | | | | | | | | | | As setuptools is now python 3.5+, this compatibility shim is no longer necessary.
* | | Make a few assertions about the entry point script rather than keeping a ↵Jason R. Coombs2020-06-151-31/+7
| | | | | | | | | | | | fully-rendered copy.