diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 14844ef..c947775 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -8,22 +8,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] django-version: ["4.2", "5.0", "5.1", "5.2"] - exclude: - # Django 5.0+ requires Python 3.10+ - - python-version: "3.8" - django-version: "5.0" - - python-version: "3.8" - django-version: "5.1" - - python-version: "3.8" - django-version: "5.2" - - python-version: "3.9" - django-version: "5.0" - - python-version: "3.9" - django-version: "5.1" - - python-version: "3.9" - django-version: "5.2" steps: - uses: actions/checkout@v4 @@ -40,6 +26,8 @@ jobs: pip install -e .[dev] - name: Run tests + env: + DJANGO_SETTINGS_MODULE: tests.integration.support.settings run: | pytest --cov=django_odata --cov-report=xml diff --git a/pyproject.toml b/pyproject.toml index ee7dce4..6a2ae2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ ensure_newline_before_comments = true [tool.black] line-length = 88 -target-version = ['py38'] +target-version = ['py310'] include = '\.pyi?$' extend-exclude = ''' /( diff --git a/setup.py b/setup.py index 7ebf575..cf949a7 100644 --- a/setup.py +++ b/setup.py @@ -23,8 +23,6 @@ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -35,7 +33,7 @@ "Framework :: Django :: 5.1", "Framework :: Django :: 5.2", ], - python_requires=">=3.8", + python_requires=">=3.10", install_requires=[ "Django>=4.2", "djangorestframework>=3.12.0",