38.2.0 Breaks installs of several packages on 2.7 with UnicodeEncodeError parsing package METADATA
See original GitHub issueUsing setuptools==38.2.0
on Python 2.7.14, this setup.py
will fail on any of the packages under install_requires
with errors such as UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 4258: ordinal not in range(128)
. None of these happened under 38.1.0
for instance. Error is happening on this line: https://github.com/pypa/setuptools/blob/97ff22f31ace57f4eabb6f1e77c9c553de0d1c24/setuptools/wheel.py#L59
from setuptools import setup, find_packages
setup(
name="test-setuptools-encoding-problem",
version="1.0.0",
packages=find_packages(),
install_requires=[
"requests==2.18.4",
"eventbrite==3.3.3",
"django_mathfilters==0.4.0",
"django-countries==5.0",
]
)
Verified it doesn’t happen with Python 3.6.3
for instance.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:9 (6 by maintainers)
Top Results From Across the Web
setuptools 7.0 - PyPI
Easily download, build, install, upgrade, and uninstall Python packages.
Read more >python - pip has problems with metadata - Stack Overflow
I'm running now: pip install -U pip and getting: (...) has inconsistent version: filename has '22.1.2', but metadata has '22.1.2' and pip goes ......
Read more >upstart bug fix update - Oracle Linux Yum Server
Resolves: bug#1313574 - repoquery: fix --pkgnarrow=installed. - Resolves: bug#1280453 This update is available via the Unbreakable Linux Network (ULN) and ...
Read more >Untitled
Fedora - Update sub-package requires main package for geoipupdate script - Don't download the database in %post (#1029807) - Don't download GeoLiteASNum as ......
Read more >Untitled
Made native scripts conditional - Update to 2.7.6. ... Rebuild with gcc 4 - Ship wlite and Unicode data licenses, and Changelog -...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Branch is here if you want to test it: https://github.com/benoit-pierre/setuptools/tree/fix_wheels_metadata_handling
Thank you so much for the quick work @benoit-pierre!