letmaik / rawpy

📷 RAW image processing for Python, a wrapper for libraw
https://pypi.python.org/pypi/rawpy
MIT License
613 stars 68 forks source link

Module Installation fails on Github Actions workflow #99

Closed Xevion closed 4 years ago

Xevion commented 4 years ago

Hi, I'm incredibly bad at weird errors, and am not even sure if this is the right place to be posting it, but here I go:

I created a Github Actions Workflow to test builds of my project which makes use of the rawpy library, and as such, needed to run pip install rawpy, however, when running and installing, it fails. This was after multiple attempts to get it working, which only succeeded after manually specifying that numpy & cython should be installed. This error doesn't occur on my desktop rig as far as I'm concerned.

Very interested if you're familiar with this error and if you're able to help me resolve it. Thanks.

Latest Failed Build Attempt Full Raw Log File

letmaik commented 4 years ago

You use an old rawpy version (0.13.1, see https://github.com/Xevion/phototag/blob/master/requirements.txt) which didn't come with Python 3.8 wheels yet, see https://pypi.org/project/rawpy/0.14.0/#files vs https://pypi.org/project/rawpy/0.13.1/#files. Simply switch to 0.14.0, then everything is fine. Note that from 0.14.0 onwards I'm no longer publishing the source distribution to PyPI as it was too brittle and caused more trouble than it was worth. This means, either you get a working wheel or nothing at all, and you don't need to have Cython installed.