Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make pyx a new style package #21076

Closed
videlec opened this issue Jul 23, 2016 · 9 comments
Closed

make pyx a new style package #21076

videlec opened this issue Jul 23, 2016 · 9 comments

Comments

@videlec
Copy link
Contributor

videlec commented Jul 23, 2016

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

https://pypi.python.org/packages/27/04/3e13fab75ea4d7e390af41b732a00709557c9b46a1d598b40a68bc312503/pyx-0.12.1.tar.gz

See the discussion at

https://groups.google.com/forum/#!topic/sage-devel/TVMnUmj8U0k

and also #20472

CC: @vbraun @jdemeyer

Component: packages: optional

Author: Vincent Delecroix

Branch/Commit: e7bb30b

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/21076

@videlec videlec added this to the sage-7.3 milestone Jul 23, 2016
@videlec

This comment has been minimized.

@videlec
Copy link
Contributor Author

videlec commented Jul 23, 2016

comment:2

Sadly pyx is now Python 3 only and we need to do a version specific installation

$ sage -pip install pyx==0.12.1

@videlec

This comment has been minimized.

@videlec
Copy link
Contributor Author

videlec commented Jul 23, 2016

Branch: u/vdelecroix/21076

@videlec
Copy link
Contributor Author

videlec commented Jul 23, 2016

Commit: e7bb30b

@videlec
Copy link
Contributor Author

videlec commented Jul 23, 2016

New commits:

e7bb30bTrac 21076: make pyx a new style package

@videlec

This comment has been minimized.

@videlec videlec changed the title make pyx a new style pip package make pyx a new style package Jul 23, 2016
@jdemeyer
Copy link

Reviewer: Jeroen Demeyer

@vbraun
Copy link
Member

vbraun commented Jul 27, 2016

Changed branch from u/vdelecroix/21076 to e7bb30b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants