summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_virtualenv.py
Commit message (Collapse)AuthorAgeFilesLines
* Adequate venv fixtures to the latest change in virtualenvAnderson Bravalheri2023-05-021-2/+2
| | | | | | | | Since version v20.23.0, `virtualenv` will no longer include `wheel` and `setuptools` in the created folders. Some tests in the setuptools test suite assume that these packages are always present. So we need to adequate these tests.
* Add support for testing pip<23 and drop support for pip<20.Jason R. Coombs2022-12-161-2/+1
|
* xfail more tests on Python 3.12+ for older pips. Ref #3727.Jason R. Coombs2022-12-161-3/+10
|
* xfail tests on Python 3.12+ for older pips. Ref #3727.Jason R. Coombs2022-12-161-2/+14
|
* ⚫ Fade to black.Jason R. Coombs2022-12-161-10/+21
|
* [CI] Disable test_pip_upgrade_from_source when network if offAnderson Bravalheri2022-03-071-36/+20
| | | | | | As discussed in #3149, builds with setuptools will always try to download `wheel`, therefore if the network is not available there is little sense in testing those builds (they will fail).
* Replace tmp_src fixture with the virtualenv fixturesAnderson Bravalheri2022-01-061-64/+32
| | | | | | | | | Instead of re-building/installing setuptools from the source tree every time, the tests now rely on the venv, wheel and sdist fixtures (the venv fixture is populated from sdist/wheel). Moreover migrate `test_virtualenv` to use `jaraco.envs` (so it uses the same libraries ad `test_distutils_adoption`).
* Mark test as xfail. Fixes #2975.Jason R. Coombs2021-12-261-0/+1
|
* Remove skipif for Python 3.6, no longer supported.Jason R. Coombs2021-12-261-1/+0
|
* Skip pip@main tests for Python 3.6, no longer supported. Fixes #2874. Use ↵Jason R. Coombs2021-11-121-4/+9
| | | | pip pinned range to resolve pip version based on a repeatable pattern.
* Disable some virtualenv integration tests for PyPy.Jason R. Coombs2021-11-101-0/+4
|
* Drop tests against pip < 20, which no longer work without 'wheel' specified ↵Jason R. Coombs2021-10-311-8/+0
| | | | in build requirements.
* Fix usage of virtualenv to ensure that tests are run in the bare virtualenv. ↵Jason R. Coombs2021-10-191-2/+3
| | | | Ref #2764.
* Tests - Fix url for pip downloadMarc Mueller2021-03-281-1/+1
|
* Don't bother testing old versions of pip on Python 3.10 and later. Fixes #2599.Jason R. Coombs2021-03-071-3/+8
|
* Rely more on pytest param to append markers.feature/2550-build-from-sourceJason R. Coombs2021-02-271-12/+7
|
* Prefer xfail to skip on known failure mode.Jason R. Coombs2021-02-271-7/+20
|
* Remove pip 19 from the upgrade from source tests.Jason R. Coombs2021-02-271-1/+3
|
* Merge branch 'main' into feature/drop-fetch-build-eggs-easy-install-fallbackfeature/drop-fetch-build-eggs-easy-install-fallbackJason R. Coombs2021-01-231-14/+11
|\
| * Prefer 'rootdir' for resolving the project root.Jason R. Coombs2021-01-181-12/+10
| |
| * Use tmp src copy in `test_clean_env_install`Sviatoslav Sydorenko2021-01-181-2/+2
| |
| * Make `test_pip_upgrade_from_source` xdist-friendlySviatoslav Sydorenko2021-01-181-2/+2
| |
* | Remove support for easy_install-based downloads for fetch_build_eggs ↵Jason R. Coombs2021-01-171-5/+0
|/ | | | (setup_requires).
* 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 tests with pytest 6.2Chih-Hsuan Yen2020-12-131-2/+1
| | | | | | | | 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
* Use 'virtualenv.python'. Fixes #2434.Jason R. Coombs2020-10-171-2/+3
|
* Remove Python 2 compatibilityJason R. Coombs2020-08-161-11/+0
|
* Avoid reliance on shell details in test_virtualenv.Jason R. Coombs2020-05-151-10/+5
|
* Avoid reliance on shell details in test_virtualenv.Jason R. Coombs2020-05-151-4/+1
|
* Rewrite selective PIP_IGNORE_REQUIRES_PYTHON to allow test dependencies in ↵Jason R. Coombs2020-01-201-0/+11
| | | | metadata to be installed without ignoring REQUIRES_PYTHON
* 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-01-191-5/+7
|
* Merge pull request #1908 from benoit-pierre/drop_py34_supportJason R. Coombs2020-01-011-4/+1
|\ | | | | drop support for Python 3.4
| * drop support for Python 3.4Benoit Pierre2019-11-151-4/+1
| |
* | dist: re-implement `fetch_build_egg` to use pipBenoit Pierre2019-11-151-6/+12
|/
* tests: fix `test_pip_upgrade_from_source` on Python 3.4Benoit Pierre2019-07-231-1/+6
| | | | Do not test pip's master on 3.4, as support for it has been dropped.
* Automatically skip tests that require networkPaul Ganssle2019-02-231-10/+41
|
* tests: improve `test_pip_upgrade_from_source`Benoit Pierre2019-02-221-1/+15
| | | | | Parametrize the test to check different versions of pip (including master) are correctly supported.
* Feed the hobgoblins (delint).Jason R. Coombs2019-01-261-2/+1
|
* add a test to catch unvendored dependenciesBenoit Pierre2018-11-131-0/+12
|
* Remove pytest marker and code for Python < 2.7Nikolaus Waxweiler2018-10-271-3/+0
|
* Skip tests in test_virtualenv if the prefix is broken on that virtualenv. ↵Jason R. Coombs2018-03-051-0/+15
| | | | Ref #1284.
* Feed the hobgoblins (delint).Jason R. Coombs2018-02-041-0/+4
|
* fix `test_pip_upgrade_from_source` test on Python 2.6Benoit Pierre2017-09-131-0/+4
|
* fix `test` command handling of `extras_require`Benoit Pierre2017-07-261-0/+66
| | | | Also install platform specific requirements in `extras_require`.
* fix possible error when finalizing `install_requires`Benoit Pierre2017-07-151-0/+19
|
* tests: rework clean install testBenoit Pierre2017-07-151-0/+31
Use pytest-virtualenv so the test can be run no Windows too.