1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Upgrade packaging to 20.1

This commit is contained in:
Pradyun Gedam 2020-01-24 16:37:38 +05:30
parent 1d17df6920
commit 78a77229b4
No known key found for this signature in database
GPG key ID: DA17C4B29CB32E4B
4 changed files with 5 additions and 5 deletions

1
news/packaging.vendor Normal file
View file

@ -0,0 +1 @@
Upgrade packaging to 20.1

View file

@ -18,7 +18,7 @@ __title__ = "packaging"
__summary__ = "Core utilities for Python packages"
__uri__ = "https://github.com/pypa/packaging"
__version__ = "20.0"
__version__ = "20.1"
__author__ = "Donald Stufft and individual contributors"
__email__ = "donald@stufft.io"

View file

@ -315,7 +315,7 @@ def _py_interpreter_range(py_version):
def compatible_tags(
python_version=None, # type: Optional[PythonVersion]
interpreter=None, # type: Optional[str]
platforms=None, # type: Optional[Iterator[str]]
platforms=None, # type: Optional[Iterable[str]]
):
# type: (...) -> Iterator[Tag]
"""
@ -328,8 +328,7 @@ def compatible_tags(
"""
if not python_version:
python_version = sys.version_info[:2]
if not platforms:
platforms = _platform_tags()
platforms = list(platforms or _platform_tags())
for version in _py_interpreter_range(python_version):
for platform_ in platforms:
yield Tag(version, "none", platform_)

View file

@ -7,7 +7,7 @@ distro==1.4.0
html5lib==1.0.1
ipaddress==1.0.23 # Only needed on 2.6 and 2.7
msgpack==0.6.2
packaging==20.0
packaging==20.1
pep517==0.7.0
progress==1.5
pyparsing==2.4.6