Christopher Rowley
Christopher Rowley
Allow deps to be specified in a `juliapkg.toml` file in addition to `juliapkg.json`. Default to writing to the TOML file unless the JSON file already exists.
Defines an `unsafe_convert` rule for `Py` to `C.PyPtr` so we can pass `Py` directly to C functions. Also defines `incref(::Py)` so we don't have to operate on pointers. Generalises our...
refactor
Refactoring the codebase, which has got a bit out of hand. - [x] move all internal code into new `Internals` submodule - [x] all exported/public symbols defined in `src/API/API.jl` -...
Intermittent CI failures: Fatal Python error: _Py_CheckRecursiveCall: Unrecoverable stack overflow
We have started to see intermittent failures in CI like this one: https://github.com/JuliaPy/PythonCall.jl/actions/runs/18520695490/job/52779794536 Observed on: - Julia 1.9 and 1.12 - Mac and Linux - Python 3.14 Suspiciously started soon...
## Summary - replace pyconvert rule priorities with scoped rules and strict subclass ordering - update built-in, wrapper, numpy, ctypes, and pandas conversions to use the new API - refresh...
The changes that will eventually become v1. Only breaking changes on this branch, everything else should go on main. Don't merge directly to here, make PRs. See releasenotes.md for changes.
The benchmarks in CI fail every time now. Example: https://github.com/JuliaPy/PythonCall.jl/actions/runs/19360980161/job/55392621221?pr=716 The error is something about a commit not existing. @MilesCranmer any idea what the fix is?
I propose that when PythonCall is being precompiled, we do not load/initialise libpython. Instead, have shims for the C functions that we use which raise an error or do something...
Attempt at fixing #694 by removing some functions from extras.jl that can be replaced by ones from the CPython Stable ABI. This is good practice anyway. Closes #694.
# The Problem Currently none of our API touches the GIL, except for the explicit GIL handling in `PythonCall.GIL`. This means that users must ensure that all API functions are...