eliasdoehne / stellaris-dashboard

A graph dashboard and event log for Stellaris.
123 stars 14 forks source link

README: Mentions Python 3.7, which does not work #86

Closed chennin closed 4 months ago

chennin commented 1 year ago

Hi! When installing the required Python packages for the dashboard via pip in a 3.7 environment (Docker in this case, image python:3.7-slim-bullseye), the following error is thrown and exits:

ERROR: Ignored the following versions that require a different python version: 3.6.0 Requires-Python >=3.8; 3.6.0rc1 Requires-Python >=3.8; 3.6.0rc2 Requires-Python >=3.8; 3.6.1 Requires-Python >=3.8; 3.6.2 Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement matplotlib==3.6.0 (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 3.0.0rc2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0rc1, 3.1.0rc2, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0rc1, 3.2.0rc3, 3.2.0, 3.2.1, 3.2.2, 3.3.0rc1, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4.0rc1, 3.4.0rc2, 3.4.0rc3, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.5.0b1, 3.5.0rc1, 3.5.0, 3.5.1, 3.5.2, 3.5.3)
ERROR: No matching distribution found for matplotlib==3.6.0

Indeed, according to the documentation for stable (3.6), Python 3.8 is required.

Incompatibility: the readme says "Get Python 3.7 (should also work with 3.8)". Suggestion: to update the README with whichever Python version 3.8 or above you're using/supporting.

I've been running for weeks on 3.10 and it's been good. Thank you!

eliasdoehne commented 1 year ago

Sounds good, I can update the readme and also switch the build to Python 3.10. I'll do it when I update the library versions as I mentioned here since it will require the same testing of the pyinstaller build.

eliasdoehne commented 1 year ago

Fixed, I updated the readme and github actions to 3.10, I'll have a look later or tomorrow to confirm if the build is still working