[Django] #25411: UnicodeEncodeError with ZIP of latest (pre 1.9) master and PIP and Python 2.7

5 views
Skip to first unread message

Django

unread,
Sep 16, 2015, 3:21:09 AM9/16/15
to django-...@googlegroups.com
#25411: UnicodeEncodeError with ZIP of latest (pre 1.9) master and PIP and Python
2.7
-------------------------------+--------------------
Reporter: carltongibson | Owner: nobody
Type: Bug | Status: new
Component: Packaging | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Setting a dependency on Django to the **ZIP** of the latest master results
in an error with PIP and Python 2.7:

https://github.com/django/django/archive/master.zip

File ".../django-appconf/.tox/py27-dj19/lib/python2.7/site-
packages/pip/utils/__init__.py",
line 231, in split_leading_dir
path = str(path)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2297' in
position 60:
ordinal not in range(128)

Switching to the `tar.gz` resolves this.

There's a related PIP issue here: https://github.com/pypa/pip/issues/2729

--
Ticket URL: <https://code.djangoproject.com/ticket/25411>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 16, 2015, 3:24:06 AM9/16/15
to django-...@googlegroups.com
#25411: UnicodeEncodeError with ZIP of latest (pre 1.9) master and PIP and Python
2.7
-------------------------------+--------------------------------------

Reporter: carltongibson | Owner: nobody
Type: Bug | Status: new
Component: Packaging | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by carltongibson):

* needs_better_patch: => 0
* version: master => 1.8
* needs_tests: => 0
* needs_docs: => 0


Comment:

Working on this issue for https://github.com/django-compressor/django-
appconf/pull/23, it seems to also apply to Django 1.8 — see build failure
here: https://travis-ci.org/django-compressor/django-appconf/jobs/80584175


I hadn't noticed that.

--
Ticket URL: <https://code.djangoproject.com/ticket/25411#comment:1>

Django

unread,
Sep 16, 2015, 6:45:53 AM9/16/15
to django-...@googlegroups.com
#25411: UnicodeEncodeError with ZIP of latest (pre 1.9) master and PIP and Python
2.7
-------------------------------+--------------------------------------
Reporter: carltongibson | Owner: nobody
Type: Bug | Status: closed
Component: Packaging | Version: 1.8
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by timgraham):

* status: new => closed
* resolution: => duplicate


Comment:

Duplicate of #24408.

--
Ticket URL: <https://code.djangoproject.com/ticket/25411#comment:2>

Reply all
Reply to author
Forward
0 new messages