2 years ago
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?
0 Replies
2 years ago
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 version
2 years ago
what python version do you use locally
2 years ago
does cycling-dynamics==0.0.9 need python 3.12?
2 years ago
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
2 years ago
is the deployment using python 3.11?
2 years ago
did your dockerfile use python 3.11?
12.69 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.69 ERROR: No matching distribution found for cycling-dynamics==0.0.92 years ago
build logs please
2 years ago
please follow the 3 simple steps
2 years ago
is your browser blocking bookmarklets?
2 years ago
try setting a variable NIXPACKS_NO_CACHE=1
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"nocache": "true"
},
"deploy": {
"startCommand": "streamlit run Marginal_Gains.py --server.address 0.0.0.0 --server.port 8501 --server.fileWatcherType none --browser.gatherUsageStats false --client.toolbarMode minimal"
}
}2 years ago
it's not, may I ask what made you think it was?
in the nixpacks docs it justy says Caching can be disabled entirely by passing --no-cache.
2 years ago
perhaps my message went unnoticed
Ok, what your saying to do is add a variable in the UI of NIXPACKSNOCACHE=1
2 years ago
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
"""
2 years ago
use the bookmarklet please
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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.
2 years ago
no problem!

