diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9089612..a914c8b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,5 +23,5 @@ jobs: with: aws: true python: true - poetry: true + uv: true command: make ci diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2b53db2..69e32c6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: args: - --show-error-codes name: mypy - entry: poetry run mypy + entry: uv run mypy require_serial: true language: system types: diff --git a/Makefile b/Makefile index b08ec1b..809474e 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ format: @echo "--- 🐶 Ruff Format 🐶 ---" - poetry run ruff format . + uv run ruff format . ruff: @echo "--- 🐶 Ruff Lint 🐶 ---" - poetry run ruff check . --fix + uv run ruff check . --fix lint: ruff @@ -14,11 +14,12 @@ postgres: test: postgres @echo "--- 💃 Testing 💃 ---" - poetry run python manage.py test + uv run python manage.py test publish: ci # poetry config pypi-token.pypi your-api-token - poetry publish --build + uv build + uv publish ci: test lint diff --git a/docker-compose.yml b/docker-compose.yml index 26cbc92..2bff7ae 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,9 +2,7 @@ version: "3.4" services: db: - image: postgis/postgis:13-3.0-alpine - volumes: - - ${PWD}/var:/share + image: postgres:17-alpine environment: - POSTGRES_HOST_AUTH_METHOD=trust - POSTGRES_DB=example diff --git a/uv.lock b/uv.lock index 1190943..dd034db 100644 --- a/uv.lock +++ b/uv.lock @@ -38,8 +38,8 @@ wheels = [ [[package]] name = "django-pev" -version = "0.1.0" -source = { virtual = "." } +version = "0.3.0" +source = { editable = "." } dependencies = [ { name = "django" }, { name = "psycopg2" },