Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
f9366da
Remove setup.py develop code path
sbidoul Mar 8, 2025
cafa715
Remove legacy editable tests
sbidoul May 10, 2025
aed7024
Refactor get_created_direct_url test
sbidoul May 18, 2025
8add656
Rework PipTestResult for detection of modern editables
sbidoul May 18, 2025
50804ff
Update tests that were looking for egg-link files to detect editables
sbidoul May 10, 2025
85bb55a
Test there is no fallback when backend has no PEP 660
sbidoul Sep 27, 2025
3cc9e6b
Update uninstall tests that depend on legacy install methods
sbidoul Sep 27, 2025
4eda5e4
Update pip show test that depends on legacy install method
sbidoul Sep 27, 2025
674df32
Remove non PEP 517 code paths
sbidoul Sep 28, 2025
90fa35d
Remove --use-pep517 option test
sbidoul Sep 28, 2025
0dbd25e
Remove --no-use-pep517 test
sbidoul Sep 28, 2025
05e53ef
Update creation of test package that must fail building
sbidoul Sep 28, 2025
fe02d65
Run unit tests with no build isolation
sbidoul Sep 28, 2025
873a1c5
Remove tests that exercise --global-option
sbidoul Sep 28, 2025
017d5e6
Rework test that needed --global-option to use --config-setting
sbidoul Sep 28, 2025
0e07ba2
Test install pip without build isolation
sbidoul Sep 28, 2025
16b2601
Remove legacy 'setup.py clean' tests
sbidoul Sep 28, 2025
8fec3f0
Add --no-build-isolation to tests
sbidoul Sep 28, 2025
b3871c6
Add news
sbidoul Sep 27, 2025
6feecc2
Fix and expand PEP 660 detection
sbidoul Sep 28, 2025
893ab4b
Remove a few more obsolete pep517 things from the test suite
sbidoul Sep 29, 2025
5a17132
Docs: reflect removal of direct setup.py invocations
sbidoul Oct 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update uninstall tests that depend on legacy install methods
  • Loading branch information
sbidoul committed Oct 21, 2025
commit 3cc9e6bd68d5b3709cc173f28f8da8abe7e242ff
6 changes: 3 additions & 3 deletions tests/functional/test_uninstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def _test_uninstall_editable_with_source_outside_venv(
temp_pkg_dir,
expect_stderr=True,
)
result2 = script.pip("install", "-e", temp_pkg_dir)
result2 = script.run("python", "setup.py", "develop", cwd=temp_pkg_dir)
result2.did_create(join(script.site_packages, "pip-test-package.egg-link"))
result3 = script.pip("uninstall", "-y", "pip-test-package")
assert_all_changes(
Expand Down Expand Up @@ -665,7 +665,7 @@ def test_uninstall_editable_and_pip_install(
script.environ["SETUPTOOLS_SYS_PATH_TECHNIQUE"] = "raw"

pkg_path = data.packages.joinpath("FSPkg")
script.pip("install", "-e", ".", expect_stderr=True, cwd=pkg_path)
script.run("python", "setup.py", "develop", expect_stderr=True, cwd=pkg_path)
# ensure both are installed with --ignore-installed:
script.pip("install", "--ignore-installed", ".", expect_stderr=True, cwd=pkg_path)
script.assert_installed(FSPkg="0.1.dev0")
Expand Down Expand Up @@ -702,7 +702,7 @@ def test_uninstall_editable_and_pip_install_easy_install_remove(

# Install FSPkg
pkg_path = data.packages.joinpath("FSPkg")
script.pip("install", "-e", ".", expect_stderr=True, cwd=pkg_path)
script.run("python", "setup.py", "develop", expect_stderr=True, cwd=pkg_path)

# Rename easy-install.pth to pip-test-fspkg.pth
easy_install_pth = join(script.site_packages_path, "easy-install.pth")
Expand Down
4 changes: 3 additions & 1 deletion tests/functional/test_uninstall_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ def test_uninstall_editable_from_usersite(

# install
to_install = data.packages.joinpath("FSPkg")
result1 = script.pip("install", "--user", "-e", to_install)
result1 = script.run(
"python", "setup.py", "develop", "--user", "--prefix=", cwd=to_install
)
egg_link = script.user_site / "FSPkg.egg-link"
result1.did_create(egg_link)

Expand Down