e71e3e8dd1
## Summary This fixes an extremely subtle bug in `pip install --reinstall`, whereby if you depend on `setuptools` at the top level, we end up uninstalling it after resolving, which breaks some cached state. If we have `--reinstall`, we need to reset that cached state between resolving and installing. ## Test Plan Running `pip install --reinstall` with: ```txt setuptools devpi @ https://files.pythonhosted.org/packages/e4/f3/e334eb4dc930ccb677363e1305a3730003d203efbb023329e4b610e4515b/devpi-2.2.0.tar.gz ``` Fails on `main`, but passes.
18 lines
347 B
TOML
18 lines
347 B
TOML
[project]
|
|
name = "black"
|
|
version = "0.1.0"
|
|
description = "Default template for PDM package"
|
|
authors = [
|
|
{name = "konstin", email = "konstin@mailbox.org"},
|
|
]
|
|
dependencies = []
|
|
requires-python = ">=3.11,<3.13"
|
|
license = {text = "MIT"}
|
|
|
|
[build-system]
|
|
requires = ["pdm-backend"]
|
|
build-backend = "pdm.backend"
|
|
|
|
[tool.pdm]
|
|
package-type = "library"
|