Skip to content

Commit 1df5d1c

Browse files
committed
Drop support for Python 3.9.
Python 3.9 has reached end of life. Update minimum Python version to 3.10 in pyproject.toml, CI configuration, and all documentation examples.
1 parent c50b5cf commit 1df5d1c

33 files changed

Lines changed: 56 additions & 55 deletions

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
42-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
42+
python-version: ['3.10', '3.11', '3.12', '3.13']
4343

4444
steps:
4545
- uses: actions/checkout@v5
@@ -63,7 +63,7 @@ jobs:
6363
uses: codecov/codecov-action@v5
6464

6565
- name: Run tests with lowest resolution
66-
if: matrix.python-version == '3.9' && matrix.os == 'ubuntu-latest'
66+
if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'
6767
run: just test-lowest
6868

6969
- name: Run tests with highest resolution

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ releases are available on [PyPI](https://pypi.org/project/pytask) and
99

1010
- {pull}`703` fixes {issue}`701` by allowing `--capture tee-sys` again.
1111
- {pull}`704` adds the `--explain` flag to show why tasks would be executed. Closes {issue}`466`.
12+
- {pull}`706` disables syntax highlighting for platform version information in session header.
13+
- {pull}`707` drops support for Python 3.9 as it has reached end of life.
1214

1315
## 0.5.5 - 2025-07-25
1416

docs/source/_static/md/capture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
$ pytask
66
────────────────────────── Start pytask session ─────────────────────────
7-
Platform: win32 -- Python <span style="color: var(--termynal-blue)">3.12.0</span>, pytask <span style="color: var(--termynal-blue)">0.5.3</span>, pluggy <span style="color: var(--termynal-blue)">1.3.0</span>
7+
Platform: win32 -- Python 3.12.0, pytask 0.5.3, pluggy 1.3.0
88
Root: C:\Users\pytask-dev\git\my_project
99
Collected 2 tasks.
1010

docs/source/_static/md/clean-dry-run-directories.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
$ pytask clean --directories
66
────────────────────────── Start pytask session ─────────────────────────
7-
Platform: win32 -- Python <span style="color: var(--termynal-blue)">3.12.0</span>, pytask <span style="color: var(--termynal-blue)">0.5.3</span>, pluggy <span style="color: var(--termynal-blue)">1.3.0</span>
7+
Platform: win32 -- Python 3.12.0, pytask 0.5.3, pluggy 1.3.0
88
Root: C:\Users\pytask-dev\git\my_project
99
Collected 1 task.
1010

docs/source/_static/md/clean-dry-run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
$ pytask clean
66
────────────────────────── Start pytask session ─────────────────────────
7-
Platform: win32 -- Python <span style="color: var(--termynal-blue)">3.12.0</span>, pytask <span style="color: var(--termynal-blue)">0.5.3</span>, pluggy <span style="color: var(--termynal-blue)">1.3.0</span>
7+
Platform: win32 -- Python 3.12.0, pytask 0.5.3, pluggy 1.3.0
88
Root: C:\Users\pytask-dev\git\my_project
99
Collected 1 task.
1010

docs/source/_static/md/collect-nodes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
$ pytask
66
────────────────────────── Start pytask session ─────────────────────────
7-
Platform: win32 -- Python <span style="color: var(--termynal-blue)">3.12.0</span>, pytask <span style="color: var(--termynal-blue)">0.5.3</span>, pluggy <span style="color: var(--termynal-blue)">1.3.0</span>
7+
Platform: win32 -- Python 3.12.0, pytask 0.5.3, pluggy 1.3.0
88
Root: C:\Users\pytask-dev\git\my_project
99
Collected 1 task.
1010

docs/source/_static/md/collect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
$ pytask
66
────────────────────────── Start pytask session ─────────────────────────
7-
Platform: win32 -- Python <span style="color: var(--termynal-blue)">3.12.0</span>, pytask <span style="color: var(--termynal-blue)">0.5.3</span>, pluggy <span style="color: var(--termynal-blue)">1.3.0</span>
7+
Platform: win32 -- Python 3.12.0, pytask 0.5.3, pluggy 1.3.0
88
Root: C:\Users\pytask-dev\git\my_project
99
Collected 1 task.
1010

docs/source/_static/md/defining-dependencies-products.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
$ pytask
66
────────────────────────── Start pytask session ─────────────────────────
7-
Platform: win32 -- Python <span style="color: var(--termynal-blue)">3.12.0</span>, pytask <span style="color: var(--termynal-blue)">0.5.3</span>, pluggy <span style="color: var(--termynal-blue)">1.3.0</span>
7+
Platform: win32 -- Python 3.12.0, pytask 0.5.3, pluggy 1.3.0
88
Root: C:\Users\pytask-dev\git\my_project
99
Collected 2 task.
1010

docs/source/_static/md/dry-run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
$ pytask --dry-run
66
────────────────────────── Start pytask session ─────────────────────────
7-
Platform: win32 -- Python <span style="color: var(--termynal-blue)">3.12.0</span>, pytask <span style="color: var(--termynal-blue)">0.5.3</span>, pluggy <span style="color: var(--termynal-blue)">1.3.0</span>
7+
Platform: win32 -- Python 3.12.0, pytask 0.5.3, pluggy 1.3.0
88
Root: C:\Users\pytask-dev\git\my_project
99
Collected 1 task.
1010

docs/source/_static/md/explain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
$ pytask --explain
66
────────────────────────── Start pytask session ─────────────────────────
7-
Platform: darwin -- Python <span style="color: var(--termynal-blue)">3.12.0</span>, pytask <span style="color: var(--termynal-blue)">0.5.6</span>, pluggy <span style="color: var(--termynal-blue)">1.6.0</span>
7+
Platform: darwin -- Python 3.12.0, pytask 0.5.6, pluggy 1.6.0
88
Root: /Users/pytask-dev/git/my_project
99
Collected 3 tasks.
1010

0 commit comments

Comments
 (0)