Remove Python 2 testing and gate jobs

Bug #1853693 reported by Brian Rosmaita
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Brian Rosmaita
Glance Client
Fix Released
Medium
Unassigned
glance_store
Fix Released
Medium
Unassigned

Bug Description

With the Ussuri release, OpenStack will no longer support Python 2.

We need to remove Python 2 testing right away, because as other project and libraries remove Python 2 support, our testing and gate jobs may break. (See, for example, the discussion on https://review.opendev.org/#/c/695007/ )

The periodic "tips" jobs will definitely break.

Need to remove the py2* testenvs in tox as well as py2-specific testing configured in .zuul.yaml

As part of this, should make sure we are configured to test the official Ussuri python runtimes, namely, py36 and py37. See https://governance.openstack.org/tc/reference/runtimes/ussuri.html

Changed in glance:
status: Triaged → In Progress
Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

I submitted the Glance patch before writing up the bug:

https://review.opendev.org/#/c/695707/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.opendev.org/695707
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=40bd312410d6ff23ea5d8b6d6263f40bd456fffd
Submitter: Zuul
Branch: master

commit 40bd312410d6ff23ea5d8b6d6263f40bd456fffd
Author: Brian Rosmaita <email address hidden>
Date: Fri Nov 22 10:11:52 2019 -0500

    Remove py2 testing, jobs

    Change tox.ini so that all jobs are python3, and add explicit
    unit/functional testenvs for the two ussuri python runtimes
    (3.6 and 3.7).

    Remove py2 jobs from .zuul.yaml and redefine the periodic "tips"
    jobs so that they are testing with the ussuri python runtimes.
    Added nodeset: ubuntu-bionic to the abstract base jobs so that
    py3.7 is available.

    Co-authored-by: Ghanshyam Mann <email address hidden>
    Co-authored-by: Brian Rosmaita <email address hidden>

    Closes-bug: #1853693
    Change-Id: I15467c34fc8466fa1724c5401dc879ae77c1922d

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 20.0.0.0b1

This issue was fixed in the openstack/glance 20.0.0.0b1 development milestone.

Erno Kuvaja (jokke)
Changed in python-glanceclient:
importance: Undecided → Medium
Changed in glance-store:
importance: Undecided → Medium
Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

This was fixed in glance_store with 3bf4d29a0f2d38916bb20b287b7ee486b09613e0 .

Changed in glance-store:
status: New → Fix Released
Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

This was fixed in python-glanceclient with a4465dfc2268b2fc36f04a1a7e5455f6f8c92886 .

Changed in python-glanceclient:
status: New → Fix Released
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.