Skip to content

Commit

Permalink
chore: add support for python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
hartungstenio committed Oct 3, 2023
1 parent b51a1d2 commit 55ce20c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "loafer",
"image": "mcr.microsoft.com/devcontainers/python:0-3.11",
"image": "mcr.microsoft.com/devcontainers/python:0-3.12",
"features": {
"ghcr.io/devcontainers-contrib/features/hatch:2": {},
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"

- name: Run linters
run: |
Expand All @@ -50,7 +50,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ UNRELEASED
* refactor: remove ConfigurationError exception
* refactor: remove concurrency limit param
* refactor: remove max threads param
* chore: add support for Python 3.12

4.0.0 (2023-07-10)
------------------
Expand Down
2 changes: 1 addition & 1 deletion hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ check-fixtures = "pytest --dead-fixtures"
test = "pytest -vv --cov=loafer --cov-report=term-missing"

[[envs.test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11"]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Distributed Computing",
]
requires-python = ">=3.8,<3.12"
Expand All @@ -33,7 +34,7 @@ Repository = "https://github.com/olist/olist-loafer/"

[tool.black]
line-length = 110
target-version = ["py38", "py39", "py310", "py311"]
target-version = ["py38", "py39", "py310", "py311", "py312"]

[tool.isort]
profile = "black"
Expand Down

0 comments on commit 55ce20c

Please sign in to comment.