Skip to content

Commit a9a1f4e

Browse files
Merge pull request #464 from robbievanleeuwen/chore/update-deps
Remove python 3.9, update core dependencies, build docs on 3.12
2 parents b78dc2c + 459fd09 commit a9a1f4e

File tree

13 files changed

+266
-281
lines changed

13 files changed

+266
-281
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: "3.11"
21+
python-version: "3.12"
2222

2323
- name: Upgrade pip
2424
run: |

.github/workflows/tests.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,19 @@ jobs:
2020
- { python: "3.12", os: "ubuntu-latest", session: "mypy" }
2121
- { python: "3.11", os: "ubuntu-latest", session: "mypy" }
2222
- { python: "3.10", os: "ubuntu-latest", session: "mypy" }
23-
- { python: "3.9", os: "ubuntu-latest", session: "mypy" }
2423
- { python: "3.12", os: "ubuntu-latest", session: "tests" }
2524
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
2625
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
27-
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
2826
- { python: "3.12", os: "windows-latest", session: "tests" }
2927
- { python: "3.11", os: "windows-latest", session: "tests" }
3028
- { python: "3.10", os: "windows-latest", session: "tests" }
31-
- { python: "3.9", os: "windows-latest", session: "tests" }
3229
- { python: "3.12", os: "macos-latest", session: "tests" }
3330
- { python: "3.11", os: "macos-latest", session: "tests" }
3431
- { python: "3.10", os: "macos-latest", session: "tests" }
35-
- { python: "3.9", os: "macos-latest", session: "tests" }
3632
- { python: "3.12", os: "macos-13", session: "tests" }
3733
- { python: "3.11", os: "macos-13", session: "tests" }
3834
- { python: "3.10", os: "macos-13", session: "tests" }
39-
- { python: "3.9", os: "macos-13", session: "tests" }
40-
- { python: "3.10", os: "ubuntu-latest", session: "docs-build" }
35+
- { python: "3.12", os: "ubuntu-latest", session: "docs-build" }
4136

4237
env:
4338
NOXSESSION: ${{ matrix.session }}

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 2
55
build:
66
os: ubuntu-22.04
77
tools:
8-
python: "3.10"
8+
python: "3.12"
99

1010
# Build documentation in the docs/ directory with Sphinx
1111
sphinx:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ duplication of work, and allows for feedback on your ideas.
4040

4141
## How to set up your development environment
4242

43-
You need Python 3.9, 3.10, 3.11 or 3.12, and the following tools:
43+
You need Python 3.10, 3.11 or 3.12, and the following tools:
4444

4545
- [Poetry]
4646
- [Nox]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright © 2023 Robbie van Leeuwen
3+
Copyright © 2024 Robbie van Leeuwen
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# project information
44
project = "sectionproperties"
55
author = "Robbie van Leeuwen"
6-
copyright = "2023, Robbie van Leeuwen"
6+
copyright = "2024, Robbie van Leeuwen"
77

88
# sphinx config
99
templates_path = ["_templates"]

docs/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ on your ideas.
4949
How to set up your development environment
5050
------------------------------------------
5151

52-
You need Python 3.9, 3.10, 3.11 or 3.12, and the following tools:
52+
You need Python 3.10, 3.11 or 3.12, and the following tools:
5353

5454
- `Poetry <https://python-poetry.org/>`__
5555
- `Nox <https://nox.thea.codes/>`__

docs/installation.rst

Lines changed: 1 addition & 1 deletion
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.9, 3.10, 3.11 or 3.12 to get started.
7+
machine. You will need a working copy of python 3.10, 3.11 or 3.12 to get started.
88

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

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
furo==2024.8.6
22
ipykernel==6.29.5
3-
ipython==8.18.1
3+
ipython==8.28.0
44
nbconvert==7.16.4
55
nbsphinx==0.9.5
66
sphinx==8.0.2

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
package = "sectionproperties"
26-
python_versions = ["3.12", "3.11", "3.10", "3.9"]
26+
python_versions = ["3.12", "3.11", "3.10"]
2727
nox.needs_version = ">= 2021.6.6"
2828
nox.options.sessions = (
2929
"pre-commit",
@@ -207,7 +207,7 @@ def coverage(session: Session) -> None:
207207
session.run("coverage", *args)
208208

209209

210-
@session(name="docs-build", python=python_versions[2])
210+
@session(name="docs-build", python=python_versions[0])
211211
def docs_build(session: Session) -> None:
212212
"""Build the documentation.
213213
@@ -246,7 +246,7 @@ def docs_build(session: Session) -> None:
246246
session.run("sphinx-build", *args)
247247

248248

249-
@session(python=python_versions[2])
249+
@session(python=python_versions[0])
250250
def docs(session: Session) -> None:
251251
"""Build and serve the documentation with live reloading on file changes.
252252

0 commit comments

Comments
 (0)