Bugzilla – Bug 1219740
julia requires python2(EOL) to build
Last modified: 2024-05-22 10:48:45 UTC
julia is amongst the few last ones holding on to python2 to build. Please try to port this off of python2, so we can finally eliminate it
Are you referring to the file Make.inc? Specifically on lines 118-122? ``` # We need python for things like BB triplet recognition and relative path computation. # We don't really care about version, generally, so just find something that works: PYTHON := "$(shell which python 2>/dev/null || which python3 2>/dev/null || which python2 2>/dev/null || echo "{python|python3|python2} not found")" PYTHON_SYSTEM := $(shell $(PYTHON) -c 'from __future__ import print_function; import platform; print(platform.system())') ```
I'm refering to BuildRequires: python >= 2.5 in the spec file 'python' is the symbol used by python2
I am currently updating Julia to 1.10.2. This will be pushed to Factory once it's successfully built. the one in the devel project was not submitted due to it being broken (needs suitesparse bundled instead of using system suitesparse).
Still a few bunch of "workarounds" for offline builds. Still failing but it is getting there. I wonder what's the ETA for removing python? I won't mind deleting julia from Factory for the time being. The devel project already uses Python3
This is an autogenerated message for OBS integration: This bug (1219740) was mentioned in https://build.opensuse.org/request/show/1175424 Factory / julia
SR accepted! Yay!