Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
win845 committed Nov 19, 2024
0 parents commit 5e282be
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Demo of a python project packaged with uv

The repository demonstrates following uv features:
- use a dedicated python version per project
- isolate 3rd party packages per project
- cross platform deterministic locking
- sing semantic versioning policy and upgrade backwards compatible changes
- dependabot automatic dependency upgrades

NOTE: Dependabot currently does neither support uv.lock nor uv pip compile (See [dependabot-core#10478](https://github.com/dependabot/dependabot-core/issues/10478)).
A workaround is implemented for simulating pip-compile workflow (See [check-uv.sh](./bin/check-uv.sh) and [workflows/push.yml](.github/workflows/push.yml])).

Run with:

```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
uv run pytest test
```

To upgrade dependencies but stay within defined semver policy in pyproject.toml:

```
uv lock -U
```

0 comments on commit 5e282be

Please sign in to comment.