Skip to content

Commit 5e282be

Browse files
committed
initial commit
0 parents  commit 5e282be

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Demo of a python project packaged with uv
2+
3+
The repository demonstrates following uv features:
4+
- use a dedicated python version per project
5+
- isolate 3rd party packages per project
6+
- cross platform deterministic locking
7+
- sing semantic versioning policy and upgrade backwards compatible changes
8+
- dependabot automatic dependency upgrades
9+
10+
NOTE: Dependabot currently does neither support uv.lock nor uv pip compile (See [dependabot-core#10478](https://github.com/dependabot/dependabot-core/issues/10478)).
11+
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])).
12+
13+
Run with:
14+
15+
```bash
16+
curl -LsSf https://astral.sh/uv/install.sh | sh
17+
uv run pytest test
18+
```
19+
20+
To upgrade dependencies but stay within defined semver policy in pyproject.toml:
21+
22+
```
23+
uv lock -U
24+
```

0 commit comments

Comments
 (0)