Introduce wheel tag regex
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:
- fixing wheel tag determination (see #591)
- introducing wheel-tag-regex (this PR)
This is based on PR #591, which would need to be merged first. I am unfortunately not sure about how to properly test with mocking of the proposed change, so this PR is in draft status at the moment. Any guidance is welcome here.
The first PR should actually fix most use cases, as this second PR is only needed for backward compatibility of older projects. New projects built with poetry should work properly with #591.
- [x] Added tests for changed code.
- [ ] Updated documentation for changed code.
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication