Using python 3.8 with Railpack
simon-ccoms
PROOP

a month ago

I need to use python 3.8 for my Django app as it's still on Django 2. But when I try and build using Railpack (the default) it says I need to use > 3.9. Is the best way round this to use something other than Railpack? I can't afford to upgrade Django at this time.

$10 Bounty

5 Replies

Railway
BOT

a month ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


you can swap to using a docker file vs railpack. itll allow you to pin down py3.8


Hi,

You can set the RAILPACK_PYTHON_VERSION variable to 3.8.


samgordon

Hi,You can set the RAILPACK_PYTHON_VERSION variable to 3.8.

simon-ccoms
PROOP

a month ago

This results in:-

mise pipx:pipenv@2025.0.4 pipx install pipenv==2025.0.4

Python 3.9 or later is required. See https://github.com/pypa/pipx for installation instructions.

mise ERROR pipx failed


yeeet

you can swap to using a docker file vs railpack. itll allow you to pin down py3.8

simon-ccoms
PROOP

a month ago

I've never used docker and it seems a bit of an overkill to use something which I assume has a pretty steep learning curve when all I want to do is build something with a different version of python.


Loading...