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

non-ASCII characters in README causes install to fail #11

Open
schristley opened this issue Aug 12, 2020 · 5 comments
Open

non-ASCII characters in README causes install to fail #11

schristley opened this issue Aug 12, 2020 · 5 comments

Comments

@schristley
Copy link

$ python3 --version
Python 3.6.9
$ pip3 install petname
Collecting petname
  Downloading https://files.pythonhosted.org/packages/8e/a5/348c90b3fb09d7bd76f7dacf1b92e251d75bfbe715006cb9b84eb23be1b1/petname-2.6.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-ahsh1i5c/petname/setup.py", line 23, in <module>
        long_description = fh.read()
      File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 32: ordinal not in range(128)
@dustinkirkland
Copy link
Owner

Hmm, I'm unable to reproduce this problem....

pip3 install petname

Collecting petname
Downloading petname-2.6.tar.gz (8.4 kB)
Building wheels for collected packages: petname
Building wheel for petname (setup.py) ... done
Created wheel for petname: filename=petname-2.6-py3-none-any.whl size=8129 sha256=063d45aadbf9afee777d6305895ed5cde23b71831f125b4d548ffbce0f08756a
Stored in directory: /root/.cache/pip/wheels/df/d0/f7/5bb2e3528016cf736839ec867275e2ecc9c01e0e26c7596fe3
Successfully built petname
Installing collected packages: petname
Successfully installed petname-2.6

@dustinkirkland
Copy link
Owner

python3 --version

Python 3.8.2

@schristley
Copy link
Author

Sorry, forgot to update. Yes, it is definitely related to the python version. I updated to a newer ubuntu (18.04 -> 20.04) which has a newer python and the problem went away. So if there's no need to support the older python version then can probably close this issue with will not fix.

@ethho
Copy link

ethho commented Mar 4, 2021

Should we anticipate support for 3.6.9?

@asottile
Copy link

looks like this was fixed by 815e50a -- just needs a pypi release

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

Successfully merging a pull request may close this issue.

4 participants