Skip to content

Commit

Permalink
document lockfile limitations (#721)
Browse files Browse the repository at this point in the history
* docs: document lockfile limitations

* Update docs/guide/sync.md

Co-authored-by: Jo <[email protected]>

---------

Co-authored-by: Armin Ronacher <[email protected]>
Co-authored-by: Jo <[email protected]>
  • Loading branch information
3 people authored Feb 21, 2024
1 parent 3209a6e commit 299b491
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/guide/sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,12 @@ lockfile (`requirements-dev.lock`).
```
rye sync --no-dev
```

## Limitations

Lockfiles depend on the platform they were generated on. This is a known limitation
in pip-tools.

For example, if your project relies on platform-specific packages and you generate
lockfiles on Windows, these lockfiles will include Windows-specific projects.
Consequently, they won't be compatible with other platforms like Linux or macOS.

0 comments on commit 299b491

Please sign in to comment.