Unable to break cache in FastHTML app on modern environments.
pydanny
PROOP

a year ago

Even though we see code changes locally, they don't show up after a deployment. This is happening with two apps, event with NO_CACHE set to 1. Specific details:

  • First app (daniel.feldroy.com) saw changes work after new deployments on legacy platform, but was then upgraded to modern and now changes to dependencies don't update existing packages.

  • Second app (arg.feldroy.com) has always been deployed as modern, but after deployments changes to views are not reflected in the resulting pages.

Solved

2 Replies

pydanny
PROOP

a year ago

I have to include an unnecessary package (sqlite-minutils) with daniel.feldroy.com because railway won't upgrade the fasthtml to the most recent version. Even if I specify the most recent version of fasthtml, railway insists uses the older version. You can see an example failing log here: https://railway.com/project/cb0fb603-48d6-483c-b2b0-5c4551ab09b1/service/4b1acd7d-f51d-4849-8a1e-517c92a38885?environmentId=b292dc5e-3597-493d-95b1-e841a7b3b7e2&id=cd2e8eda-9adc-430e-87a1-1a664797c878#deploy


brody
EMPLOYEE

a year ago

Hello,

Perhaps you are using Python 3.13 locally and the issues arise from the Railway build using Python 3.12?


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

6 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...