ymattw / ydiff

View colored, incremental diff in workspace or from stdin, side by side and auto paged.
Other
877 stars 62 forks source link

ydiff 1.4 FileNotFoundError: [Errno 2] No such file or directory: 'CHANGES.rst' #123

Closed foot3print closed 3 days ago

foot3print commented 4 days ago

Hi, just today i wanted to install ydiff over pip and failed with the following error.

... Collecting ydiff Using cached https://firm-internal-repo/artifactory/api/pypi/common-python-pypi-remote/packages/packages/ea/d8/7a5ac7c290829830cbc191b826ad4187e0014882c8a7c3d43bbf28e615d9/ydiff-1.4.tar.gz (15 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

à python setup.py egg_info did not run successfully. â exit code: 1 â°â> [6 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/tmp/pip-install-zfyso4zq/ydiff_7368b72a2c9a410f8b411801c9d0b539/setup.py", line 9, in with open('CHANGES.rst') as changes: FileNotFoundError: [Errno 2] No such file or directory: 'CHANGES.rst' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

à Encountered error while generating package metadata. â°â> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

Upon downloading the ydiff 1.4 and unpacking it, I found out that the file CHANGES.rst is indeed missing in the package. Can you please add the file to the release?

ymattw commented 4 days ago

Oops, sorry for that. Turns out the package does not contain CHANGES.rst anymore. I will have to add it back maybe without a MANIFEST.in file. I will fix this soon.

ymattw commented 3 days ago

Had to bump up the version and publish 1.4.1. Could you try again?

foot3print commented 3 days ago

Works now ! Thank you for the quick fix. Your work and effort is well appreciated. The problem is resolved.