Skip to content

Commit

Permalink
chore: move to Python 3.11 (DEV-2524) #461
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Aug 9, 2023
1 parent 7228e84 commit 74a93e5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 88 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Expand Up @@ -19,10 +19,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
- name: Install dependencies
run: |
curl -sSL https://install.python-poetry.org | python3 -
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-on-push.yml
Expand Up @@ -26,10 +26,10 @@ jobs:
curl -sSL https://install.python-poetry.org | python3 -
poetry self add poetry-exec-plugin
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
# attempt to restore dependencies from cache (if successful, the following `poetry install` will be a no-op)
cache: poetry

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -8,7 +8,7 @@ repos:
# It is recommended to specify the latest version of Python supported by your project here,
# or alternatively use pre-commit's default_language_version,
# see https://pre-commit.com/#top_level-default_language_version
language_version: python3.9
language_version: python3.11

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
Expand Down
86 changes: 4 additions & 82 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
Expand Up @@ -23,7 +23,7 @@ exclude = ["src/dsp_tools/import_scripts/*"]


[tool.poetry.dependencies]
python = "^3.9"
python = "^3.11"
jsonpath-ng = "^1.5.3"
argparse = "^1.4.0"
lxml = "^4.9.2"
Expand Down

0 comments on commit 74a93e5

Please sign in to comment.