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

setup.py SyntaxError #411

@gothicVI

Description

@gothicVI

Running python 3.9.7, I'm getting the following error when trying to build the AUR package:

==> Starting build()...
  File "setup.py", line 39
    def extra_files_line(dir_: str):
                             ^
SyntaxError: invalid syntax
==> ERROR: A failure occurred in build().
    Aborting...
error making: python-eduvpn-client

EDIT: Somewhat solved:
I have ~/bin/python being a symlink to /bin/python2 in order to have some old scripts working.
Removing that symlink allowed for a smooth build...
Maybe this can be addressed somehow by not calling python (blindly) and assuming python3?
Could an explicit shebang solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions