Bug 1219740 - julia requires python2(EOL) to build
Summary: julia requires python2(EOL) to build
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Soc Virnyl Estela
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1219306
  Show dependency treegraph
 
Reported: 2024-02-08 16:31 UTC by Dominique Leuenberger
Modified: 2024-05-22 10:48 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2024-02-08 16:31:00 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
Comment 1 Soc Virnyl Estela 2024-02-09 01:47:25 UTC
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())')


```
Comment 2 Dominique Leuenberger 2024-02-09 06:51:36 UTC
I'm refering to

BuildRequires:  python >= 2.5

in the spec file

'python' is the symbol used by python2
Comment 3 Soc Virnyl Estela 2024-04-20 05:12:00 UTC
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).
Comment 4 Soc Virnyl Estela 2024-05-01 14:56:56 UTC
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
Comment 5 OBSbugzilla Bot 2024-05-21 05:35:03 UTC
This is an autogenerated message for OBS integration:
This bug (1219740) was mentioned in
https://build.opensuse.org/request/show/1175424 Factory / julia
Comment 6 Matej Cepl 2024-05-22 10:48:45 UTC
SR accepted! Yay!