Skip to content

Commit

Permalink
#27 Merge pull request from deshima-dev/astropenguin/issue25
Browse files Browse the repository at this point in the history
Support Python 3.12
  • Loading branch information
astropenguin authored Oct 16, 2023
2 parents 1ca818a + 847f229 commit 20b0712
Show file tree
Hide file tree
Showing 6 changed files with 240 additions and 145 deletions.
11 changes: 0 additions & 11 deletions .devcontainer/Dockerfile

This file was deleted.

11 changes: 5 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "dems",
"build": {
"context": "..",
"dockerfile": "Dockerfile"
},
"image":"python:3.12",
"onCreateCommand": "pip install poetry==1.6.1",
"postCreateCommand": "poetry install",
"containerEnv": {
"POETRY_VIRTUALENVS_CREATE": "false"
},
"customizations": {
"vscode": {
"extensions": [
Expand All @@ -17,10 +18,8 @@
"settings": {
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"python.formatting.provider": "black",
"python.languageServer": "Pylance",
"[python]": {
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 4
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- name: Publish package to PyPI
run: pip install poetry && poetry publish --build
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ["3.8", "3.9", "3.10", "3.11"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
Loading

0 comments on commit 20b0712

Please sign in to comment.