diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b48757..86ef263 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.10' - uses: pre-commit/action@v3.0.1 test: @@ -36,7 +36,6 @@ jobs: - "3.12" - "3.11" - "3.10" - - "3.9" services: postgres: image: postgres:15.2 @@ -88,7 +87,6 @@ jobs: - "3.12" - "3.11" - "3.10" - - "3.9" name: Check migrations on Python ${{ matrix.py }} steps: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 89f016f..a8d5aac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,8 +1,8 @@ default_language_version: - python: python3.9 + python: python3.10 repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.12.1' + rev: 'v0.14.4' hooks: - id: ruff args: [ "--fix" ] diff --git a/pyproject.toml b/pyproject.toml index 7c136d5..3b92a06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,16 +1,16 @@ [project] name = "django-tenants-smart-executor" -version = "0.1.0" +version = "0.1.1" description = "Executors for django-tenants which check whether any migrations need running before running them, making it faster." authors = [ - {name = "Mikuláš Poul",email = "mikulas.poul@xelix.com"} + {name = "Mikuláš Poul", email = "mikulas.poul@xelix.com"} ] license = "MIT" license-files = [ "LICENSE", ] readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "django-tenants (>=3.8)" ] @@ -19,7 +19,6 @@ packages = [{include = "django_tenants_smart_executor"}] classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -38,7 +37,7 @@ classifiers = [ [tool.poetry.group.dev.dependencies] pytest = "^8.4.1" pytest-django = "^4.11.1" -ruff = "^0.12.1" +ruff = "^0.14.4" psycopg = {extras = ["binary"], version = "^3.2.9"} [build-system] @@ -47,7 +46,7 @@ build-backend = "poetry.core.masonry.api" [tool.ruff] line-length = 120 -target-version = "py39" +target-version = "py310" [tool.ruff.lint] select = [ diff --git a/tox.ini b/tox.ini index f053bec..b7153c6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,9 @@ [tox] envlist = - py{39,310,311,312,313} + py{310,311,312,313} [gh] python = - "3.9" = py39 "3.10" = py310 "3.11" = py311 "3.12" = py312