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

Allow user to skip validation of pyproject.toml via env var #4611

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

abravalheri
Copy link
Contributor

@abravalheri abravalheri commented Aug 28, 2024

Summary of changes

Closes #4459 using the approach mentioned in #4459 (comment).

Pull Request Checklist

the file is valid. Otherwise unexpected behaviours may occur.
""",
)
return True
Copy link
Contributor Author

@abravalheri abravalheri Aug 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The warning and env var name are directed towards users unexperienced with setuptools.
Experienced users will be fine.

But I am also happy to change the variable name and warning text.

@mgorny
Copy link
Contributor

mgorny commented Oct 21, 2024

I'm not going to complain if it's merged as-is, but TBH I don't think the warning is really helpful. Users who disable the validation will already know what this implies through the sake of finding the variable in the first place — so I think it's sufficient to document it properly.

@abravalheri abravalheri force-pushed the issue-4459 branch 2 times, most recently from 24c0a77 to 593358a Compare November 11, 2024 14:30
@abravalheri abravalheri merged commit e14cfec into pypa:main Nov 11, 2024
24 checks passed
@abravalheri abravalheri deleted the issue-4459 branch November 11, 2024 15:16
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.

[BUG] Please make trove classifiers validation optional
2 participants