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
{{ message }}
Repository navigation
Which Poetry version should contributors use for make lockfile-update-full? #348
$ poetry --versionPoetry (version 1.4.1)
$ poetry lock -n --regenerateThe option "--regenerate" does not exist
Is there a different command contributors should use to fully regenerate poetry.lock with Poetry 1.4.1, or is this Makefile target intended to be run with a different Poetry version?
With Poetry 1.4.1 the full regeneration is the plain poetry lock -n, which is what make lockfile-update runs. --regenerate only exists in Poetry 2.0+, where poetry lock stopped updating locked versions by default. The two Makefile targets were written for the Poetry 2 behaviour:
The flags map like this in Poetry 1.4.1 (the version that generated the current poetry.lock):
Intent
Poetry 1.4.1
Poetry 2.x (Makefile)
refresh lock, keep pinned versions
poetry lock -n --no-update
poetry lock -n
fully re-resolve to latest allowed
poetry lock -n
poetry lock -n --regenerate
I checked both on a copy of the repo at 2fdb18f with Poetry 1.4.1. poetry lock -n --no-update left poetry.lock byte-identical. poetry lock -n re-resolved everything (for example requests 2.32.3 -> 2.32.5, eth-account 0.13.5 -> 0.13.7, pydantic 2.9.2 -> 2.13.5, plus new transitive packages). So on 1.4.1, make lockfile-update gives you the full regeneration, and there is no Makefile target for a no-update refresh.
Activity
younghwan91 commentedon Nov 24, 2026
With Poetry 1.4.1 the full regeneration is the plain
poetry lock -n, which is whatmake lockfile-updateruns.--regenerateonly exists in Poetry 2.0+, wherepoetry lockstopped updating locked versions by default. The two Makefile targets were written for the Poetry 2 behaviour:hyperliquid-python-sdk/Makefile
Lines 7 to 11 in 2fdb18f
The flags map like this in Poetry 1.4.1 (the version that generated the current
poetry.lock):poetry lock -n --no-updatepoetry lock -npoetry lock -npoetry lock -n --regenerateI checked both on a copy of the repo at 2fdb18f with Poetry 1.4.1.
poetry lock -n --no-updateleftpoetry.lockbyte-identical.poetry lock -nre-resolved everything (for examplerequests2.32.3 -> 2.32.5,eth-account0.13.5 -> 0.13.7,pydantic2.9.2 -> 2.13.5, plus new transitive packages). So on 1.4.1,make lockfile-updategives you the full regeneration, and there is no Makefile target for a no-update refresh.