check_exec: /usr/bin/python3 bad interpreter

Bug #2007975 reported by Maurice Escher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Maurice Escher

Bug Description

Hi,

we just switched our unit test instance from ubuntu 18 (which is EOL soon) to ubuntu 20.
python is installed via pyenv (I'm not sure how it was before)

And running tox -e pep8 gives above error, apparently there is no symlink /usr/bin/python3 (and also no /usr/bin/python).

I think it makes sense to use /usr/bin/env python as shebang.

What do you think?

Best,
Maurice

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/873869

Changed in manila:
status: New → In Progress
Changed in manila:
assignee: nobody → Maurice Escher (maurice-escher)
importance: Undecided → Medium
milestone: none → antelope-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/873869
Committed: https://opendev.org/openstack/manila/commit/6a887f24d28b59d64af91bc34e2a0d40aabe153b
Submitter: "Zuul (22348)"
Branch: master

commit 6a887f24d28b59d64af91bc34e2a0d40aabe153b
Author: Maurice Escher <email address hidden>
Date: Tue Feb 21 13:41:47 2023 +0100

    check_exec: /usr/bin/python3 bad interpreter

    use /usr/bin/env python3

    Closes-Bug: #2007975
    Change-Id: I517e7245492ee68b25675628366998456173959a

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

This issue was fixed in the openstack/manila 16.0.0.0rc1 release candidate.

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.