How can I sync the packages on pyproject.toml(or poetry.lock) and on virtualenv?
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
- Poetry version: 0.12.10
- OS version and name: macOS 10.14.2 Mojave
Question
For example, I remove a package(e.g Arrow) from pyproject.toml by poetry remove arrow and I see the package is removed from pyproject.toml, poetry.lock and my virtualenv. And then I deploy pyproject.toml and poetry.lock.
My teammate download these files and try to install by poetry install. However arrow package is NOT removed from teammate’s virtualenv. I want to sync them (pyproject.toml and virtualenv) like pipenv sync. How can I solve this problem?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:12 (5 by maintainers)
Top Results From Across the Web
How can I sync the packages on pyproject.toml(or poetry.lock ...
My teammate download these files and try to install by poetry install . However arrow package is NOT removed from teammate's virtualenv. I...
Read more >Basic usage | Documentation | Poetry - Python dependency ...
To update to the latest versions, use the update command. This will fetch the latest matching versions (according to your pyproject.toml file) and...
Read more >Dependency Management With Python Poetry
With the install command, Poetry checks your pyproject.toml file for dependencies then resolves and installs them. The resolving part is ...
Read more >Poetry pyproject.toml not updating after running 'poetry add ...
I have a django project, with a single virtual env by poetry. At the root of the project is a pyproject.toml and poetry.lock...
Read more >Implementing dependency management with Python Poetry
Poetry creates two files for the project: pyproject.toml and poetry.lock. PEP 518 specified the pyproject.toml file, which is intended to be ...
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

I’ve run into situations in which this would be useful, such as switching between the tensorflow and tensorflow nightly builds which share the same namespace. pip-tools has pip-sync which implements this functionality.
Yep, this is addressed by #2172