a year ago
I set NIXPACKS_PYTHON_VERSION to 3.13.5 but it's still using 3.13.0. Is there a way to specify minor version?
15 Replies
a year ago
02488d6b-8c14-4f63-a855-4a12942f0aef
a year ago
do you have a dockerfile
a year ago
Hey, can you try switching the builder to Railpack and set the Python version using one of the ways outlined in the Railpack docs: https://railpack.com/languages/python#versions?
a year ago
- Use major.minor only In Railway Variables set:
NIXPACKS_PYTHON_VERSION=3.13 Redeploy and you’ll get the latest 3.13.x (that’s why 3.13.0 fell back).
- If you really need 3.13.5 Switch to a tiny Dockerfile instead of Nixpacks:
FROM python:3.13.5-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD ["gunicorn", "myproject.wsgi:application", "--bind", "0.0.0.0:8000"] Status changed to Open brody • 10 months ago
Status changed to Solved tooru • 10 months ago
10 months ago
I got tired of Railway deprecating every new build system, so I just switched to Docker
10 months ago
That's the first time Railway deprecates a build system
10 months ago
Heroku
10 months ago
Oh, the Heroku build system, forgot about that, then yeah I'm in the wrong here then.
10 months ago
somewhere between 2022-2023