Bug 2048985

Summary: votca-csg-tutorials depends on python2
Product: [Fedora] Fedora Reporter: Petr Viktorin (pviktori) <pviktori>
Component: votcaAssignee: Christoph Junghans <junghans>
Status: CLOSED RAWHIDE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: junghans, mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-01 21:14:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1708725    

Description Petr Viktorin (pviktori) 2022-02-01 09:44:35 UTC
Python 2.7 reached end-of-life in January 2020, over 9 years after it was released. The python27 package is now deprecated in Fedora, but votca requires it.
Most likely this is due to the shebang in votca-2022/csg-tutorials/spce/ibi_espressopp/spce.py

Please remove the dependency on Python 2, or apply for a FESCo exception -- see https://fedoraproject.org/wiki/Changes/RetirePython2#FESCo_exceptions
I can help port the script to Python 3 if you give me some instructions on how to test it -- it looks simple, but unfortunately I have no idea what it's for.

If something is unclear, please mention it here.

Comment 1 Miro HronĨok 2022-02-01 12:08:39 UTC
$ dnf repoquery --repo=rawhide --requires votca-csg-tutorials
/usr/bin/bash
/usr/bin/python2
/usr/bin/python3
/usr/bin/sh
votca = 2022-1.fc36

Comment 2 Christoph Junghans 2022-02-01 16:25:43 UTC
We don't have a package for Espresso++ yet in Fedora, so I will just remove that tutorial for now.