Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "The unauthenticated git protocol on port 9418 is no longer supported." #101

Open
luismasuelli opened this issue Mar 24, 2022 · 0 comments

Comments

@luismasuelli
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant