-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebuild for python312 #106
Rebuild for python312 #106
Conversation
…nda-forge-pinning 2023.10.06.16.31.06
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin, please re-render |
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/pysr-feedstock/actions/runs/6699559133. |
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/pysr-feedstock/actions/runs/6699573666. |
cc @mkitti @ngam looks like there might be a PyJulia+Conda compatibility issue on Python 3.12? (1) The build seems to be failing for PySR: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=798398&view=logs&j=c64f2b93-e1ef-5004-dedf-97174a8ceb90&t=814f9eff-bb55-598c-386c-5f64263478f1 Precompiling PyCall...
Precompiling PyCall... DONE
PyCall is installed and built successfully.
/home/conda/feedstock_root/build_artifacts/pysr_1698705842295/work/pysr/julia_helpers.py:208: UserWarning: Your system's Python library is static (e.g., conda), so precompilation will be turned off. For a dynamic library, try using `pyenv` and installing with `--enable-shared`: https://github.com/pyenv/pyenv/blob/master/plugins/python-build/README.md#building-with---enable-shared.
warnings.warn(
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/conda/feedstock_root/build_artifacts/pysr_1698705842295/work/pysr/julia_helpers.py", line 98, in install
Main, init_log = init_julia(julia_project, quiet=quiet, return_aux=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/conda/feedstock_root/build_artifacts/pysr_1698705842295/work/pysr/julia_helpers.py", line 216, in init_julia
from julia import Main as _Main
ImportError: cannot import name 'Main' from 'julia' (/home/conda/feedstock_root/build_artifacts/pysr_1698705842295/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.12/site-packages/julia/__init__.py)
Traceback (most recent call last):
File "/opt/conda/bin/conda-mambabuild", line 10, in <module>
sys.exit(main())
File "/opt/conda/lib/python3.10/site-packages/boa/cli/mambabuild.py", line 256, in main
call_conda_build(action, config)
File "/opt/conda/lib/python3.10/site-packages/boa/cli/mambabuild.py", line 228, in call_conda_build
result = api.build(
File "/opt/conda/lib/python3.10/site-packages/conda_build/api.py", line 180, in build
return build_tree(
File "/opt/conda/lib/python3.10/site-packages/conda_build/build.py", line 3078, in build_tree
packages_from_this = build(metadata, stats,
File "/opt/conda/lib/python3.10/site-packages/conda_build/build.py", line 2198, in build
utils.check_call_env(cmd, env=env, rewrite_stdout_env=rewrite_env,
File "/opt/conda/lib/python3.10/site-packages/conda_build/utils.py", line 451, in check_call_env
return _func_defaulting_env_to_os_environ("call", *popenargs, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/conda_build/utils.py", line 427, in _func_defaulting_env_to_os_environ
raise subprocess.CalledProcessError(proc.returncode, _args)
subprocess.CalledProcessError: Command '['/bin/bash', '-o', 'errexit', '/home/conda/feedstock_root/build_artifacts/pysr_1698705842295/work/conda_build.sh']' returned non-zero exit status 1.
##[error]Bash exited with code '1'.
Finishing: Run docker build (2) Also, some people have noted difficulties using PyJulia in conda for Python 3.12: MilesCranmer/PySR#448, which does not depend on this build. But @IlyaOrson mentioned it seemed seemed to work in a regular virtualenv which is curious. So I wonder if there has been some change in conda for Python 3.12 builds that is messing up the PyJulia connection? |
Hmm... I'm guessing there is a common library causing issues. |
Is there a way we can force more information out of the following line? ImportError: cannot import name 'Main' from 'julia' (/home/conda/feedstock_root/build_artifacts/pysr_1698705842295/.../lib/python3.12/site-packages/julia/__init__.py) @IlyaOrson said he also saw this import error when trying to load other libraries, even though Maybe the way It could be caused by this: JuliaPy/pyjulia#509 which was a warning on 3.11, maybe now it is broken. |
Okay I think I fixed it: JuliaPy/pyjulia#538 |
I see that this PR has conflicts, and I'm the only committer. I'm going to close this PR and will make another one as appropriate. This was generated by https://github.com/regro/cf-scripts/actions/runs/7213772918 |
This PR has been triggered in an effort to update python312.
Notes and instructions for merging this PR:
Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.
If this PR was opened in error or needs to be updated please add the
bot-rerun
label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase@conda-forge-admin, please rerun bot
in a PR comment to have theconda-forge-admin
add it for you.This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/6434149633, please use this URL for debugging.