Skip to content

Commit 99eef8b

Browse files
Merge pull request #535 from robbievanleeuwen/dependency/python-3.13
Support python 3.13
2 parents a48a1c7 + e501f50 commit 99eef8b

File tree

9 files changed

+840
-501
lines changed

9 files changed

+840
-501
lines changed

Diff for: .github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
UV_VERSION: 0.6.4
12-
DEFAULT_PYTHON_VERSION: '3.12'
12+
DEFAULT_PYTHON_VERSION: '3.13'
1313

1414
concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
@@ -71,15 +71,19 @@ jobs:
7171
fail-fast: false
7272
matrix:
7373
include:
74+
- {python: '3.13', os: ubuntu-latest, session: tests}
7475
- {python: '3.12', os: ubuntu-latest, session: tests}
7576
- {python: '3.11', os: ubuntu-latest, session: tests}
77+
- {python: '3.13', os: windows-latest, session: tests}
7678
- {python: '3.12', os: windows-latest, session: tests}
7779
- {python: '3.11', os: windows-latest, session: tests}
80+
- {python: '3.13', os: macos-latest, session: tests}
7881
- {python: '3.12', os: macos-latest, session: tests}
7982
- {python: '3.11', os: macos-latest, session: tests}
83+
- {python: '3.13', os: macos-13, session: tests}
8084
- {python: '3.12', os: macos-13, session: tests}
8185
- {python: '3.11', os: macos-13, session: tests}
82-
- {python: '3.12', os: ubuntu-latest, session: tests-extended}
86+
- {python: '3.13', os: ubuntu-latest, session: tests-extended}
8387

8488
steps:
8589
- name: Check out the repo

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
UV_VERSION: 0.6.4
10-
DEFAULT_PYTHON_VERSION: '3.12'
10+
DEFAULT_PYTHON_VERSION: '3.13'
1111

1212
jobs:
1313
release:

Diff for: .python-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12
1+
3.13

Diff for: .readthedocs.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ build:
88
- asdf plugin add uv
99
- asdf install uv latest
1010
- asdf global uv latest
11-
- uv python install 3.12
12-
- uv sync -p 3.12 --frozen --extra rhino --extra dxf --no-group dev --no-group lint --no-group test
13-
- uv run -p 3.12 --no-sync -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
11+
- uv python install 3.13
12+
- uv sync -p 3.13 --frozen --extra rhino --extra dxf --no-group dev --no-group lint --no-group test
13+
- uv run -p 3.13 --no-sync -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html

Diff for: CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Installation instructions for other methods and Windows can be found [here](http
4545
`uv` can then be used to install the latest compatible version of python:
4646

4747
```shell
48-
uv python install 3.12
48+
uv python install 3.13
4949
```
5050

5151
`sectionproperties` and it's development dependencies can be installed with:

Diff for: docs/contributing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Installation instructions for other methods and Windows can be found
5555

5656
.. code:: shell
5757
58-
uv python install 3.12
58+
uv python install 3.13
5959
6060
``sectionproperties`` and it's development dependencies can be installed with:
6161

Diff for: docs/installation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Installation
44
============
55

66
These instructions will get you a copy of ``sectionproperties`` up and running on your
7-
machine. You will need a working copy of python 3.11 or 3.12 to get started.
7+
machine. You will need a working copy of python 3.11, 3.12 or 3.13 to get started.
88

99
Installing ``sectionproperties``
1010
--------------------------------

Diff for: pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ classifiers = [
2525
"Natural Language :: English",
2626
"Programming Language :: Python :: 3.11",
2727
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
2829
]
29-
requires-python = ">=3.11,<3.13"
30+
requires-python = ">=3.11,<3.14"
3031
dependencies = [
3132
"numpy>=1.26.4",
3233
"scipy>=1.14.1",

Diff for: uv.lock

+824-490
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)