Skip to content

Commit d2dcbde

Browse files
authored
Use uv instead of poetry (#224)
* Use uv to manage dependencies * Review outdated otel-collector-config.yaml * Relax dramatiq redis bootstrap logic * Make renovatebot update the lock file --------- Signed-off-by: Federico Busetti <[email protected]>
1 parent 5ddfa30 commit d2dcbde

24 files changed

+3174
-3900
lines changed

.github/workflows/github-pages.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ jobs:
3232
with:
3333
python-version: "3.13"
3434

35+
- name: Install uv
36+
uses: astral-sh/setup-uv@v5
37+
with:
38+
# Install a specific version of uv.
39+
version: "0.5.13"
40+
3541
- name: Install dependencies
36-
run: |
37-
python -m pip install --upgrade pip
38-
python -m pip install poetry
39-
poetry config virtualenvs.create false
40-
make dev-dependencies
42+
run: make dev-dependencies
4143

4244
- name: Build static pages
4345
run: make docs-build

.github/workflows/python-code-style.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
uses: actions/setup-python@v5
2222
with:
2323
python-version: "3.13"
24+
- name: Install uv
25+
uses: astral-sh/setup-uv@v5
26+
with:
27+
# Install a specific version of uv.
28+
version: "0.5.13"
2429
- name: Install dependencies
25-
run: |
26-
python -m pip install --upgrade pip
27-
python -m pip install poetry
28-
poetry config virtualenvs.create false
29-
make dev-dependencies
30+
run: make dev-dependencies
3031
- name: Check code style
31-
run: |
32-
make format
32+
run: make format

.github/workflows/python-lint.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ jobs:
2121
uses: actions/setup-python@v5
2222
with:
2323
python-version: "3.13"
24+
- name: Install uv
25+
uses: astral-sh/setup-uv@v5
26+
with:
27+
# Install a specific version of uv.
28+
version: "0.5.13"
2429
- name: Install dependencies
25-
run: |
26-
python -m pip install --upgrade pip
27-
python -m pip install poetry
28-
poetry config virtualenvs.create false
29-
make dev-dependencies
30+
run: make dev-dependencies
3031
- name: Lint with ruff
3132
run: make lint

.github/workflows/python-quality.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ jobs:
2121
uses: actions/setup-python@v5
2222
with:
2323
python-version: "3.13"
24+
- name: Install uv
25+
uses: astral-sh/setup-uv@v5
26+
with:
27+
# Install a specific version of uv.
28+
version: "0.5.13"
2429
- name: Install dependencies
25-
run: |
26-
python -m pip install --upgrade pip
27-
python -m pip install poetry
28-
poetry config virtualenvs.create false
29-
make dev-dependencies
30+
run: make dev-dependencies
3031
- name: Test & publish code coverage
3132
uses: paambaati/[email protected]
3233
env:

.github/workflows/python-tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ jobs:
2424
uses: actions/setup-python@v5
2525
with:
2626
python-version: "${{ matrix.version }}"
27+
- name: Install uv
28+
uses: astral-sh/setup-uv@v5
29+
with:
30+
# Install a specific version of uv.
31+
version: "0.5.13"
2732
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
python -m pip install poetry
31-
poetry config virtualenvs.create false
32-
make dev-dependencies
33+
run: make dev-dependencies
3334
- name: Test with pytest
3435
run: |
3536
make ci-test

.github/workflows/python-typing.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ jobs:
2121
uses: actions/setup-python@v5
2222
with:
2323
python-version: "3.13"
24+
- name: Install uv
25+
uses: astral-sh/setup-uv@v5
26+
with:
27+
# Install a specific version of uv.
28+
version: "0.5.13"
2429
- name: Install dependencies
25-
run: |
26-
python -m pip install --upgrade pip
27-
python -m pip install poetry
28-
poetry config virtualenvs.create false
29-
make dev-dependencies
30+
run: make dev-dependencies
3031
- name: Check typing
3132
run: make typing

.idea/bootstrap-python-fastapi.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/ryecharm-overrides.xml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/ryecharm.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)