Opened 7 years ago
Closed 7 years ago
#21076 closed enhancement (fixed)
make pyx a new style package
Reported by: | Vincent Delecroix | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | sage-7.3 |
Component: | packages: optional | Keywords: | |
Cc: | Volker Braun, Jeroen Demeyer | Merged in: | |
Authors: | Vincent Delecroix | Reviewers: | Jeroen Demeyer |
Report Upstream: | N/A | Work issues: | |
Branch: | e7bb30b (Commits, GitHub, GitLab) | Commit: | e7bb30b5387e1f122e3227960e6d70abb3ed635e |
Dependencies: | Stopgaps: |
Description (last modified by )
The installation of the old style package pyx breaks pip for encoding reason.
$ sage - i pyx SNIP installation log $ sage -pip uninstall pyx Traceback (most recent call last): File "/opt/sage/local/bin/pip", line 5, in <module> from pkg_resources import load_entry_point File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2927, in <module> File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2913, in _call_aside File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 626, in _build_master File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 619, in __init__ File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 675, in add_entry File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1982, in find_on_path File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2370, in from_location File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2687, in _reload_version File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2335, in _version_from_file File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2503, in _get_metadata File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1873, in get_metadata_lines File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1863, in get_metadata File "/opt/sage/local/lib/python/codecs.py", line 302, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 165: invalid start byte in /opt/sage/local/lib/python2.7/site-packages/PyX-0.10-py2.7.egg-info
We propose to make pyx a new style package. Upstream tarball at
See the discussion at
https://groups.google.com/forum/#!topic/sage-devel/TVMnUmj8U0k
and also #20472
Change History (7)
comment:1 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 7 years ago by
comment:3 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 7 years ago by
Branch: | → u/vdelecroix/21076 |
---|---|
Commit: | → e7bb30b5387e1f122e3227960e6d70abb3ed635e |
Status: | new → needs_review |
New commits:
e7bb30b | Trac 21076: make pyx a new style package
|
comment:5 Changed 7 years ago by
Description: | modified (diff) |
---|---|
Summary: | make pyx a new style pip package → make pyx a new style package |
comment:6 Changed 7 years ago by
Reviewers: | → Jeroen Demeyer |
---|---|
Status: | needs_review → positive_review |
Type: | defect → enhancement |
comment:7 Changed 7 years ago by
Branch: | u/vdelecroix/21076 → e7bb30b5387e1f122e3227960e6d70abb3ed635e |
---|---|
Resolution: | → fixed |
Status: | positive_review → closed |
Note: See
TracTickets for help on using
tickets.
Sadly pyx is now Python 3 only and we need to do a version specific installation