Skip to content

Conversation

@algochoi
Copy link
Contributor

@algochoi algochoi commented Dec 23, 2022

This PR adds a check to see if setup.py is well-formed. It also removes the v prefix from the version, as it does not seem necessary (related change) and generates a user warning:

dist.py:487: UserWarning: Normalizing 'v1.20.2' to '1.20.2'
  warnings.warn(tmpl.format(**locals()))

Closes #409

@algochoi algochoi marked this pull request as ready for review December 27, 2022 16:54
@algochoi algochoi requested a review from tzaffi December 27, 2022 17:48
Co-authored-by: Michael Diamant <[email protected]>
Copy link
Contributor

@michaeldiamant michaeldiamant left a comment

Choose a reason for hiding this comment

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

@algochoi Thanks for coming up with a solution here so that we avoid regressions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Check for sdist metadata warnings

3 participants