Skip to content

Commit

Permalink
Updated vendored packaging to v20.8
Browse files Browse the repository at this point in the history
Fixes #354.
  • Loading branch information
agronholm committed Dec 13, 2020
1 parent 16777fb commit f6fd247
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 4 additions & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Release Notes
=============

**UNRELEASED**

- Updated vendored ``packaging`` library to v20.8

**0.36.1 (2020-12-04)**

- Fixed ``AssertionError`` when ``MACOSX_DEPLOYMENT_TARGET`` was set to ``11``
Expand Down
8 changes: 2 additions & 6 deletions src/wheel/vendored/packaging/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def _mac_binary_formats(version, cpu_arch):
if cpu_arch in {"arm64", "x86_64"}:
formats.append("universal2")

if cpu_arch in {"x86_64", "i386", "ppc64", "ppc"}:
if cpu_arch in {"x86_64", "i386", "ppc64", "ppc", "intel"}:
formats.append("universal")

return formats
Expand Down Expand Up @@ -827,11 +827,7 @@ def interpreter_version(**kwargs):

def _version_nodot(version):
# type: (PythonVersion) -> str
if any(v >= 10 for v in version):
sep = "_"
else:
sep = ""
return sep.join(map(str, version))
return "".join(map(str, version))


def sys_tags(**kwargs):
Expand Down

0 comments on commit f6fd247

Please sign in to comment.