Skip to content

Commit

Permalink
Merge pull request #122 from browniebroke/remove/eol-django-python-ve…
Browse files Browse the repository at this point in the history
…rsions

Drop support for EOL Python 3.8 & Django <4.2
  • Loading branch information
nijave authored Dec 11, 2024
2 parents fa9d1c5 + d2b9961 commit 2cb8486
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion demo/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
django>=2.2.13,<5.0.0
django>=3.2,<5.2
django-extensions==2.1.6
django-oauth-toolkit==1.1.2
django-scim2 # not pinning, should always work with latest release
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
django>=2.2.13,<5.2
django>=4.2,<5.2
django-scim2 # not pinning, should always work with latest release
Sphinx>=8,<9
sphinx-rtd-theme
34 changes: 2 additions & 32 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -32,9 +31,9 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.8"
python = ">=3.9"
scim2-filter-parser = ">=0.5.0"
django = ">=3.2"
django = ">=4.2"

[tool.poetry.dev-dependencies]
mock = "^4.0.2"
Expand Down
9 changes: 1 addition & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
[tox]
isolated_build = True
envlist =
py{38,39,310,311}-django{32}
py{38,39,310,311}-django{40,41}
py{38,39,310,311,312}-django{42}
py{39,310,311,312}-django{42}
py{310,311,312}-django{50}
py{310,311,312,313}-django{51}
flake8
coverage

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
Expand All @@ -23,17 +20,13 @@ setenv =
PYTHONDONTWRITEBYTECODE=1
DJANGO_SETTINGS_MODULE=tests.settings
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
.package: python3
deps =
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<5.0
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
Expand Down

0 comments on commit 2cb8486

Please sign in to comment.