pip does not find newly deployed/updated package.
I have a project that depends on
cycling-dynamics==0.0.9
but when the install runs it only find versions up to 0.0.7
I think I need to use pip --no-cache-dir
How would I define this in the build script?46 Replies
Project ID:
83cc97b1-aac6-4c38-b79b-8cc5cdfdf437
83cc97b1-aac6-4c38-b79b-8cc5cdfdf437
try adding a runtime.txt file to your project with just
3.11
in it.Currently I have been trying and failing to use docker.
I did have a runtime with
python-3.11.7
I think that was the versionwhat python version do you use locally
3.12
does
cycling-dynamics==0.0.9
need python 3.12?no
okay then 3.11 should be fine?
The issues is that when I make an update to cycling-dynamics pip does not seem to find it.
I can see it on pipy.org
is the deployment using python 3.11?
I am switching from the docker file right now back to nixpacks
did your dockerfile use python 3.11?
In docker I was using 3.12-slim. Install worked but had other issues
Ok, just pushed the update back to nixpaks
GitHub
GitHub - vincentdavis/marginal-gains: Seeking, validating, forecast...
Seeking, validating, forecasting marginal gain in cycling. - vincentdavis/marginal-gains
the current version on pipy is 0.0.8
build logs please https://bookmarklets.up.railway.app/log-downloader/
k, 1min
That just opening a blank page
please follow the 3 simple steps
Right 😉
I am on this page
clicking this bookmark
is your browser blocking bookmarklets?
maybe, let me try another browser
easy 😉
try setting a variable
NIXPACKS_NO_CACHE=1
I think this is the correct way to set nocache in the json ?
it's not, may I ask what made you think it was?
a bit of googling and a couple AI's 🤷♂️
in the nixpacks docs it justy says
Caching can be disabled entirely by passing --no-cache.
perhaps my message went unnoticed
and in railway I read "NO_CACHE=1"
Ok, what your saying to do is add a variable in the UI of NIXPACKS_NO_CACHE=1
correct
"""
12.26 ERROR: Could not find a version that satisfies the requirement cycling-dynamics==0.0.9 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7)
12.26 ERROR: No matching distribution found for cycling-dynamics==0.0.9
"""
still get this line
use the bookmarklet please
Thanks for helping!!!!!
are you sure the module doesn't need python 3.12?
😠 I thought I checked this several time. I guess I was looking in the wrong place on the pyproject.toml file. I just saw that pipy said 3.12
Blind spot,
nixpacks does not support python 3.12 right now, you would need to go back to your dockerfile
or change the package and allow 3.11, thats easy, it does not need 3.12 I am 99% sure
let me know how that goes
Got it !!! Thanks for your help, I sent you a coffee or 2.
https://marginal-gains-production.up.railway.app
thank you very much!
Its not a finished app so not much to see. I am trying to move several streamlit app off of the free strealit hosting to railway.
I got to go, thanks again.
no problem!