Skip to content

Conversation

@sebastianelsner
Copy link
Contributor

fixes #376

[build-system]
requires = [
"hatchling",
"hatchling>=1.26",
Copy link
Member

Choose a reason for hiding this comment

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

Is there a way to test that the original issue was fixed in CI?

Perhaps running pip check on the installed environment?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, using twine we can do:

twine check --strict dist/*

With the old hatchling this gived:

twine check --strict dist/* 
Checking dist/execnet-2.1.2.dev116+gb6018320f-py3-none-any.whl: ERROR    InvalidDistribution: Invalid distribution metadata: license-expression introduced in metadata version 2.4, not 2.3

And does not error with the new one.

But I think twine is not used in this project right now. So we add a dependency and it needs to be added in the release process and I do not know where.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, using twine we can do:

Thanks, I updated test.yml to use this check, it should be working now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, looking good!

@nicoddemus
Copy link
Member

Going ahead and merging because the pypy-3.8 failures are being addressed in #375. 👍

@nicoddemus nicoddemus merged commit 03462f5 into pytest-dev:master Nov 11, 2025
11 of 13 checks passed
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.

packaging issues with license-expression

2 participants