Skip to content

Commit

Permalink
chore: leave max python version open
Browse files Browse the repository at this point in the history
  • Loading branch information
hartungstenio committed Nov 19, 2023
1 parent beb1cf2 commit 9303977
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: debug-statements
- id: trailing-whitespace
Expand Down Expand Up @@ -28,7 +28,7 @@ repos:
types: [python]

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
args: ["--exclude=docs/*", "--ignore=E501"]
Expand All @@ -44,7 +44,7 @@ repos:
- id: python-check-mock-methods

- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.11.0
hooks:
- id: black

Expand All @@ -55,7 +55,7 @@ repos:
args: [--add-ignore=D1, -e]

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py38-plus]
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"]
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ 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"
requires-python = ">=3.8"
dependencies = ["aiobotocore>=2.0.0,<3.0.0"]

[project.urls]
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 9303977

Please sign in to comment.