Skip to content

Commit 0b4ee25

Browse files
authored
Fixed bdist_wheel not lower casing the platform tag (#366)
Fixes #364.
1 parent 4253bbb commit 0b4ee25

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/news.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Release Notes
22
=============
33

4+
**UNRELEASED**
5+
6+
- Fixed ``bdist_wheel`` not working on FreeBSD due to mismatching platform tag
7+
name (it was not being converted to lowercase)
8+
49
**0.35.0 (2020-08-13)**
510

611
- Switched to the packaging_ library for computing wheel tags

src/wheel/bdist_wheel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def get_tag(self):
254254
if plat_name in ('linux-x86_64', 'linux_x86_64') and sys.maxsize == 2147483647:
255255
plat_name = 'linux_i686'
256256

257-
plat_name = plat_name.replace('-', '_').replace('.', '_')
257+
plat_name = plat_name.lower().replace('-', '_').replace('.', '_')
258258

259259
if self.root_is_pure:
260260
if self.universal:

0 commit comments

Comments
 (0)