Skip to content

Commit

Permalink
Bump juliacall from 0.9.15 to 0.9.19 (#569)
Browse files Browse the repository at this point in the history
* Bump juliacall from 0.9.15 to 0.9.16

Bumps [juliacall](https://github.com/JuliaPy/PythonCall.jl) from 0.9.15 to 0.9.16.
- [Release notes](https://github.com/JuliaPy/PythonCall.jl/releases)
- [Commits](JuliaPy/PythonCall.jl@v0.9.15...v0.9.16)

---
updated-dependencies:
- dependency-name: juliacall
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove `seval` overwrite

* Bump to juliacall 0.9.17

* Better range of Julia versions

* Fix Julia versions

* Bump juliacall version to 0.9.18

* Bump juliacall version to 0.9.19

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
  • Loading branch information
dependabot[bot] and MilesCranmer authored Mar 20, 2024
1 parent 046ac10 commit 0234b14
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
11 changes: 0 additions & 11 deletions pysr/julia_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,6 @@

from juliacall import Main as jl # type: ignore

# Overwrite the seval function to use Meta.parseall
# instead of Meta.parse.
jl.seval("using PythonCall: PythonCall, Py, pyconvert")
jl.seval(
"""function PythonCall.pyjlmodule_seval(self::Module, expr::Py)
e = Meta.parseall(strip(pyconvert(String, expr)))
Py(Base.eval(self, e))
end"""
)
# ^TODO: Overwrite this once PythonCall.jl is updated:

jl_version = (jl.VERSION.major, jl.VERSION.minor, jl.VERSION.patch)

# Next, automatically load the juliacall extension if we're in a Jupyter notebook
Expand Down
2 changes: 1 addition & 1 deletion pysr/juliapkg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"julia": "~1.6, ~1.7, ~1.8, ~1.9, =1.10.0, ^1.10.3",
"julia": "~1.6.7, ~1.7, ~1.8, ~1.9, ~1.10",
"packages": {
"SymbolicRegression": {
"uuid": "8254be44-1295-4e6a-a16d-46603ac705cb",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sympy>=1.0.0,<2.0.0
pandas>=0.21.0,<3.0.0
numpy>=1.13.0,<2.0.0
scikit_learn>=1.0.0,<2.0.0
juliacall==0.9.15
juliacall==0.9.19
click>=7.0.0,<9.0.0
setuptools>=50.0.0
typing_extensions>=4.0.0,<5.0.0; python_version < "3.8"

0 comments on commit 0234b14

Please sign in to comment.