Skip to content

Commit

Permalink
Removes support for python 3.8/3.9, adds 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysyngsun committed Feb 25, 2025
1 parent d51660a commit 1e025de
Show file tree
Hide file tree
Showing 35 changed files with 584 additions and 311 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ on: [push, workflow_dispatch]

jobs:
tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
# - "3.12"
- "3.12"
- "3.13"

# Service containers to run
services:
Expand Down Expand Up @@ -65,7 +64,7 @@ jobs:

release:
needs: tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"filename": ".github/workflows/ci.yml",
"hashed_secret": "afc848c316af1a89d49826c5ae9d00ed769415f3",
"is_verified": false,
"line_number": 22
"line_number": 21
}
],
"docker-compose.yml": [
Expand Down Expand Up @@ -319,5 +319,5 @@
}
]
},
"generated_at": "2025-02-19T14:11:34Z"
"generated_at": "2025-02-24T22:47:23Z"
}
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dev-dependencies = [
"django-stubs[compatible-mypy]",
"factory-boy~=3.2",
"faker>=4.17.1",
"freezegun==1.0.0",
"freezegun>=1.5.1",
"ipdb",
"mypy",
"mypy-extensions",
Expand All @@ -66,6 +66,9 @@ allow-direct-references = true
[tool.uv.workspace]
members = ["src/*"]

[tool.uv.pip]
no-binary = ["lxml"]

[tool.uv.sources]
mitol-django-common = { workspace = true }
mitol-django-mail = { workspace = true }
Expand Down
4 changes: 3 additions & 1 deletion scripts/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ def list_apps() -> List[Path]: # noqa: FA100
return sorted(
dir_path
for dir_path in get_source_dir().iterdir()
if dir_path.is_dir() and (dir_path / "pyproject.toml").exists()
if dir_path.is_dir()
and (dir_path / "pyproject.toml").exists()
and dir_path.stem != "uvtestapp"
)


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!--
a new scriv changelog fragment.
uncomment the section that is right (remove the html comment wrapper).
-->

### removed

- support for python 3.8 and 3.9.

### added

- support for python 3.13

<!--
### changed
- a bullet item for the changed category.
-->
<!--
### deprecated
- a bullet item for the deprecated category.
-->
<!--
### fixed
- a bullet item for the fixed category.
-->
<!--
### security
- a bullet item for the security category.
-->
2 changes: 1 addition & 1 deletion src/authentication/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies = [
]
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.8"
requires-python = ">=3.10"

[tool.bumpver]
current_version = "2025.2.12"
Expand Down
38 changes: 38 additions & 0 deletions src/common/changelog.d/20250224_175200_nlevesq_drop_py38_py39.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!--
a new scriv changelog fragment.
uncomment the section that is right (remove the html comment wrapper).
-->

### removed

- support for python 3.8 and 3.9.

### added

- support for python 3.13

<!--
### changed
- a bullet item for the changed category.
-->
<!--
### deprecated
- a bullet item for the deprecated category.
-->
<!--
### fixed
- a bullet item for the fixed category.
-->
<!--
### security
- a bullet item for the security category.
-->
2 changes: 1 addition & 1 deletion src/common/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies = [
]
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.8"
requires-python = ">=3.10"

[tool.bumpver]
current_version = "2023.12.19"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!--
a new scriv changelog fragment.
uncomment the section that is right (remove the html comment wrapper).
-->

### removed

- support for python 3.8 and 3.9.

### added

- support for python 3.13

<!--
### changed
- a bullet item for the changed category.
-->
<!--
### deprecated
- a bullet item for the deprecated category.
-->
<!--
### fixed
- a bullet item for the fixed category.
-->
<!--
### security
- a bullet item for the security category.
-->
2 changes: 1 addition & 1 deletion src/digitalcredentials/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
]
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.8"
requires-python = ">=3.10"

[tool.bumpver]
current_version = "2023.12.19"
Expand Down
38 changes: 38 additions & 0 deletions src/geoip/changelog.d/20250224_175219_nlevesq_drop_py38_py39.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!--
a new scriv changelog fragment.
uncomment the section that is right (remove the html comment wrapper).
-->

### removed

- support for python 3.8 and 3.9.

### added

- support for python 3.13

<!--
### changed
- a bullet item for the changed category.
-->
<!--
### deprecated
- a bullet item for the deprecated category.
-->
<!--
### fixed
- a bullet item for the fixed category.
-->
<!--
### security
- a bullet item for the security category.
-->
2 changes: 1 addition & 1 deletion src/geoip/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies = [
]
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.8"
requires-python = ">=3.10"

[tool.bumpver]
current_version = "2024.11.5"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!--
a new scriv changelog fragment.
uncomment the section that is right (remove the html comment wrapper).
-->

### removed

- support for python 3.8 and 3.9.

### added

- support for python 3.13

<!--
### changed
- a bullet item for the changed category.
-->
<!--
### deprecated
- a bullet item for the deprecated category.
-->
<!--
### fixed
- a bullet item for the fixed category.
-->
<!--
### security
- a bullet item for the security category.
-->
2 changes: 1 addition & 1 deletion src/google_sheets/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies = [
]
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.8"
requires-python = ">=3.10"

[tool.bumpver]
current_version = "2025.2.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!--
a new scriv changelog fragment.
uncomment the section that is right (remove the html comment wrapper).
-->

### removed

- support for python 3.8 and 3.9.

### added

- support for python 3.13

<!--
### changed
- a bullet item for the changed category.
-->
<!--
### deprecated
- a bullet item for the deprecated category.
-->
<!--
### fixed
- a bullet item for the fixed category.
-->
<!--
### security
- a bullet item for the security category.
-->
2 changes: 1 addition & 1 deletion src/google_sheets_deferrals/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies = [
]
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.8"
requires-python = ">=3.10"

[tool.bumpver]
current_version = "2025.2.3"
Expand Down
Loading

0 comments on commit 1e025de

Please sign in to comment.