[BUG] `conda-forge` breaking
See original GitHub issueWeirdly the conda-forge tests are breaking again, even after I updated the conda-forge build to have a more recent julia depot: https://github.com/MilesCranmer/PySR/actions/runs/3396141209/jobs/5646873573
The errors are as follows. It seems like PyCall.jl has not been successfully built or something? The line which raises this error is here, meaning that info.is_pycall_built() is false.
Failed check_estimators_dtypes with:
Traceback (most recent call last):
File "/home/runner/work/PySR/PySR/test/test.py", line 652, in test_scikit_learn_compatibility
check(model)
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/sklearn/utils/_testing.py", line 320, in wrapper
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/sklearn/utils/estimator_checks.py", line 1726, in check_estimators_dtypes
estimator.fit(X_train, y)
File "/home/runner/work/PySR/PySR/pysr/sr.py", line 1784, in fit
self._run(X, y, mutated_params, weights=weights, seed=seed)
File "/home/runner/work/PySR/PySR/pysr/sr.py", line [14](https://github.com/MilesCranmer/PySR/actions/runs/3396141209/jobs/5646873573#step:6:15)78, in _run
Main = init_julia(self.julia_project)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/PySR/PySR/pysr/julia_helpers.py", line [16](https://github.com/MilesCranmer/PySR/actions/runs/3396141209/jobs/5646873573#step:6:17)8, in init_julia
raise ImportError(_import_error())
ImportError:
Required dependencies are not installed or built. Run the following code in the Python REPL:
>>> import pysr
>>> pysr.install()
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
[BUG] conda version breaking #201 - MilesCranmer/PySR
The new version fixes an issue related to automatic updating of Julia packages. The conda-forge jobs which test conda install -c conda-forge ......
Read more >Maintaining packages - Conda-Forge
Locate the paths to broken files on anaconda.org, by searching for the conda-forge package and switching to the files tab. · Fork conda-forge/admin-requests...
Read more >Stuck at Solving Environment on Anaconda - Stack Overflow
I put conda-forge first, then package-specific channels like pytorch , then put defaults last. From the docs it seems that this causes conda...
Read more >Conda install broken? - Matminer
Hello, I have just been met with the following error across all of my ... (main36) C:\Users\mm049>conda install -c conda-forge matminer
Read more >Update to tbb (2021.1.1, conda-forge) breaks bowtie2 ...
I found the cause of this. The TBB and TBB-devel conda-forge packages have their run_exports set such that anything compiled against them can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Awesome. That was it! Thanks @mkitti for figuring that out! The conda-forge tests now actually run the one installed (via #221), and pass.
I should move the
testto be insidepysrso I can simply call it likepysr.test.testall().