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

Fall back to PEP 517 hooks for non-compliant PEP 621 metadata #2662

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

charliermarsh
Copy link
Member

If you pass a pyproject.toml that use Hatch's context formatting API, we currently fail because the dependencies aren't valid under PEP 508. This PR makes the static metadata parsing a little more relaxed, so that we appropriately fall back to PEP 517 there.

@charliermarsh charliermarsh added the compatibility Compatibility with a specification or another tool label Mar 26, 2024
@charliermarsh charliermarsh marked this pull request as ready for review March 26, 2024 00:03
@charliermarsh charliermarsh force-pushed the charlie/hatch branch 2 times, most recently from d515e9d to 5ffbbae Compare March 26, 2024 01:36
@charliermarsh charliermarsh force-pushed the charlie/hatch branch 2 times, most recently from 382c81d to d6e881e Compare March 26, 2024 02:13
@charliermarsh charliermarsh enabled auto-merge (squash) March 26, 2024 02:24
@charliermarsh charliermarsh merged commit 39769d8 into main Mar 26, 2024
31 checks passed
@charliermarsh charliermarsh deleted the charlie/hatch branch March 26, 2024 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with a specification or another tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant