dependabot[bot] dependabot[bot] MilesCranmer commited on
Commit
0234b14
1 Parent(s): 046ac10

Bump juliacall from 0.9.15 to 0.9.19 (#569)

Browse files

* 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](https://github.com/JuliaPy/PythonCall.jl/compare/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>

Files changed (3) hide show
  1. pysr/julia_import.py +0 -11
  2. pysr/juliapkg.json +1 -1
  3. requirements.txt +1 -1
pysr/julia_import.py CHANGED
@@ -37,17 +37,6 @@ else:
37
 
38
  from juliacall import Main as jl # type: ignore
39
 
40
- # Overwrite the seval function to use Meta.parseall
41
- # instead of Meta.parse.
42
- jl.seval("using PythonCall: PythonCall, Py, pyconvert")
43
- jl.seval(
44
- """function PythonCall.pyjlmodule_seval(self::Module, expr::Py)
45
- e = Meta.parseall(strip(pyconvert(String, expr)))
46
- Py(Base.eval(self, e))
47
- end"""
48
- )
49
- # ^TODO: Overwrite this once PythonCall.jl is updated:
50
-
51
  jl_version = (jl.VERSION.major, jl.VERSION.minor, jl.VERSION.patch)
52
 
53
  # Next, automatically load the juliacall extension if we're in a Jupyter notebook
 
37
 
38
  from juliacall import Main as jl # type: ignore
39
 
 
 
 
 
 
 
 
 
 
 
 
40
  jl_version = (jl.VERSION.major, jl.VERSION.minor, jl.VERSION.patch)
41
 
42
  # Next, automatically load the juliacall extension if we're in a Jupyter notebook
pysr/juliapkg.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "julia": "~1.6, ~1.7, ~1.8, ~1.9, =1.10.0, ^1.10.3",
3
  "packages": {
4
  "SymbolicRegression": {
5
  "uuid": "8254be44-1295-4e6a-a16d-46603ac705cb",
 
1
  {
2
+ "julia": "~1.6.7, ~1.7, ~1.8, ~1.9, ~1.10",
3
  "packages": {
4
  "SymbolicRegression": {
5
  "uuid": "8254be44-1295-4e6a-a16d-46603ac705cb",
requirements.txt CHANGED
@@ -2,7 +2,7 @@ sympy>=1.0.0,<2.0.0
2
  pandas>=0.21.0,<3.0.0
3
  numpy>=1.13.0,<2.0.0
4
  scikit_learn>=1.0.0,<2.0.0
5
- juliacall==0.9.15
6
  click>=7.0.0,<9.0.0
7
  setuptools>=50.0.0
8
  typing_extensions>=4.0.0,<5.0.0; python_version < "3.8"
 
2
  pandas>=0.21.0,<3.0.0
3
  numpy>=1.13.0,<2.0.0
4
  scikit_learn>=1.0.0,<2.0.0
5
+ juliacall==0.9.19
6
  click>=7.0.0,<9.0.0
7
  setuptools>=50.0.0
8
  typing_extensions>=4.0.0,<5.0.0; python_version < "3.8"