Skip to content

Commit

Permalink
Require minimum Python version v3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
pronovic committed Jan 17, 2024
1 parent a2d5897 commit 4237971
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
secrets: inherit
with:
matrix-os-version: "[ 'ubuntu-latest' ]"
matrix-python-version: "[ '3.9', '3.10', '3.11', '3.12' ]"
matrix-python-version: "[ '3.10', '3.11', '3.12' ]"
poetry-version: "1.7.0"
release:
name: "Release"
Expand All @@ -28,6 +28,6 @@ jobs:
needs: [ linux-build-and-test ]
secrets: inherit
with:
python-version: "3.9"
python-version: "3.10"
poetry-version: "1.7.0"
publish-pypi: false
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Version 0.7.4 unreleased

* Require minimum Python version v3.10.
* Update jinja2 to address CVE-2024-22195 from Dependabot.
* Update dependencies and fix new MyPy warning about covariance.

Expand Down
6 changes: 2 additions & 4 deletions poetry.lock

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

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ format-jinja = "{% if distance == 0 and not dirty %}{{ base }}{% else %}{{ base
vplan = "vplan.client.cli:vplan"

[tool.poetry.dependencies]
python = ">=3.9,<4"
python = ">=3.10,<4"
fastapi = "~0, >=0.103.2"
uvicorn = "~0, >=0.23.2"
pydantic-yaml = "~0, >=0.11.2"
Expand Down Expand Up @@ -77,7 +77,7 @@ types-waitress = "^2.1.4.9"

[tool.black]
line-length = 132
target-version = ['py39', 'py310', 'py311', 'py312' ]
target-version = ['py310', 'py311', 'py312' ]
include = '(src\/scripts\/.*$|\.pyi?$)'
exclude = '''
/(
Expand Down

0 comments on commit 4237971

Please sign in to comment.