Comments (10)
In GitLab by @jaraco on Dec 5, 2018, 18:35
Replicate the issue readily thus:
$ python2.7 -m pip-run portend importlib_metadata -- -c "import importlib_metadata; importlib_metadata.metadata('portend')"
Collecting portend
Using cached https://files.pythonhosted.org/packages/81/43/21afd5914b74d4271184ee76f4093b45aa6a580dc6627d72dfc33664c6ac/portend-2.3-py2.py3-none-any.whl
Collecting importlib_metadata
Using cached https://files.pythonhosted.org/packages/d3/50/9c436e4ac464f16e271e34e6c79b9c753e7e1a80b0ebd86da9b99de182ea/importlib_metadata-0.7-py2.py3-none-any.whl
Collecting tempora>=1.8 (from portend)
Using cached https://files.pythonhosted.org/packages/6a/73/22900a52243fdcb2251a10bdb7c6a75fc8d40ab59ec25c01e26823af5126/tempora-1.14-py2.py3-none-any.whl
Collecting pathlib2; python_version < "3" (from importlib_metadata)
Using cached https://files.pythonhosted.org/packages/2a/46/c696dcf1c7aad917b39b875acdc5451975e3a9b4890dca8329983201c97a/pathlib2-2.3.3-py2.py3-none-any.whl
Collecting contextlib2; python_version < "3" (from importlib_metadata)
Using cached https://files.pythonhosted.org/packages/a2/71/8273a7eeed0aff6a854237ab5453bc9aa67deb49df4832801c21f0ff3782/contextlib2-0.5.5-py2.py3-none-any.whl
Collecting pytz (from tempora>=1.8->portend)
Using cached https://files.pythonhosted.org/packages/f8/0e/2365ddc010afb3d79147f1dd544e5ee24bf4ece58ab99b16fbb465ce6dc0/pytz-2018.7-py2.py3-none-any.whl
Collecting jaraco.functools>=1.20 (from tempora>=1.8->portend)
Using cached https://files.pythonhosted.org/packages/c2/f3/ce1bd8d5434227d26c2c2e07a9f89229a6b81122437452871d7e67f0ec76/jaraco.functools-1.20-py2.py3-none-any.whl
Collecting six (from tempora>=1.8->portend)
Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting scandir; python_version < "3.5" (from pathlib2; python_version < "3"->importlib_metadata)
Collecting more-itertools (from jaraco.functools>=1.20->tempora>=1.8->portend)
Using cached https://files.pythonhosted.org/packages/fb/d3/77f337876600747ae307ea775ff264c5304a691941cd347382c7932c60ad/more_itertools-4.3.0-py2-none-any.whl
Collecting backports.functools-lru-cache>=1.0.3; python_version == "2.7" (from jaraco.functools>=1.20->tempora>=1.8->portend)
Using cached https://files.pythonhosted.org/packages/03/8e/2424c0e65c4a066e28f539364deee49b6451f8fcd4f718fefa50cc3dcf48/backports.functools_lru_cache-1.5-py2.py3-none-any.whl
Installing collected packages: pytz, six, more-itertools, backports.functools-lru-cache, jaraco.functools, tempora, portend, scandir, pathlib2, contextlib2, importlib-metadata
Successfully installed backports.functools-lru-cache-1.5 contextlib2-0.5.5 importlib-metadata-0.7 jaraco.functools-1.20 more-itertools-4.3.0 pathlib2-2.3.3 portend-2.3 pytz-2018.7 scandir-1.9.0 six-1.11.0 tempora-1.14
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-run-gx8RI6/importlib_metadata/api.py", line 95, in metadata
return Distribution.from_name(package).metadata
File "/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-run-gx8RI6/importlib_metadata/api.py", line 71, in metadata
self.read_text('METADATA') or self.read_text('PKG-INFO')
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/__init__.py", line 57, in message_from_string
return Parser(*args, **kws).parsestr(s)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/parser.py", line 82, in parsestr
return self.parse(StringIO(text), headersonly=headersonly)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xb7' in position 905: ordinal not in range(128)
from importlib_metadata.
In GitLab by @jaraco on Dec 5, 2018, 18:59
mentioned in commit 514f317433996d70d3919048c9a4abfbd857aa84
from importlib_metadata.
In GitLab by @jaraco on Dec 5, 2018, 19:07
mentioned in commit 3568e65a642e4e27ca6dd1e13419b120ca4b73fb
from importlib_metadata.
In GitLab by @jaraco on Dec 5, 2018, 19:07
mentioned in commit 523e04a48b79a3878cdaece1244f88c81db3ee7b
from importlib_metadata.
In GitLab by @jaraco on Dec 5, 2018, 19:18
mentioned in commit 7b569f9725f2e109b6f628af502dfb83fefde537
from importlib_metadata.
In GitLab by @jaraco on Dec 5, 2018, 19:53
mentioned in commit ea520ac
from importlib_metadata.
In GitLab by @jaraco on Dec 5, 2018, 19:53
mentioned in commit d58bf2a
from importlib_metadata.
In GitLab by @jaraco on Dec 5, 2018, 19:53
mentioned in commit c687f37
from importlib_metadata.
In GitLab by @jaraco on Dec 6, 2018, 03:08
closed via merge request !30
from importlib_metadata.
In GitLab by @jaraco on Dec 6, 2018, 03:08
closed via commit c687f37
from importlib_metadata.
Related Issues (20)
- Uncaught Exception when reading Egg information HOT 6
- `__pycache__` returned as an import name from `packages_distributions()` HOT 4
- Raise if multiple `dist-info` folders for same dist exist HOT 3
- Create a Github Security Policy file HOT 3
- PathDistribution normalized name ignores name components after first "-" HOT 6
- Provide a 'diagnose' routine to help users inspect broken environments HOT 1
- ContextualVersionConflict error on jupyter notebook HOT 1
- pypy test has started failing HOT 12
- Rely on zipfile.Path (where viable) HOT 1
- Backport docs changes HOT 1
- Invalid annotation in `SimplePath` protocol HOT 2
- Change build backend to flit-core? HOT 1
- 6.8.0: pytest is failing in tests/test_api.py::APITests::test_prefix_not_matched` unit HOT 3
- PackageNotFoundError No package metadata was found for <myproject> HOT 1
- Question: parsing package names & versions from METADATA file instead of dist-info directory HOT 1
- Provide a helper for "is distribution present" HOT 2
- Mypy tests failing on Windows only HOT 1
- 6.9.0: `DiscoveryTests.test_package_discovery` fails HOT 6
- distributions() finds two packages for editable installs HOT 2
- MetadataPathFinder has `find_distributions` as a classmethod in CPython HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from importlib_metadata.