Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve trove classifier validation #9

Merged
merged 4 commits into from Feb 23, 2022

Conversation

abravalheri
Copy link
Owner

Currently when embedded validate-pyproject will require users to add trove-classifiers to their dependencies. In some scenarios (e.g. setuptools) that may be very annoying (see comment in https://discuss.python.org/t/help-testing-experimental-features-in-setuptools/13821/21).

A possible alternative is to download the classifiers directly from PyPI if the package is not installed, this is done by both distutils and flit.

This change adds the download as a fallback mechanism, but also skip this validation if the NO_NETWORK environment variable is used or if the download fails.

@abravalheri abravalheri force-pushed the improve-trove-classifier-problem branch from 763bc3e to 5644e5f Compare February 23, 2022 01:35
@abravalheri abravalheri force-pushed the improve-trove-classifier-problem branch from 1a2d670 to 0e0967b Compare February 23, 2022 02:02
@abravalheri abravalheri merged commit 23b2066 into main Feb 23, 2022
@abravalheri abravalheri deleted the improve-trove-classifier-problem branch February 23, 2022 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant