-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
UnicodeEncodeError on latest docker debian image #176
Comments
I am seeing this with regular |
This isn't exclusive to Docker... able to reproduce on
For reference...
|
Sounds like Python 2 is having problems encoding the package info. It's strange that this hasn't come up before... |
not sure. |
@slimm609 Could you update setup.py with the following changes and let me know if the problem persists? index 319b558..6e59568 100644
--- a/setup.py
+++ b/setup.py
@@ -31,9 +31,9 @@ setup(
packages=find_packages(),
package_data={"smart_open.tests": ["test_data/*gz"]},
- author=u'Radim Řehůřek',
+ author=u'Radim Řehůřek'.encode('utf-8'),
author_email='me@radimrehurek.com',
- maintainer=u'Radim Řehůřek',
+ maintainer=u'Radim Řehůřek'.encode('utf-8'),
maintainer_email='me@radimrehurek.com',
url='https://github.com/piskvorky/smart_open',``` |
#177 does fix the issue |
Seems to be an issue with python 3.3.6.. trying to resolve now |
@baldwindc @slimm609 I think it's preferable to work around this issue without butchering the author's name. Is encoding it to UTF-8 not sufficient? |
Thanks fresh |
Good find @menshikh-iv. Based on that hint, I found that the last few versions (all released this weekend) suffer this issue. I had to go back to
|
Connected with pypa/setuptools#1297 |
@slimm609 @xCatG @baldwindc @schlueter fixed in #178, |
With the release of pypa/setuptools#1300 was ultimately the fix to the problem. |
@schlueter don't worry, I asked him before a change |
* Support opening pathlib.Path * Edited opening pathlib.Path test which skips if not available * Added pathlib2 backport support including tests * Added pathlib2 to test_require for supporting pathlib backport * Fix author/maintainer fields in `setup.py`, avoid bug from `setuptools==39.0.0`. Fix #176 (#178) * fix author/maintainer fields * attemp to resolve problem with botocore * try other workaround for botocore * next attemp * bump version to 1.5.7 * bump changelos to 1.5.7 * Reduced code logic redundancy in pathlib.Path test
Getting this error on the latest docker debian image with python-dev installed
The text was updated successfully, but these errors were encountered: