8 months ago
I set NIXPACKSPYTHONVERSION to 3.13.5 but it's still using 3.13.0. Is there a way to specify minor version?
15 Replies
8 months ago
02488d6b-8c14-4f63-a855-4a12942f0aef
8 months ago
do you have a dockerfile
8 months 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?
8 months ago
Use major.minor only
In Railway Variables set:NIXPACKS_PYTHON_VERSION=3.13Redeploy 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 • 4 months ago
Status changed to Solved tooru • 4 months ago
4 months ago
I got tired of Railway deprecating every new build system, so I just switched to Docker
4 months ago
That's the first time Railway deprecates a build system
4 months ago
Heroku
4 months ago
Oh, the Heroku build system, forgot about that, then yeah I'm in the wrong here then.
4 months ago
somewhere between 2022-2023