Hey Mark,

I've taken a shot (on a Macbook) at porting Gump to Python 3. I used "2to3"
a bunch, but then manually worked on updates continually running Gump's
unit test. I don't know how complete the coverage of those tests is, but
hopefully it is a start. (I couldn't seem to install 'anydbm' on my mac, so
I mocked it and commented it out, for now.)

 ---------------------------------------------------- Gump
Performed [102] tests with [0] issues.
No Problems Detected

I commit to a branch:

   https://svn.apache.org/repos/asf/gump/branches/python3/

I'm not sure how I access the VM to try the full Gump run. Let me know if
there is anything more I can do to complete the migration.

regards,

Adam

On Fri, Nov 27, 2020 at 12:29 PM Mark Thomas <[email protected]> wrote:

> Hi,
>
> Ubuntu 20.04 comes with python3. You can make python2 work but it
> involves jumping through some hoops.
>
> Gump doesn't work with python 3. I've spent a couple of hours trying to
> fix this (patch on gump-vm2 in /home/markt) and I have reached the end
> of my (very) limited python skills.
>
> So, we have a choice. Python 2 or Python 3?
>
> Python 3 will need someone else to get Gump working on gump-vm2.
>
> Python 2 I can handle but I may take a few shortcuts and not put
> everything in Puppet on the basis we rebuild the server so infrequently
> that it is less effort to rebuild python 2 support manually than get it
> into Puppet.
>
> Or there is the other option - send Gump to the attic.
>
> Gump has been useful in the past in identifying issues other CI systems
> did not. Gump provides the Tomcat project with earlier sight of OpenSSL
> integration issues we don't get any other way. Gump going to the attic
> would be a loss to the Tomcat project but it would be a relatively small
> loss.
>
> If someone has the time and skills to get Gump onto Python 3 now then
> I'd support that. If not, my vote is for getting python2 running in the
> short term and hope someone can look at python3 support in the medium to
> long term.
>
> Thoughts?
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

-- 
Adam R. B. Jack
https://www.neukadye.com
https://adamjack.wordpress.com/

Reply via email to