Skip to content

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

Merged
abravalheri merged 2 commits into
pypa:mainfrom
abravalheri:issue-4459
Nov 11, 2024
Merged

Allow user to skip validation of pyproject.toml via env var#4611
abravalheri merged 2 commits into
pypa:mainfrom
abravalheri:issue-4459

Conversation

@abravalheri

@abravalheri abravalheri commented Aug 28, 2024

Copy link
Copy Markdown
Contributor

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

@abravalheri abravalheri Aug 28, 2024

Copy link
Copy Markdown
Contributor Author

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.

@abravalheri abravalheri marked this pull request as ready for review August 28, 2024 17:31
@mgorny

mgorny commented Oct 21, 2024

Copy link
Copy Markdown
Contributor

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
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