Skip to content

Commit e6dba51

Browse files
authored
Housekeeping (#696)
* require python 3.10 * require julia 1.10 * document the julia/python version support policy * update release notes * document that multi-threading support is experimental * add conda install instructions --------- Co-authored-by: Christopher Doris <github.com/cjdoris>
1 parent ee54574 commit e6dba51

File tree

14 files changed

+55
-11
lines changed

14 files changed

+55
-11
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
matrix:
2020
arch: [x64] # x86 unsupported by MicroMamba
2121
os: [ubuntu-latest, windows-latest, macos-latest]
22-
jlversion: ['1','1.9']
22+
jlversion: ['1','1.10']
2323
pythonexe: ['@CondaPkg']
2424
include:
2525
- arch: x64
@@ -66,7 +66,7 @@ jobs:
6666
fail-fast: false
6767
matrix:
6868
os: [ubuntu-latest, windows-latest, macos-latest]
69-
pyversion: ["3", "3.9"]
69+
pyversion: ["3", "3.10"]
7070
juliaexe: ["@JuliaPkg"]
7171
include:
7272
- os: ubuntu-latest

CondaPkg.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version = "<=julia"
1010

1111
[deps.python]
1212
build = "**cpython**"
13-
version = ">=3.9,<4"
13+
version = ">=3.10,<4"
1414

1515
[dev.deps]
1616
matplotlib = ""

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Tables = "1"
2929
Test = "1"
3030
TestItemRunner = "0 - 999"
3131
UnsafePointers = "1"
32-
julia = "1.9"
32+
julia = "1.10"
3333

3434
[extensions]
3535
PyCallExt = "PyCall"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Bringing [**Python®**](https://www.python.org/) and [**Julia**](https://juliala
1414
- 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.
1515
- Helpful wrappers: interpret Python sequences, dictionaries, arrays, dataframes and IO streams as their Julia counterparts, and vice versa.
1616
- Beautiful stack-traces.
17-
- Supports modern systems: tested on Windows, MacOS and Linux, 64-bit, Julia 1.9 upwards and Python 3.9 upwards.
17+
- Supports modern systems: tested on Windows, MacOS and Linux, 64-bit, Julia 1.10 upwards and Python 3.10 upwards.
1818

1919
⭐ If you like this, a GitHub star would be lovely thank you. ⭐
2020

docs/src/faq.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,11 @@ using PythonCall
108108

109109
np = pyimport("numpy")
110110
```
111+
112+
## What versions of Python and Julia do you support?
113+
114+
Each release of PythonCall and JuliaCall will support and require:
115+
- Any currently supported version of Python, [see here](https://devguide.python.org/versions/). Currently 3.10+.
116+
- The current Julia LTS version and newer, [see here](https://julialang.org/downloads/#long_term_support_release). Currently 1.10+.
117+
118+
Only the latest patch release within each minor version is supported.

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Bringing [**Python®**](https://www.python.org/) and [**Julia**](https://juliala
77
- 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.
88
- Helpful wrappers: interpret Python sequences, dictionaries, arrays, dataframes and IO streams as their Julia counterparts, and vice versa.
99
- Beautiful stack-traces.
10-
- Works anywhere: tested on Windows, MacOS and Linux, 32- and 64-bit, Julia Julia 1.9 upwards and Python 3.9 upwards.
10+
- Works anywhere: tested on Windows, MacOS and Linux, 32- and 64-bit, Julia Julia 1.10 upwards and Python 3.10 upwards.

docs/src/juliacall.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ It's as simple as
77
pip install juliacall
88
```
99

10+
If you prefer Conda, there is a community effort to also release this on conda-forge:
11+
```bash
12+
conda install conda-forge::pyjuliapkg
13+
```
14+
1015
Developers may wish to clone the repo (https://github.com/JuliaPy/PythonCall.jl) directly
1116
and pip install the module in editable mode. You should add `"dev":true, "path":"../.."` to
1217
`pysrc/juliacall/juliapkg.json` to ensure you use the development version of PythonCall
@@ -140,6 +145,10 @@ be configured in two ways:
140145

141146
## [Multi-threading](@id py-multi-threading)
142147

148+
!!! warning
149+
150+
Multi-threading support is experimental and can change without notice.
151+
143152
From v0.9.22, JuliaCall supports multi-threading in Julia and/or Python, with some
144153
caveats.
145154

docs/src/pythoncall.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,10 @@ See [Installing Python packages](@ref python-deps).
415415

416416
## [Multi-threading](@id jl-multi-threading)
417417

418+
!!! warning
419+
420+
Multi-threading support is experimental and can change without notice.
421+
418422
From v0.9.22, PythonCall supports multi-threading in Julia and/or Python, with some
419423
caveats.
420424

docs/src/releasenotes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Release Notes
22

33
## Unreleased
4+
* Minimum supported Python version is now 3.10.
5+
* Minimum supported Julia version is now 1.10.
46
* Showing `Py` now respects the `compact` option - output is limited to a single line of
57
at most the display width.
8+
* Support policy now documented in the FAQ.
69
* Bug fixes.
710

811
## 0.9.28 (2025-09-17)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ classifiers = [
1212
"License :: OSI Approved :: MIT License",
1313
"Operating System :: OS Independent",
1414
]
15-
requires-python = ">=3.9, <4"
15+
requires-python = ">=3.10, <4"
1616
dependencies = ["juliapkg >=0.1.21, <0.2"]
1717

1818
[dependency-groups]

0 commit comments

Comments
 (0)