1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/tests/functional
Роман Донченко 28d7730087 test_download_use_pep517_propagation: use a different approach
The approach it uses now doesn't work anymore due to 452d7da8.
The installation of `fake_dep` now succeeds whether or not `setuptools`
is installed in the test environment.

Use a different approach instead: try to import `pip` in the `setup.py`
script. If it succeeds, then we are not running in an isolated environment,
and therefore PEP 517 isn't being used.

To add this custom logic to `setup.py`, add a new argument to
`create_basic_sdist_for_package`. Note that to make this work, I had to
switch from f-strings to `str.format`, since the `dedent` has to happen
before formatting.
2022-06-15 18:11:07 +03:00
..
__init__.py break up tests dir into data, unit tests, and functional tests 2013-05-29 13:41:12 -07:00
test_bad_url.py Return a better error message if a file: URL is not found (#10263) 2021-10-08 14:24:54 +01:00
test_broken_stdout.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_build_env.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_cache.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_check.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_cli.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_completion.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_config_settings.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_configuration.py Add test 2022-02-03 14:57:21 +03:00
test_debug.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_download.py test_download_use_pep517_propagation: use a different approach 2022-06-15 18:11:07 +03:00
test_fast_deps.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_freeze.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_hash.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_help.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_index.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_install.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_install_check.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_install_cleanup.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_install_compat.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_install_config.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_install_direct_url.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_install_extras.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_install_force_reinstall.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_install_index.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_install_reqs.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_install_requested.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_install_upgrade.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_install_user.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_install_vcs_git.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_install_wheel.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_list.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_new_resolver.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_new_resolver_errors.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_new_resolver_hashes.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_new_resolver_target.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_new_resolver_user.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_no_color.py Restore colors in regular logging messages 2021-12-12 13:11:36 +00:00
test_pep517.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_pep660.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_requests.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_search.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_show.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_truststore.py Add very simple tests to ensure feature is enabled 2022-05-03 11:04:05 -06:00
test_uninstall.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_uninstall_user.py Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
test_vcs_bazaar.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_vcs_git.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_vcs_mercurial.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_vcs_subversion.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_warning.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00
test_wheel.py Migrate tests to use pathlib.Path 2022-06-08 19:58:46 +08:00