Skip to content

Commit

Permalink
Merge pull request #751 from ImperialCollegeLondon/python313
Browse files Browse the repository at this point in the history
Update to Python v3.13
  • Loading branch information
alexdewar authored Dec 19, 2024
2 parents 15cac7d + 6c89208 commit ab014ef
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ["3.12"]
python-version: ["3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
python-version: "3.12"
python-version: "3.13"

- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
python-version: "3.12"
python-version: "3.13"
- uses: ./.github/actions/build-win-exe

- name: Upload release artifacts
Expand Down
6 changes: 3 additions & 3 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 @@ -12,7 +12,7 @@ authors = [
]

[tool.poetry.dependencies]
python = ">=3.12,<3.13"
python = ">=3.13,<3.14"
PySide6 = "^6.8.1"
matplotlib = "^3.10.0"
platformdirs = "^4.2.2"
Expand Down Expand Up @@ -55,7 +55,7 @@ mkdocs-literate-nav = "^0.6.1"
mkdocs-section-index = "^0.3.9"

[tool.ruff]
target-version = "py311"
target-version = "py313"
lint.select = [
"D", # pydocstyle
"E", # pycodestyle
Expand Down
2 changes: 1 addition & 1 deletion tests/gui/measure_script/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ def runner_measuring(
@pytest.fixture
def run_dialog(
runner: ScriptRunner, subscribe_mock: MagicMock, qtbot: QtBot
) -> Generator[ScriptRunDialog, None, None]:
) -> Generator[ScriptRunDialog]:
"""Provides a ScriptRunDialog."""
yield ScriptRunDialog(runner)

0 comments on commit ab014ef

Please sign in to comment.