[opensuse-factory] scons is going to use python3 as interpreter
Dear Tumbleweed hackers and packagers, As you all know, python3 is 'the new thing' and pytho2 is being moved to the background. Various packages have already been switched to be using python3 - probably 'the easy ones' are all done. so we enter the jounery of more complex things. One such package is scons, which has been switched to be using python3 in request https://build.opensuse.org/request/show/542087 Now, scons is a bit 'special', as it is written in python and is basiclaly compatible to python2 AND python3, BUT it parses SConstruct/SConscript of different packages. And there the results are a bit mixed when it comes to python3 compliance Martin setup a test branch where he monitors all packages in openSUSE:Factory using scons as their build script, see https://build.opensuse.org/project/monitor/home:pluskalm:python3 Out of those only two packages are tracked as part of the rings (ffado and gpsd), which means from a Factory process perspective, once those two are fixed, the scons-switch to python3 could happen. As this will impact some other packages, I'd like to ask for your help to fix the other failing packages there. Simply branch them using "osc branch openSUSE:Factory $pkg" and submit them back to their original devel project. Martin's project only serves as monitor and should not receive submissions. In many cases, the issue in SConstruct are the usual python3 offenders: print "FOO" needs to be written as print ("FOO") now; so patches can turn out to be easy (in some cases they are more complex though) This mail serves as an info so you won't be surprised when scons is being merged and some packagaes stop building (of course some people will still be surprised, but such is life) Cheers Dominique
On Thu, 2017-11-23 at 14:13 +0100, Dominique Leuenberger / DimStar wrote:
Dear Tumbleweed hackers and packagers,
As you all know, python3 is 'the new thing' and pytho2 is being moved to the background. Various packages have already been switched to be using python3 - probably 'the easy ones' are all done. so we enter the jounery of more complex things.
One such package is scons, which has been switched to be using python3 in request https://build.opensuse.org/request/show/542087
Now, scons is a bit 'special', as it is written in python and is basiclaly compatible to python2 AND python3, BUT it parses SConstruct/SConscript of different packages. And there the results are a bit mixed when it comes to python3 compliance
Martin setup a test branch where he monitors all packages in openSUSE:Factory using scons as their build script, see https://build.opensuse.org/project/monitor/home:pluskalm:python3
FYI: scons has just been merged into openSUSE:Factory and will, from this day forward, be using python3 as interpreter. As per Martin's project, there are three packages not yet fixed in the devel prj (I did not check which of those did not forward the change to openSUSE:Factory) The three packages knowing to break are: * mongodb (failed already to build in oS:F before the switch) * mypaint * swift-im The rest has all been addressed by various people - Thank you for that! Cheers Dominique
On Wed, 2017-11-29 at 11:06 +0100, Dominique Leuenberger / DimStar wrote:
On Thu, 2017-11-23 at 14:13 +0100, Dominique Leuenberger / DimStar wrote:
One such package is scons, which has been switched to be using python3 in request https://build.opensuse.org/request/show/542087
Now, scons is a bit 'special', as it is written in python and is basiclaly compatible to python2 AND python3, BUT it parses SConstruct/SConscript of different packages. And there the results are a bit mixed when it comes to python3 compliance
Martin setup a test branch where he monitors all packages in openSUSE:Factory using scons as their build script, see https://build.opensuse.org/project/monitor/home:pluskalm:python3
FYI: scons has just been merged into openSUSE:Factory and will, from this day forward, be using python3 as interpreter.
As per Martin's project, there are three packages not yet fixed in the devel prj (I did not check which of those did not forward the change to openSUSE:Factory)
The three packages knowing to break are: * mongodb (failed already to build in oS:F before the switch) * mypaint
From my attempts [1], it looks like mypaint may be unfixable, unless we update to the git master tip. At version 1.1.0 which is the last stable release that actually works on openSUSE -- there is a version 1.2.1 which doesn't work because pygtkcompat is unavailable on openSUSE (and for good reasons), mypaint is only compatible with python 2.7. We could either upgrade mypaint to it's git master (which will eventually become 1.3.0), or have a new scons-py2 package just to get mypaint 1.1.x building. The latter option seems like an overkill to me, but suggestions welcome.
Cheerio [1] https://build.opensuse.org/package/show/home:badshah400:branches:home:pluska... -- Atri Bhattacharya Fri 1 Dec 20:57:28 CET 2017 Sent from openSUSE Tumbleweed on my laptop. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
on Tumbleweed , why not devel version 1.3.0 :)
On 1 December 2017 at 20:58, Atri Bhattacharya
On Wed, 2017-11-29 at 11:06 +0100, Dominique Leuenberger / DimStar wrote:
On Thu, 2017-11-23 at 14:13 +0100, Dominique Leuenberger / DimStar wrote:
One such package is scons, which has been switched to be using python3 in request https://build.opensuse.org/request/show/542087
Now, scons is a bit 'special', as it is written in python and is basiclaly compatible to python2 AND python3, BUT it parses SConstruct/SConscript of different packages. And there the results are a bit mixed when it comes to python3 compliance
Martin setup a test branch where he monitors all packages in openSUSE:Factory using scons as their build script, see https://build.opensuse.org/project/monitor/home:pluskalm:python3
FYI: scons has just been merged into openSUSE:Factory and will, from this day forward, be using python3 as interpreter.
As per Martin's project, there are three packages not yet fixed in the devel prj (I did not check which of those did not forward the change to openSUSE:Factory)
The three packages knowing to break are: * mongodb (failed already to build in oS:F before the switch) * mypaint
From my attempts [1], it looks like mypaint may be unfixable, unless we update to the git master tip. At version 1.1.0 which is the last stable release that actually works on openSUSE -- there is a version 1.2.1 which doesn't work because pygtkcompat is unavailable on openSUSE (and for good reasons), mypaint is only compatible with python 2.7. We could either upgrade mypaint to it's git master (which will eventually become 1.3.0), or have a new scons-py2 package just to get mypaint 1.1.x building. The latter option seems like an overkill to me, but suggestions welcome.
Cheerio
[1] https://build.opensuse.org/package/show/home:badshah400:branches:home:pluska...
-- Atri Bhattacharya Fri 1 Dec 20:57:28 CET 2017
Sent from openSUSE Tumbleweed on my laptop.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Atri Bhattacharya
-
Dominique Leuenberger / DimStar
-
Ondřej Súkup