LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

poetry-sync

Synchronize environment with lock file

TLDR

Sync dependencies with lock file
$ poetry sync
copy
Sync without dev dependencies
$ poetry sync --no-dev
copy
Sync specific groups
$ poetry sync --with [group]
copy
Dry run
$ poetry sync --dry-run
copy

SYNOPSIS

poetry sync [options]

DESCRIPTION

poetry sync strictly synchronizes the virtual environment to match the poetry.lock file exactly. Unlike poetry install, it also removes any packages present in the environment that are not listed in the lock file.This is useful for ensuring clean, reproducible environments in CI/CD pipelines or production deployments. Use --dry-run to preview changes before applying them.

PARAMETERS

--no-dev

Exclude dev dependencies.
--with GROUPS
Include specific groups.
--without GROUPS
Exclude specific groups.
--dry-run
Simulate sync.

INSTALL

sudo dnf install poetry
copy
sudo apk add poetry
copy
brew install poetry
copy
nix profile install nixpkgs#poetry
copy

CAVEATS

Removes unlocked packages. More strict than install.

HISTORY

poetry sync provides strict synchronization with the lock file.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid