-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inspection/info: pep517 fallback on invalid version
This change ensures that invalid versions in setup files raises an error and gracefully fallsback to PEP 517 builds to discover package metadata. Resolves: #2761
- Loading branch information
1 parent
fa0881d
commit 46623d5
Showing
6 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[metadata] | ||
name = with-setup-cfg-attr | ||
version = attr: with_setup_cfg_attr.__version__ | ||
|
||
[options] | ||
zip_safe = true | ||
python_requires = >=2.6,!=3.0,!=3.1,!=3.2,!=3.3 | ||
setup_requires = setuptools>=36.2.2 | ||
install_requires = | ||
six | ||
tomlkit | ||
|
||
[options.extras_require] | ||
validation = | ||
cerberus | ||
tests = | ||
pytest | ||
pytest-xdist | ||
pytest-cov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from setuptools import setup | ||
|
||
setup() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters