Skip to content

Commit

Permalink
Removed specialized PyPy tag generation
Browse files Browse the repository at this point in the history
Fixes #328.
  • Loading branch information
agronholm committed Jan 22, 2020
1 parent 41fcf34 commit 244d9c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/news.rst
Expand Up @@ -6,6 +6,7 @@ Release Notes
- Dropped Python 3.4 support
- Added automatic platform tag detection for macOS binary wheels
(PR by Grzegorz Bokota)
- Fixed PyPy tag generation to work with the updated semantics (#328)
- Updated project packaging and testing configuration for :pep:`517`
- Moved the contents of setup.py to setup.cfg
- Fixed duplicate RECORD file when using "wheel pack" on Windows
Expand Down
7 changes: 1 addition & 6 deletions src/wheel/pep425tags.py
Expand Up @@ -53,12 +53,7 @@ def get_impl_ver():
def get_impl_version_info():
"""Return sys.version_info-like tuple for use in decrementing the minor
version."""
if get_abbr_impl() == 'pp':
# as per https://github.com/pypa/pip/issues/2882
return (sys.version_info[0], sys.pypy_version_info.major,
sys.pypy_version_info.minor)
else:
return sys.version_info[0], sys.version_info[1]
return sys.version_info[0], sys.version_info[1]


def get_flag(var, fallback, expected=True, warn=True):
Expand Down

0 comments on commit 244d9c2

Please sign in to comment.