Skip to content

fix(deps): require JuliaCall 0.9.36 and remove workaround - #1380

Merged
MilesCranmer merged 1 commit into
astroautomata:masterfrom
MilesCranmerBot:deps/juliacall-0936
Sep 20, 2026
Merged

MilesCranmer merged 1 commit into
astroautomata:masterfrom
MilesCranmerBot:deps/juliacall-0936

Conversation

@MilesCranmerBot

Copy link
Copy Markdown
Contributor

Why

JuliaCall 0.9.36 includes the interpreter propagation correction and PythonCall Windows initialization fix from JuliaPy/PythonCall.jl#814 and JuliaPy/PythonCall.jl#820.

Scope

  • Require juliacall>=0.9.36,<0.9.37.
  • Remove the JuliaCall 0.9.35 executable-environment workaround and its unused metadata import.
  • Preserve all tests, assertions, and platform workflows.

Verification

The unchanged test_juliacall_0935_distributed_worker_uses_current_python passed both import orders on macOS with Python 3.14, Julia 1.13.0, and released PythonCall 0.9.36. Run with:

uv run --isolated --with pytest --with nbval python -m unittest -v pysr.test.test_startup.TestStartup.test_juliacall_0935_distributed_worker_uses_current_python

Result: Ran 1 test in 70.606s, OK. Pre-commit checks passed. Windows and Linux validation will run through the existing PR workflows.

Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
@MilesCranmer
MilesCranmer enabled auto-merge (squash) September 20, 2026 19:15
@codecov

codecov Bot commented Sep 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@MilesCranmer
MilesCranmer merged commit 51aea3e into astroautomata:master Sep 20, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants