What is the latest Python version installed?
Quick question, when a .python-version file is provided and is set to 3.11 what is the version that is installed? Can the patch version be modified or set? For example 3.11.6 or 3.11.5?
27 Replies
Project ID:
N/A
N/A
3.11
is that 3.11.0?
Not sure
My source is: https://nixpacks.com/docs/providers/python
Indeed I already looked there but appreciate it, I want to know what the patch version installed is and if this can be specified
oh my bad, I didn't read your whole question
no clue what the patch is, even tried checking commit history on nixpacks and railway
what version of python 3.11 is installed3.11.4
Can the patch version be modified or set?there is no straight forward way with nixpacks, but lets try something
Brody!! where'd you find that information
for future reference
python --version
oh wow
💀
what minor version of python 3.11 do you want?
thinking latest aka 3.11.6 Brody (the reason I mention it is that I think the python interpreter may have a memory leak on an older version so looking to try latest to see if that resolves it)
what version would that be?
just updated the above text as you were typing haha, 3.11.6
do you have a nixpacks.toml file right now?
yep
the one from litestar?
yep
i forget, does it have a setup phase?
just this
odd
Solution
add
to the setup phase, untested
thanks will try tomorrow as it's late for me, I guess a better question is any idea on the update cycle/how easy this will be in the future?
it wont be easy with nixpacks anytime soon, but railway does know that setting specific versions is a massive pain point and they will look to improve this at some point, but either way, a dockerfile will always be able to get your app on the newest version before nix packages can, on account of the automated image releases a lot of software companies do, in contrast nix packages works on user commits to set up and make available new versions
really appreciate it as always Brody!
of course!