| |
@@ -10,7 +10,6 @@
|
| |
# empty
|
| |
expected: |
|
| |
python3dist(setuptools) >= 40.8
|
| |
- python3dist(wheel)
|
| |
except: FileNotFoundError
|
| |
|
| |
Insufficient version of setuptools:
|
| |
@@ -23,7 +22,6 @@
|
| |
setup.py: |
|
| |
expected: |
|
| |
python3dist(setuptools) >= 40.8
|
| |
- python3dist(wheel)
|
| |
result: 0
|
| |
|
| |
No pyproject.toml, empty setup.py:
|
| |
@@ -35,7 +33,6 @@
|
| |
expected: |
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
result: 0
|
| |
|
| |
Default build system, empty setup.py:
|
| |
@@ -50,7 +47,6 @@
|
| |
expected: |
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
result: 0
|
| |
|
| |
pyproject.toml with build-backend and setup.py:
|
| |
@@ -215,7 +211,6 @@
|
| |
expected: |
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(foo)
|
| |
(python3dist(bar) < 2 or python3dist(bar) > 2)
|
| |
(python3dist(baz) >= 1.1.1 with python3dist(baz) < 1.2)
|
| |
@@ -237,7 +232,6 @@
|
| |
expected: |
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(pyyaml)
|
| |
python3dist(inst) > 1.0
|
| |
python3dist(inst2) < 3~~
|
| |
@@ -290,7 +284,6 @@
|
| |
expected: |
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(setuptools) >= 40
|
| |
python3dist(py) >= 1.5
|
| |
python3dist(six) >= 1.10
|
| |
@@ -313,7 +306,6 @@
|
| |
expected: |
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(setuptools) >= 40
|
| |
python3dist(py) >= 1.5
|
| |
python3dist(six) >= 1.10
|
| |
@@ -351,7 +343,6 @@
|
| |
expected: |
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(dep4)
|
| |
python3dist(dep4[bar])
|
| |
python3dist(dep4[foo])
|
| |
@@ -374,7 +365,6 @@
|
| |
expected: |
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(setuptools) >= 40
|
| |
python3dist(pip) >= 19
|
| |
python3dist(py) >= 1.5
|
| |
@@ -419,7 +409,6 @@
|
| |
- | # tox 3
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(tox-current-env) >= 0.0.6
|
| |
python3dist(toxdep1)
|
| |
python3dist(toxdep2)
|
| |
@@ -427,7 +416,6 @@
|
| |
- | # tox 4
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(tox-current-env) >= 0.0.6
|
| |
python3dist(tox)
|
| |
python3dist(toxdep1)
|
| |
@@ -471,7 +459,6 @@
|
| |
- | # tox 3
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(tox-current-env) >= 0.0.6
|
| |
python3dist(toxdep)
|
| |
python3dist(inst)
|
| |
@@ -485,7 +472,6 @@
|
| |
- | # tox 4
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(tox-current-env) >= 0.0.6
|
| |
python3dist(tox)
|
| |
python3dist(toxdep)
|
| |
@@ -528,7 +514,6 @@
|
| |
- | # tox 3
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(tox-current-env) >= 0.0.6
|
| |
python3dist(tox) >= 3.999
|
| |
python3dist(setuptools) > 40.0
|
| |
@@ -536,7 +521,6 @@
|
| |
- | # tox 4
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(tox-current-env) >= 0.0.6
|
| |
python3dist(tox) >= 3.999
|
| |
python3dist(setuptools) > 40.0
|
| |
@@ -572,7 +556,6 @@
|
| |
- | # tox 3
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(tox-current-env) >= 0.0.6
|
| |
python3dist(tox) >= 3.5
|
| |
python3dist(setuptools) > 40.0
|
| |
@@ -582,7 +565,6 @@
|
| |
- | # tox 4
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(tox-current-env) >= 0.0.6
|
| |
python3dist(setuptools) > 40.0
|
| |
python3dist(tox) >= 3.5
|
| |
@@ -614,14 +596,12 @@
|
| |
- | # tox 3
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(tox-current-env) >= 0.0.6
|
| |
python3dist(setuptools) > 40.0
|
| |
python3dist(wheel) > 2.0
|
| |
- | # tox 4
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
python3dist(tox-current-env) >= 0.0.6
|
| |
python3dist(setuptools) > 40.0
|
| |
python3dist(wheel) > 2.0
|
| |
@@ -685,7 +665,6 @@
|
| |
(python3dist(sqlalchemy) < 1.1~~ with python3dist(sqlalchemy) >= 1.0.10)
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
result: 0
|
| |
|
| |
With pyproject.toml, requirements file and with -N option:
|
| |
@@ -872,7 +851,6 @@
|
| |
expected: |
|
| |
python3dist(setuptools) >= 40.8
|
| |
python3dist(wheel)
|
| |
- python3dist(wheel)
|
| |
result: 0
|
| |
|
| |
pyproject.toml with runtime dependencies:
|
| |
PEP 517 doesn't mandate depending on wheel when a legacy setuptools fallback is used.
Historically, it used to be assumed as necessary, but later it turned out to be wrong.
See the same change in pip and build:
https://github.com/pypa/pip/pull/12449
https://github.com/pypa/build/pull/716
I believe this is the correct thing to do.
Even the expected outputs in the tests now look more reasonable.
However, this could lead to minor slowdowns in builds for packages with no build backend specified.
Previously, setuptools+wheel would get installed in the first round of %generate_buildrequires.
Now, setuptools gets installed in the first round and wheel in the second.
I slightly prefer correctness over minor speedup, but I am not 100% convinced.