summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_easy_install.py
Commit message (Collapse)AuthorAgeFilesLines
* Consistently use unittest.mock in testsMiro Hrončok2022-10-171-1/+1
| | | | | | | - Some tests used unittest.mock from the standard library - Some tests used mock from PyPI - Some tests tried to import unittest.mock with a fallback to mock (the import never fails on Python 3.7+, older Pythons are not supported)
* setuptools/tests: minor cleanupBenoit Pierre2022-07-021-3/+5
|
* setuptools: add test for distutils' entrypoints using extrasBenoit Pierre2022-07-021-0/+69
|
* fixed some spelling mistakes,Bastian Venthur2022-06-141-1/+1
| | | | that's all :)
* No need to set PYTHONPATH in test_setup_install_includes_dependencies at allMiro Hrončok2022-05-241-4/+0
|
* Preserve PYTHONPATH in test_setup_install_includes_dependenciesMiro Hrončok2022-05-241-1/+5
| | | | | So if the tested setuptools is only located in manually set $PYTHONPATH, it still tests that setuptools instead of the previously installed one in site-packages.
* Make test_setup_install_includes_dependencies easier to debugMiro Hrončok2022-05-241-7/+12
|
* Attempt to fix problems on windowsAnderson Bravalheri2022-04-041-0/+2
|
* Be explicit about packagesAnderson Bravalheri2022-04-041-1/+3
|
* Fix error with test_easy_installAnderson Bravalheri2022-04-041-3/+6
|
* Merge pull request #3151 from hexagonrecursion/fix-editableJason R. Coombs2022-04-031-0/+43
|\ | | | | Fix editable --user installs with build isolation
| * Replace direct usage of the `py` libraryAnderson Bravalheri2022-03-081-11/+11
| | | | | | | | | | According to https://pypi.org/project/py/, this library is in maintenance mode and should not be used in new code.
| * Fix test_editable_user_and_build_isolationAndrey Bienkowski2022-03-061-1/+4
| | | | | | | | This test broke on my machine for some reason
| * Fix editable --user installs with build isolationAndrey Bienkowski2022-03-061-4/+2
| | | | | | | | https://github.com/pypa/setuptools/issues/3019
| * Test: editable install \w --user&build isolationAndrey Bienkowski2022-03-061-0/+42
| | | | | | | | | | Add a new test and confirm that it fails in the expected manner
* | Fix test for setup.pyAnderson Bravalheri2022-03-261-2/+1
| |
* | XFAIL test due to uncorrelated reasonAnderson Bravalheri2022-03-261-3/+2
| |
* | Add debug statements for test on WindowsAnderson Bravalheri2022-03-261-12/+13
| |
* | Temporarily disable test for Windows+PyPyAnderson Bravalheri2022-03-261-12/+12
| |
* | Add workaround for PyPyAnderson Bravalheri2022-03-251-6/+11
| |
* | Add test for setup.py install and dependenciesAnderson Bravalheri2022-03-251-1/+54
|/
* Merge branch 'main' into missing_metadataJason R. Coombs2022-01-291-0/+51
|\
| * Fix failing test when user site-packages has no version numberAnderson Bravalheri2022-01-131-10/+12
| | | | | | | | | | | | | | This error was first reported in https://github.com/pypa/setuptools/commit/bfa75fc56d0bd47bd6c0edf9a0e579508c9fae9e#commitcomment-63663642 The approach taken here is to check for the '3.10' substring only if '3.1' is present.
| * Add test to make sure 3.10 is not interpreted as 3.1Anderson Bravalheri2022-01-071-0/+49
| |
* | Remove name from distributions where the name is irrelevant to the tests.Jason R. Coombs2022-01-291-1/+1
|/
* Refactor test_setup_requires_with_allow_hosts to re-use path.buildJason R. Coombs2021-09-061-17/+16
|
* Fix misc. doc typosluz paz2021-05-141-2/+2
| | | Found via `codespell`
* Switch to jaraco.path for building filesJason R. Coombs2021-02-201-2/+2
|
* Remove 'main' function from 'easy_install'.Jason R. Coombs2021-01-231-7/+6
|
* Remove support for easy_install-based downloads for fetch_build_eggs ↵Jason R. Coombs2021-01-171-6/+4
| | | | (setup_requires).
* 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
|
* Fix tests with pytest 6.2Chih-Hsuan Yen2020-12-131-3/+3
| | | | | | | | 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
* Remove Python 2 compatibilityJason R. Coombs2020-08-161-8/+0
|
* 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.
* | Make a few assertions about the entry point script rather than keeping a ↵Jason R. Coombs2020-06-151-31/+7
| | | | | | | | fully-rendered copy.
* | addressOfek Lev2020-06-141-1/+0
| |
* | addressOfek Lev2020-06-141-4/+2
| |
* | Decrease start-up time of editable-installed entry points on newer versions ↵Ofek Lev2020-06-141-13/+31
|/ | | | of Python
* 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-05-121-1/+1
| | | | Fixes #2107
* 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-01-191-13/+13
|
* 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-01-191-30/+47
|
* Merge branch 'master' into fix_handling_of_find-links_in_setup.cfgJason R. Coombs2019-12-011-0/+44
|\
| * fix possible issue with transitive build dependenciesBenoit Pierre2019-11-271-0/+44
| | | | | | | | | | Handle the case where a missing transitive build dependency is required by an extra for an already installed build dependency.
* | fix support for easy_install's find-links option in setup.cfgBenoit Pierre2019-11-261-0/+38
|/
* Revert "drop easy_install script and associated documentation"Benoit Pierre2019-11-161-18/+16
| | | | This reverts commit 6e1838a9fb5feb000ba9b6a3c37c8b39d7e872b3.
* drop easy_install script and associated documentationBenoit Pierre2019-11-151-16/+18
|
* dist: re-implement `fetch_build_egg` to use pipBenoit Pierre2019-11-151-32/+165
|
* Feed the hobgoblins (delint).Jason R. Coombs2019-01-261-2/+4
|