flask-oauth
flask-oauth copied to clipboard
Error: "The unauthenticated git protocol on port 9418 is no longer supported."
There is an issue in: https://github.com/mitsuhiko/flask-oauth/blob/master/.gitmodules
The git:// (i.e. git+git://) protocol is unsupported and trying to install this package as git+ssh:// or similar methods does not work because of the submodule issue. The submodule URL should be ssh:// or https://.
The full trace is this:
$ pip3 install -e git+https://github.com/mitsuhiko/flask-oauth.git@d5c3f6a229df1c3566b9bc3233311c109b4dcff9#egg=flask-oauth
Obtaining flask-oauth from git+https://github.com/mitsuhiko/flask-oauth.git@d5c3f6a229df1c3566b9bc3233311c109b4dcff9#egg=flask-oauth
Cloning https://github.com/mitsuhiko/flask-oauth.git (to revision d5c3f6a229df1c3566b9bc3233311c109b4dcff9) to /home/myuser/.virtualenvs/Datagran/src/flask-oauth
Running command git clone -q https://github.com/mitsuhiko/flask-oauth.git /home/myuser/.virtualenvs/Datagran/src/flask-oauth
Running command git rev-parse -q --verify 'sha^d5c3f6a229df1c3566b9bc3233311c109b4dcff9'
Running command git fetch -q https://github.com/mitsuhiko/flask-oauth.git d5c3f6a229df1c3566b9bc3233311c109b4dcff9
Running command git checkout -q d5c3f6a229df1c3566b9bc3233311c109b4dcff9
Running command git submodule update --init --recursive -q
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
fatal: clone of 'git://github.com/mitsuhiko/flask-sphinx-themes.git' into submodule path '/home/myuser/.virtualenvs/Datagran/src/flask-oauth/docs/_themes' failed
Failed to clone 'docs/_themes'. Retry scheduled
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
fatal: clone of 'git://github.com/mitsuhiko/flask-sphinx-themes.git' into submodule path '/home/myuser/.virtualenvs/Datagran/src/flask-oauth/docs/_themes' failed
Failed to clone 'docs/_themes' a second time, aborting
WARNING: Discarding git+https://github.com/mitsuhiko/flask-oauth.git@d5c3f6a229df1c3566b9bc3233311c109b4dcff9#egg=flask-oauth. Command errored out with exit status 1: git submodule update --init --recursive -q Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement flask-oauth (unavailable) (from versions: 0.9, 0.10, 0.11, 0.12)
ERROR: No matching distribution found for flask-oauth (unavailable)
WARNING: You are using pip version 21.1.2; however, version 22.0.4 is available.
You should consider upgrading via the '/home/myuser/.virtualenvs/Datagran/bin/python -m pip install --upgrade pip' command.