Skip to content

Commit f6fd247

Browse files
committed
Updated vendored packaging to v20.8
Fixes #354.
1 parent 16777fb commit f6fd247

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/news.rst

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

4+
**UNRELEASED**
5+
6+
- Updated vendored ``packaging`` library to v20.8
7+
48
**0.36.1 (2020-12-04)**
59

610
- Fixed ``AssertionError`` when ``MACOSX_DEPLOYMENT_TARGET`` was set to ``11``

src/wheel/vendored/packaging/tags.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def _mac_binary_formats(version, cpu_arch):
410410
if cpu_arch in {"arm64", "x86_64"}:
411411
formats.append("universal2")
412412

413-
if cpu_arch in {"x86_64", "i386", "ppc64", "ppc"}:
413+
if cpu_arch in {"x86_64", "i386", "ppc64", "ppc", "intel"}:
414414
formats.append("universal")
415415

416416
return formats
@@ -827,11 +827,7 @@ def interpreter_version(**kwargs):
827827

828828
def _version_nodot(version):
829829
# type: (PythonVersion) -> str
830-
if any(v >= 10 for v in version):
831-
sep = "_"
832-
else:
833-
sep = ""
834-
return sep.join(map(str, version))
830+
return "".join(map(str, version))
835831

836832

837833
def sys_tags(**kwargs):

0 commit comments

Comments
 (0)