Skip to content

Commit

Permalink
Explicitly support Python 3.12 (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasqueX authored Jul 25, 2024
1 parent a362c06 commit 71161a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- name: Checkout git repository 🕝
uses: actions/checkout@v4

- name: Set up Python 3.11 🐍
- name: Set up Python 3.12 🐍
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Install poetry 🦄
uses: Gr1N/setup-poetry@v9
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
promttoolkit: [3.*, 2.*]
include:
- promttoolkit: 3.0.29
Expand Down Expand Up @@ -117,10 +117,10 @@ jobs:
- name: Checkout git repository 🕝
uses: actions/checkout@v4

- name: Set up Python 3.11 🐍
- name: Set up Python 3.12 🐍
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Install poetry 🦄
uses: Gr1N/setup-poetry@v9
Expand Down Expand Up @@ -150,10 +150,10 @@ jobs:
- name: Checkout git repository 🕝
uses: actions/checkout@v4

- name: Set up Python 3.11 🐍
- name: Set up Python 3.12 🐍
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Install poetry 🦄
uses: Gr1N/setup-poetry@v9
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311"]
target-version = ["py38", "py39", "py310", "py311", "py312"]
exclude = "((.eggs | .git | .pytype | .pytest_cache | build | dist))"

[tool.poetry]
Expand All @@ -25,6 +25,7 @@ classifiers=[
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
]
keywords = [ "cli", "ui", "inquirer", "questions", "prompt",]
Expand Down

0 comments on commit 71161a7

Please sign in to comment.