Python Poetry deployment "no matching distribution found"
I'm trying to deploy a very simple Python Poetry project. While building I get this error:
9 Replies
Project ID:
ddc35d63-856d-4b00-b284-14df34cf4b83
ddc35d63-856d-4b00-b284-14df34cf4b83
send me the table at the top of the build logs please
what version of python do you use locally
@sirius @Brody was there a resolution for this? I was going to a create a new post, but I have this same issue.
╔═══════════════════════════════ Nixpacks v1.9.0 ══════════════════════════════╗
║ python:setup │ python38, gcc ║
║──────────────────────────────────────────────────────────────────────────────║
║ setup │ nodejs-18_x, pnpm-7_x, libnss3, libatk1.0-0, libatk- ║
║ │ bridge2.0-0, libcups2, libgbm1, libasound2, libpangocairo- ║
║ │ 1.0-0, libxss1, libgtk-3-0, libxshmfence1, libglu1 ║
║──────────────────────────────────────────────────────────────────────────────║
║ install │ pnpm i --frozen-lockfile ║
║──────────────────────────────────────────────────────────────────────────────║
║ python:install │ python -m venv --copies /opt/venv && . ║
║ │ /opt/venv/bin/activate && pip install -r requirements.txt ║
║──────────────────────────────────────────────────────────────────────────────║
║ build │ pnpm run build ║
║──────────────────────────────────────────────────────────────────────────────║
║ start │ pnpm run start ║
╚══════════════════════════════════════════════════════════════════════════════╝
Using Pip 22.3.1 and Python 3.11.3.
I have tried using PIP_EXTRA_INDEX_URL as a variable and setting the path to the source distribution, built distribution and .git repo in requirements.txt.
Tried runtime.txt for the python and pip version just in case.
Build fails with:
"#13 9.985 ERROR: No matching distribution found for ipython>=8.13.0
#13 9.991 WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available."
it's just my personal preference, but could you open a new help thread please?
since you do have a wildly different build table and slightly different error
Absolutely. My intent was to make it easier but I guessed the wrong direction 😅
I mean I am going against the channel topic by saying not to reuse this thread, so you are not in the wrong at all