hereon-GEMS / pydidas

Python Diffraction Data Analysis Suite (pydidas) which merges toolkits and tries to supply broad functionality for X-ray diffraction data analysis.
https://hereon-gems.github.io/pydidas/
Other
2 stars 1 forks source link

Unable to install from pydidas-24.6.5-py3-none-any.whl on MacOS #28

Open gudlot opened 2 weeks ago

gudlot commented 2 weeks ago

Trying to install from the latest wheel into a new mamba environment on MacOS.

pip install pydidas-24.6.5-py3-none-any.whl

results in an error:

ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement pyqt5-qt5==5.15.2 (from pydidas) (from versions: 5.15.11, 5.15.12, 5.15.13, 5.15.14)
ERROR: No matching distribution found for pyqt5-qt5==5.15.2

Suggestion for a fix: Don't specify in requirements.txt for pyqt5-qt5 a version. pyqt5-qt5

Then pyqt5-qt5=5.15.13 is automatically chosen.

PS: Why is there PyQt5==5.15.10 in pyproject.toml?

gudlot commented 2 weeks ago

After having deleted from the requirements.txt pyqt5-qt5==5.15.12 to pyqt5-qt5

pip-compile pyproject.toml runs through and the new requirements.txt reads now:

pyqt5-qt5==5.15.14
    # via
    #   pydidas (pyproject.toml)
    #   pyqt5