Skip to content

copr-frontend built failed after upgrading python3.11 #3637

Closed
@pkking

Description

@pkking

here's two different build log:
the succeed log

the failed log

after some investigate, seems the py_compile command line change the behavior
in python3.9

$ python3 -V
python 3.9.9
$ python3 -m py_compile
$ echo $?
0

in python3.11

$ python3 -V
python 3.11.6
$ python3 -m py_compile
usage: py_compile.py [-h] [-q] filenames [filenames ...]
py_compile.py: error: the following arguments are required: filenames
$ echo $?
2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions