Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

The task should print where it found uses of /usr/bin/python #49

@bowlofeggs

Description

@bowlofeggs

Greetings!

A recent Bodhi build of mine failed the check for /usr/bin/python being used, but I am having a hard time finding what piece of Bodhi is using /usr/bin/python. Could we adjust the test so that it also prints where it found an unversioned Python usage so it's easier to find and fix?

You've used /usr/bin/python during build on the following arches:

  bodhi-3.4.0-1.fc29: noarch

Use /usr/bin/python3 or /usr/bin/python2 explicitly.
/usr/bin/python will be removed or switched to Python 3 in the future.


Read the following document to find more information and a possible cause:
https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
Or ask at #fedora-python IRC channel for help.

If you think the result is false or intentional, file a bug against:
https://github.com/fedora-python/task-python-versions/issues

-----------

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions