Skip to content

Commit

Permalink
Set min python version to 3.11 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljodal authored Apr 26, 2024
1 parent 4244ad1 commit 8dc2a6b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- black --check .
- flake8 .
- mypy .
python_version: ["3.10", "3.11"]
python_version: ["3.11", "3.12"]

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Set up Poetry
uses: snok/[email protected]
Expand All @@ -36,4 +36,4 @@ jobs:
run: poetry install

- name: Poetry publish
run: poetry publish --build
run: poetry publish --build
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
python_version: ["3.10"]
python_version: ["3.11", "3.12"]

name: Python ${{ matrix.python-version }}

Expand Down Expand Up @@ -38,4 +38,4 @@ jobs:
- name: Run test
run: |
poetry run pytest
poetry run pytest
39 changes: 2 additions & 37 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/kolonialno/django-api-decorator"
packages = [{include = "django_api_decorator"}]

[tool.poetry.dependencies]
python = "^3.10"
python = "^3.11"
Django = ">=3"
pydantic = "^2.0"

Expand Down

0 comments on commit 8dc2a6b

Please sign in to comment.