You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our repo, the build times for the release image was taking ~10 minutes, with the poetry installs taking over 4 minutes. Upon researching, I found this thread where it says that when a poetry version is specified as a range of versions (ie alembic = "^1.8.1"), then poetry has to resolve any dependencies or issues for a range of versions. If you change it to a specified version (alembic = "1.9.1"), it can help speed up build times. Once we changed to pinned versions, it dropped the build time to ~6 minutes, with the poetry installs taking ~1 minute now.
I have the versions pinned in local changes, but since this is a basic app, it only saves ~10 seconds. I'll be adding some docs explaining the tweaks and reasoning behind it so that other repos can make the changes and report back the time saved
The text was updated successfully, but these errors were encountered:
In our repo, the build times for the release image was taking ~10 minutes, with the poetry installs taking over 4 minutes. Upon researching, I found this thread where it says that when a poetry version is specified as a range of versions (ie
alembic = "^1.8.1"
), then poetry has to resolve any dependencies or issues for a range of versions. If you change it to a specified version (alembic = "1.9.1"
), it can help speed up build times. Once we changed to pinned versions, it dropped the build time to ~6 minutes, with the poetry installs taking ~1 minute now.I have the versions pinned in local changes, but since this is a basic app, it only saves ~10 seconds. I'll be adding some docs explaining the tweaks and reasoning behind it so that other repos can make the changes and report back the time saved
The text was updated successfully, but these errors were encountered: