Replace spaces in platform names with underscores#491
Conversation
Codecov ReportBase: 68.35% // Head: 68.35% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #491 +/- ##
=======================================
Coverage 68.35% 68.35%
=======================================
Files 12 12
Lines 929 929
=======================================
Hits 635 635
Misses 294 294
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Without this, wheels produced on such platforms will cause a WheelError.
7964e5c to
160fce6
Compare
|
@agronholm, would you mind taking a look at this? |
|
Hum... interesting. I don't think platforms are supposed to have spaces in their names though. Where did you get your Python from? |
What makes you say that?
It's a lightly modified copy of the FreeBSD Python 3.8 port, but the platform name is not specific to Python, FWIW (e.g. |
|
Well, that's true. I went over the wheel spec again and in fact I don't see anything limiting the usage spaces. I don't think normalizing the space to underscore is the right fix, the code should be able to handle spaces in the platform tag instead. But let's wait for the maintainers 😄 |
Maybe you missed this? |
|
Yep, thank you! |
|
So the current version of |
|
I didn't realize I was looking at a PR until after I wrote that previous comment 😅 |
|
😋 np, thank you! |
Without this, wheels produced on such platforms will cause a
WheelError.For example: https://gist.github.com/tucked/871d4ec2364379249bf524cf3a42f308