python3 compatibility

Bug #1530734 reported by Giovanni Pellerano
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Storm
Fix Released
High
Colin Watson

Bug Description

Storm is currently not supporting python3

Starting from Ubuntu 16.04 (LTS) [21th April 2016] ubuntu will include by default support for only python 3, so this is becoming a fundamental requirement: http://summit.ubuntu.com/uos-1511/meeting/22568/python3-only-on-the-images/

Aside from various minor code changes the main problem will be probably in fixing the storm/cextensions.c.

This ticket if for asking for a clarification on the status of the project in order to understand if it is abandoned or there is a plan for porting it to python 3.

Related branches

Revision history for this message
Giovanni Pellerano (evilaliv3) wrote :

This patch fix all python3 compatibility issues present in ez_setup.py

Revision history for this message
Barry Warsaw (barry) wrote :

GNU Mailman got ported to SQLAlchemy quite a while ago.

https://gitlab.com/mailman/mailman

I suspect Storm won't see much new development.

Changed in mailman:
status: New → Invalid
William Grant (wgrant)
no longer affects: launchpad
Revision history for this message
Giovanni Pellerano (evilaliv3) wrote :

William can i ask why you removed also launchpad? also launchpad is abandoning storm? :(

no longer affects: mailman
Revision history for this message
Colin Watson (cjwatson) wrote :

Python 2 won't be on the installable images produced by Ubuntu, but it's not going away from the Ubuntu archive particularly soon. Launchpad and its dependencies will still have a Python 2 to rely upon, even after we upgrade to 16.04.

I don't think it's likely that Launchpad will be ported away from Storm. That would be a very large amount of work for not much benefit; when it comes to it, porting Storm to Python 3 would likely be a lot less effort.

In general, we do want to port Launchpad to Python 3, and have been taking gradual steps towards that as time permits, but our dependency tree is very large and it will take quite a while. The world is not going to end for us in 2016, though.

Revision history for this message
Giovanni Pellerano (evilaliv3) wrote :

Hi colin; is in there some updates for what relates to lunchpad and python3 and so about this ticket?

thank you so much.

Revision history for this message
Colin Watson (cjwatson) wrote :

I don't know what update would be interesting. We have three-quarters of a million lines of code and 200-odd dependencies. We'll continue to chip away at the problem as time permits, but you should not expect to have an "it's done" kind of update any time soon.

Since our infrastructure is now on 16.04 and we still have Python 2 there (and probably still will have on 18.04 too), we have quite a bit of runway left.

Colin Watson (cjwatson)
Changed in storm:
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in Storm 0.21.

Changed in storm:
status: In Progress → Fix Released
milestone: none → 0.21
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.