Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -36,7 +36,6 @@ jobs:
- "3.12"
- "3.11"
- "3.10"
- "3.9"
services:
postgres:
image: postgres:15.2
Expand Down Expand Up @@ -88,7 +87,6 @@ jobs:
- "3.12"
- "3.11"
- "3.10"
- "3.9"
name: Check migrations on Python ${{ matrix.py }}

steps:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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" ]
Expand Down
11 changes: 5 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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)"
]
Expand All @@ -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",
Expand All @@ -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]
Expand All @@ -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 = [
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down