Linus2punkt0 / bluesky-crossposter

An app for crossposting your posts from bluesky to twitter and mastodon
108 stars 23 forks source link

error when trying to bring up docker container #32

Closed imogen-ooo closed 11 months ago

imogen-ooo commented 12 months ago

trying to bring up docker container I am seeing this error:

> [3/5] RUN pip install --no-cache-dir -r requirements.txt:
#0 3.889 ERROR: Ignored the following versions that require a different python version: 0.0.10 Requires-Python >=3.7,<3.12; 0.0.11 Requires-Python >=3.7,<3.12; 0.0.12 Requires-Python >=3.7,<3.12; 0.0.13 Requires-Python >=3.7,<3.12; 0.0.14 Requires-Python >=3.7,<3.12; 0.0.15 Requires-Python >=3.7,<3.12; 0.0.16 Requires-Python >=3.7,<3.12; 0.0.17 Requires-Python >=3.7,<3.12; 0.0.18 Requires-Python >=3.7,<3.12; 0.0.19 Requires-Python >=3.7,<3.12; 0.0.20 Requires-Python >=3.7,<3.12; 0.0.21 Requires-Python >=3.7,<3.12; 0.0.22 Requires-Python >=3.7,<3.12; 0.0.23 Requires-Python >=3.7,<3.12; 0.0.24 Requires-Python >=3.7,<3.12; 0.0.25 Requires-Python >=3.7,<3.12; 0.0.26 Requires-Python >=3.7.1,<3.12; 0.0.27 Requires-Python >=3.7.1,<3.12; 0.0.28 Requires-Python >=3.7.1,<3.12; 0.0.29 Requires-Python >=3.7.1,<3.12; 0.0.6 Requires-Python >=3.7,<3.12; 0.0.7 Requires-Python >=3.7,<3.12; 0.0.8 Requires-Python >=3.7,<3.12; 0.0.9 Requires-Python >=3.7,<3.12
#0 3.889 ERROR: Could not find a version that satisfies the requirement atproto==0.0.29 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5)
#0 3.890 ERROR: No matching distribution found for atproto==0.0.29

I can install all pip packages locally, but for some reason it doesn't work when trying to build the container

Linus2punkt0 commented 11 months ago

I've passed this issue on to my docker guy! Seems the version of python used in the docker-version does not have the latest version of atproto included, if you want to try setting a different python version in the dockerfile that might resolve the issue.

imogen-ooo commented 11 months ago

oh interesting! i will try this later on this afternoon!

imogen-ooo commented 11 months ago

yep, that worked perfectly, just changed it to python:3.11.6-alpine and now we're up and running! thanks!