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

Fix wheel tag determination #591

Merged
merged 4 commits into from
May 22, 2023
Merged

Fix wheel tag determination #591

merged 4 commits into from
May 22, 2023

Conversation

rmarquis
Copy link
Contributor

@rmarquis rmarquis commented May 19, 2023

Resolves: python-poetry#3509

This is a follow-up of PR #227, based on the work of @jrandall rebased on latest stable version, squashed and cleaned up, with the addition of requested changes by @radoering.

As @jrandall is seemingly unresponsive, this is an attempt at getting his work merged in poetry-core. All credits to him.

As suggested in #227, the initial PR is divided in 2 parts:

All tests are passing. I guess @radoering would like to review as he commenetd on past iteration of this change.

  • Added tests for changed code.
  • Updated documentation for changed code.

@rmarquis rmarquis mentioned this pull request May 19, 2023
2 tasks
@radoering
Copy link
Member

@rmarquis I added an optimization for non-poetry (i.e. poetry-core only) builds, some robustness and a smoke test. Please check the changes, especially validate that your use case is still fixed.

@rmarquis
Copy link
Contributor Author

@radoering My workflow was impacted by python-poetry/poetry#7957, but once I patched poetry with the proposed fix (along the patched poetry-core) I can confirm everything works correctly now!

Thanks for the quick feedback and the above changes, greatly appreaciated!

@sonarcloud
Copy link

sonarcloud bot commented May 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@radoering radoering merged commit 5da9a2e into python-poetry:main May 22, 2023
radoering pushed a commit to radoering/poetry-core that referenced this pull request May 22, 2023
Co-authored-by: Joshua C. Randall <[email protected]>
Co-authored-by: Randy Döring <[email protected]>

(cherry picked from commit 5da9a2e)
@rmarquis rmarquis deleted the fix-wheel-tag-determination branch May 22, 2023 16:45
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.

Poetry build is naming the wheel incorrectly
3 participants