JuliaPy / JuliaPy/pyjuliapkg

Empty compat intersection after Julia v1.12 upgrade (OpenSSL_jll)

Open
#75 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
67
Forks
24
PR merge metrics
No merged PRs in 30d

Description

We've tried upgrading one of our tools to Julia `v1.12.1` resulting in the following error when using `juliacall`:

```console
Exception: 'julia' compat entries have empty intersection:
- '^1' at project_folder/.venv/lib/python3.13/site-packages/juliapkg/juliapkg.json
- '1.0.0 - 1.11' at project_folder/.venv/lib/python3.13/site-packages/juliacall/juliapkg.json (OpenSSL_jll)
- '~1.9, ^1.10.3' at project_folder/.venv/lib/python3.13/site-packages/juliacall/juliapkg.json
- '=1.12.1' at project_folder/juliapkg.json
```

This seems to trace back to the "dynamic" version specifier used in `juliacall` for `OpenSSL_jll`, which is - if I understand it correctly - resolved in `juliapkg`:

```json
"version": "<=python"
```

Changing this, e.g. for Python `3.13`, to `3.5.1` "fixes" this.

Can we change/rework this "version lookup" (not sure how it works internally) to improve the usability for Julia versions that clash with the `1.0.0 - 1.11` constraint?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.