From 2af113ed40ab81554fb0fb339a16ea6f99648ef8 Mon Sep 17 00:00:00 2001 From: Christopher Doris Date: Thu, 17 Jul 2025 14:56:38 +0100 Subject: [PATCH 1/2] Bump minimum supported Python version from 3.8 to 3.9 --- .github/workflows/tests.yml | 2 +- CondaPkg.toml | 2 +- README.md | 2 +- docs/src/index.md | 2 +- docs/src/releasenotes.md | 2 +- pyproject.toml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cff42ccd..677b70e7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -56,7 +56,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - pyversion: ["3", "3.8"] + pyversion: ["3", "3.9"] steps: - uses: actions/checkout@v4 diff --git a/CondaPkg.toml b/CondaPkg.toml index 7198e26e..de18b3c6 100644 --- a/CondaPkg.toml +++ b/CondaPkg.toml @@ -6,4 +6,4 @@ version = "<=julia" [deps.python] build = "**cpython**" -version = ">=3.8,<4" +version = ">=3.9,<4" diff --git a/README.md b/README.md index cec92a83..1b49cbf9 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Bringing [**Python®**](https://www.python.org/) and [**Julia**](https://juliala - Fast non-copying conversion of numeric arrays in either direction: modify Python arrays (e.g. `bytes`, `array.array`, `numpy.ndarray`) from Julia or Julia arrays from Python. - Helpful wrappers: interpret Python sequences, dictionaries, arrays, dataframes and IO streams as their Julia counterparts, and vice versa. - Beautiful stack-traces. -- Supports modern systems: tested on Windows, MacOS and Linux, 64-bit, Julia 1.9 upwards and Python 3.8 upwards. +- Supports modern systems: tested on Windows, MacOS and Linux, 64-bit, Julia 1.9 upwards and Python 3.9 upwards. ⭐ If you like this, a GitHub star would be lovely thank you. ⭐ diff --git a/docs/src/index.md b/docs/src/index.md index 42337d31..2dca5e6b 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -7,4 +7,4 @@ Bringing [**Python®**](https://www.python.org/) and [**Julia**](https://juliala - Fast non-copying conversion of numeric arrays in either direction: modify Python arrays (e.g. `bytes`, `array.array`, `numpy.ndarray`) from Julia or Julia arrays from Python. - Helpful wrappers: interpret Python sequences, dictionaries, arrays, dataframes and IO streams as their Julia counterparts, and vice versa. - Beautiful stack-traces. -- Works anywhere: tested on Windows, MacOS and Linux, 32- and 64-bit, Julia Julia 1.9 upwards and Python 3.8 upwards. +- Works anywhere: tested on Windows, MacOS and Linux, 32- and 64-bit, Julia Julia 1.9 upwards and Python 3.9 upwards. diff --git a/docs/src/releasenotes.md b/docs/src/releasenotes.md index 841ae268..428b9825 100644 --- a/docs/src/releasenotes.md +++ b/docs/src/releasenotes.md @@ -43,7 +43,7 @@ ## 0.9.20 (2024-05-01) * The IPython extension is now automatically loaded upon import if IPython is detected. * JuliaCall now compatible with Julia 1.10.3. -* Minimum supported Python version is now 3.8. +* Minimum supported Python version is now 3.9. ## 0.9.19 (2024-03-19) * Bug fixes. diff --git a/pyproject.toml b/pyproject.toml index 8d5fd72c..a2bd772a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ] -requires-python = ">=3.8, <4" +requires-python = ">=3.9, <4" dependencies = ["juliapkg >=0.1.17, <0.2"] [dependency-groups] From 0520d83f0ad110a939b012d3ad797c5d485c1daa Mon Sep 17 00:00:00 2001 From: Christopher Doris Date: Thu, 17 Jul 2025 14:59:45 +0100 Subject: [PATCH 2/2] Fix release notes: add new entry for Python 3.9 minimum instead of modifying old one --- docs/src/releasenotes.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/releasenotes.md b/docs/src/releasenotes.md index 428b9825..150879ce 100644 --- a/docs/src/releasenotes.md +++ b/docs/src/releasenotes.md @@ -2,6 +2,7 @@ ## Unreleased * Internal: Use heap-allocated types (PyType_FromSpec) to improve ABI compatibility. +* Minimum supported Python version is now 3.9. ## 0.9.26 (2025-07-15) * Added PySide6 support to the GUI compatibility layer. @@ -43,7 +44,7 @@ ## 0.9.20 (2024-05-01) * The IPython extension is now automatically loaded upon import if IPython is detected. * JuliaCall now compatible with Julia 1.10.3. -* Minimum supported Python version is now 3.9. +* Minimum supported Python version is now 3.8. ## 0.9.19 (2024-03-19) * Bug fixes.