-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
julia v1.9.0 #245
julia v1.9.0 #245
Conversation
…nda-forge-pinning 2023.05.06.16.29.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 ( |
Weird, it says the following. Maybe this is a basic fix? @ngam @mkitti
|
We would need to rework the patch. I will do it this weekend. |
|
@mkitti are you aware of any substantial changes to the build system upstream? error...
|
@conda-forge-admin,please rerender |
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/julia-feedstock/actions/runs/5063111650. |
I have reproduced the issue locally on Linux. Investigating. |
Ok, we actually do produce a working build of Julia 1.9. The problem is that the installation gets screwed up somehow.
|
It's trying to find |
The LD_LIBRARY_PATH setting is screwing up julia. In
|
Okay, what we want to do is point julia to the correct path, then? |
Playing with LD_LLIBRARY_PATH is likely not a good solution because a lot of things depend on it in the ecosystem |
LD_DEBUG output
|
|
Julia seems happy if we do not set Why are we setting this in the first place? julia-feedstock/recipe/build.sh Lines 3 to 7 in 41f00ab
|
Simpler solution:
|
I'm not entirely sure that I am fixing the same issue that CI is encountering. |
I have a local build on Linux. How do I replicate just the test step? |
We are getting closer. There are just some test failures with MPFR now |
recipe/meta.yaml
Outdated
@@ -76,7 +75,7 @@ requirements: | |||
test: | |||
commands: | |||
# check out versioninfo | |||
- julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo()' | |||
- LD_DEBUG=libs julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo()' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we remove LD_DEBUG=libs
before merging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but I'm still debugging
Something is different between conda-forge's MPFR build and Julia's MPFR build: conda-forge MPFR:
Julia MPFR:
Somehow the default precision is different for conda-forge uses
Yggdrasil uses
|
Did the tests fail because we ran out of time? |
Filed conda-forge/mpfr-feedstock#42 with the mpfr-feedstock
|
@ngam We could use mpfr 4.1.0. That seems to work fine as far as printing goes. Next build perhaps, if this one works? |
@ngam We have green CI on Julia 1.9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, happy to merge. Just minor clarifications. Feel free to merge either way you see fit. We can revisit and improve once this is out of the door.
if [[ "${target_platform}" == linux-* ]]; then | ||
rm $PREFIX/lib/julia/{libcholmod.so,libcurl.so} | ||
fi | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed or was it part of debugging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might be able to remove this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, we will attempt later.
Let’s get this merged first
recipe/build.sh
Outdated
# Hack to suppress building docs | ||
cat > doc/Makefile << EOF | ||
html : | ||
mkdir -p _build/html | ||
EOF | ||
|
||
export PATCHELF_SET_RPATH_ARG="--add-rpath" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this, but I am not sure if we need it or if we can get rid of it. Thoughts?
export LIBRARY_PATH=${PREFIX}/lib | ||
export CMAKE_PREFIX_PATH=${PREFIX} | ||
export PATH="${PREFIX}/bin:${PATH}" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I deleted these, but should we bring them back?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can leave these out.
For MPFR you need to apply JuliaLang/julia#49909 |
Looks like it's being backported Julia 1.9.1, so I think we'll catch it then. |
@MilesCranmer 1.9.0 should be available shortly in conda-forge |
Nice work!! |
Stress tested the 1.9.0 binary and everything is looking good! (PySR integration tests: https://github.com/MilesCranmer/PySR/actions/runs/5114058241) |
It is very likely that the current package version for this feedstock is out of date.
Checklist before merging this PR:
license_file
is packagedInformation about this PR:
@conda-forge-admin,
please add bot automerge
in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.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.Pending Dependency Version Updates
Here is a list of all the pending dependency version updates for this repo. Please double check all dependencies before merging.
Dependency Analysis
We couldn't run dependency analysis due to an internal error in the bot. :/ Help is very welcome!
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/4912498197, please use this URL for debugging.