You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to fetch the sources with the first init command I get a syntax error with a Python script within the container:
$ sudo docker run -v "$PWD:/work" 8040efibldr -u $(id -u) -g $(id -g) -- init
/work/build /work
gpg: keybox '/home/build/.repoconfig/gnupg/pubring.kbx' created
gpg: /home/build/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 16530D5E920F5C65: public key "Repo Maintainer <[email protected]>" imported
gpg: key 67B7E448692B382C: public key "Conley Owens <[email protected]>" imported
gpg: Total number processed: 2
gpg: imported: 2
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
File "/work/build/.repo/repo/main.py", line 79
file=sys.stderr)
^
SyntaxError: invalid syntax
/work
This is from the gerrit/git-repo repository, from the link above, but this doesn't seem to be an actual syntax error in the script, at least if you pull the repository as-is, as pytest doesn't find this as an error, and the syntax of that command in the code seems to be well-formatted:
print('repo: error: Python 2 is no longer supported; '
'Please upgrade to Python {}.{}+.'.format(*MIN_PYTHON_VERSION_SOFT),
file=sys.stderr)
So I suspect this is an issue with the docker, and not with the code of this other repository.
The text was updated successfully, but these errors were encountered:
When trying to fetch the sources with the first
init
command I get a syntax error with a Python script within the container:This is from the
gerrit/git-repo
repository, from the link above, but this doesn't seem to be an actual syntax error in the script, at least if you pull the repository as-is, aspytest
doesn't find this as an error, and the syntax of that command in the code seems to be well-formatted:So I suspect this is an issue with the docker, and not with the code of this other repository.
The text was updated successfully, but these errors were encountered: