#21076: make pyx a new style pip package
--------------------------------------+------------------------
       Reporter:  vdelecroix          |        Owner:
           Type:  defect              |       Status:  new
       Priority:  critical            |    Milestone:  sage-7.3
      Component:  packages: optional  |   Resolution:
       Keywords:                      |    Merged in:
        Authors:  Vincent Delecroix   |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------
Description changed by vdelecroix:

Old description:

> 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 "pip style" package and remove the old style
> spkg from the mirrors.
>
> See the discussion at
>
>     https://groups.google.com/forum/#!topic/sage-devel/TVMnUmj8U0k

New description:

 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

--

--
Ticket URL: <https://trac.sagemath.org/ticket/21076#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to