R
Railway17mo ago
sirius

Python Poetry deployment "no matching distribution found"

I'm trying to deploy a very simple Python Poetry project. While building I get this error:
#10 23.51 ERROR: Could not find a version that satisfies the requirement poetry==1.3.1 (from versions: none)
#10 23.51 ERROR: No matching distribution found for poetry==1.3.1
#10 23.51 ERROR: Could not find a version that satisfies the requirement poetry==1.3.1 (from versions: none)
#10 23.51 ERROR: No matching distribution found for poetry==1.3.1
9 Replies
Percy
Percy17mo ago
Project ID: ddc35d63-856d-4b00-b284-14df34cf4b83
sirius
sirius17mo ago
ddc35d63-856d-4b00-b284-14df34cf4b83
Brody
Brody17mo ago
send me the table at the top of the build logs please
sirius
sirius17mo ago
╔═══════════════════════════════ Nixpacks v1.9.0 ══════════════════════════════╗
║ setup │ python310, gcc ║
║──────────────────────────────────────────────────────────────────────────────║
║ install │ python -m venv --copies /opt/venv && . /opt/venv/bin/activate ║
║ │ && pip install poetry==$NIXPACKS_POETRY_VERSION && poetry ║
║ │ install --no-dev --no-interaction --no-ansi ║
║──────────────────────────────────────────────────────────────────────────────║
║ start │ poetry run bot ║
╚══════════════════════════════════════════════════════════════════════════════╝
╔═══════════════════════════════ Nixpacks v1.9.0 ══════════════════════════════╗
║ setup │ python310, gcc ║
║──────────────────────────────────────────────────────────────────────────────║
║ install │ python -m venv --copies /opt/venv && . /opt/venv/bin/activate ║
║ │ && pip install poetry==$NIXPACKS_POETRY_VERSION && poetry ║
║ │ install --no-dev --no-interaction --no-ansi ║
║──────────────────────────────────────────────────────────────────────────────║
║ start │ poetry run bot ║
╚══════════════════════════════════════════════════════════════════════════════╝
Brody
Brody17mo ago
what version of python do you use locally
John Newton
John Newton17mo ago
@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."
Brody
Brody17mo ago
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
John Newton
John Newton17mo ago
Absolutely. My intent was to make it easier but I guessed the wrong direction 😅
Brody
Brody17mo ago
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
Want results from more Discord servers?
Add your server