Skip to content

Commit

Permalink
Fix PyJulia on Julia 1.9 (#523)
Browse files Browse the repository at this point in the history
* Correct CLI parsing for Julia 1.9 to fix #522

* Bump min Julia version to 1.4
  • Loading branch information
MilesCranmer authored Feb 27, 2023
1 parent 1e3de7b commit 28449f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- '3.9'
- '3.10'
julia-version:
- '1.0'
- '1.4'
- '1.6'
- '1.7'
- '1.8'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PyJulia
[![Main workflow](https://github.com/JuliaPy/pyjulia/workflows/Main%20workflow/badge.svg)](https://github.com/JuliaPy/pyjulia/actions?query=workflow%3A%22Main+workflow%22)
[![DOI](https://zenodo.org/badge/14576985.svg)](https://zenodo.org/badge/latestdoi/14576985)

Experimenting with developing a better interface to [Julia language](https://julialang.org/) that works with [Python](https://www.python.org/) 2 & 3 and Julia v1.0+.
Experimenting with developing a better interface to [Julia language](https://julialang.org/) that works with [Python](https://www.python.org/) 3 and Julia v1.4+.

Quick usage
-----------
Expand Down
2 changes: 1 addition & 1 deletion src/julia/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def install(julia="julia", color="auto", python=None, quiet=False):

OP = "build" if python else "install"
install_cmd = julia_cmd + [
os.path.join(os.path.dirname(os.path.realpath(__file__)), "install.jl"),
"--",
os.path.join(os.path.dirname(os.path.realpath(__file__)), "install.jl"),
OP,
python or sys.executable,
libpython,
Expand Down

0 comments on commit 28449f7

Please sign in to comment.