chore: Migrate from Poetry to uv, bump dependencies and python version.

This commit is contained in:
Elisiário Couto
2025-01-13 21:12:04 +00:00
parent 6b2cb8a52f
commit 33006f8f43
7 changed files with 419 additions and 612 deletions

View File

@@ -12,22 +12,19 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version-file: "pyproject.toml"
- name: Build Package
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry build -f wheel
run: uv build
- name: Publish package
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish
run: uv publish
push-docker:
runs-on: ubuntu-latest