git depencencies don't have hashes in `poetry.lock` & `poetry update` doesn't work if the version number hasn't changed
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- OS version and name: windows 10
- Poetry version: 1.1.12
- Link of a Gist with the contents of your pyproject.toml file:
[tool.poetry.dependencies] basedtyping = { git = "https://github.com/KotlinIsland/basedtyping.git", rev = "f2ecd42ab96eaf68c96da6527cb6075d8da3028d" }
Issue
- run
poetry updatewith the dependency above - change the
revto a newer commit, such as11f7b4c232d68d5bb4c150d3340322548e1feda8 - run
poetry update
expected result
the new version is installed
actual result
the old version stays installed, the only thing updated in the lockfile is the commit hash
there is also no hash in metadata.files

Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Announcing Poetry 1.2.0 | Blog
The Poetry team is pleased to announce the immediate availability of Poetry 1.2.0. Poetry 1.2 boasts a massive list of changes, new features ......
Read more >Dependency Management With Python Poetry
Install dependencies with poetry.lock; Execute basic Poetry CLI commands. Using Poetry will help you start new projects, maintain existing ones, ...
Read more >Pipenv: promises a lot, delivers very little | Chris Warrick
lock , which stores the exact version and source file hash [2] of each package installed (including pytz , Django's dependency). The last...
Read more >Defining metadata (meta.yaml) - Conda
All the metadata in the conda-build recipe is specified in the meta.yaml file. ... If you don't use these variables then you won't...
Read more >Python Application Dependency Management
Update from one year later (2019-11-06): My upcoming criticism of Pipenv and Poetry have stood the test of time: Poetry hasn't added the ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

that’s odd, i tried it again and it worked this time
thanks!
@DetachHead seems to be working for me.
Also fwiw; this also seems to work fine with
1.2.0b1.