saghul / pycares

Python interface for c-ares
https://pypi.org/project/pycares/
MIT License
162 stars 74 forks source link

Error FileNotFound when installing pycares==4.1.1 #165

Closed navoiee closed 2 years ago

navoiee commented 2 years ago

Version 4.1.1 fails to install from pypi because of FileNotFoundError (PYPIREADME.rst)

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/7p/jd8d_ynj3p927nzzd_ksww4h0000gn/T/pip-install-4wuwav9_/pycares_2655a73715204e54b42dd9fdd892b646/setup.py", line 23, in <module>
    long_description = codecs.open('PYPIREADME.rst', encoding='utf-8').read(),
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/codecs.py", line 905, in open
    file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: 'PYPIREADME.rst'
enricodvn commented 2 years ago

I am having this issue also, with python 3.6 and pip version 19.0.3

jmgiaever commented 2 years ago

Same here; following.

saghul commented 2 years ago

Oops.

jmgiaever commented 2 years ago

Seems to affect armhf, but not amd64 and arm64.

saghul commented 2 years ago

I just released https://github.com/saghul/pycares/releases/tag/pycares-4.1.2 it'll take a few minutes for the release to be pushed to PyPI. Sorry everyone!

jmgiaever commented 2 years ago

Thanks for taking action so quickly.

saghul commented 2 years ago

You can follow the progress here: https://github.com/saghul/pycares/actions/runs/1355205103

navoiee commented 2 years ago

Fixed in 4.1.2.