puiterwijk / flask-oidc

OpenID Connect support for Flask
BSD 2-Clause "Simplified" License
154 stars 217 forks source link

Unable to pip install from pull request #152

Closed ecederstrand closed 9 months ago

ecederstrand commented 2 years ago

I have a need for #144 which has not yet been merged. However, pip fails to install from GitHub due to the git submodule:

$ pip install git+https://github.com/puiterwijk/flask-oidc.git@refs/pull/144/head
[...]
  Running command git fetch -q https://github.com/puiterwijk/flask-oidc.git refs/pull/144/head
  Resolved https://github.com/puiterwijk/flask-oidc.git to commit ba139d6495267fedf063de564557b7fea734a589
  Running command git submodule update --init --recursive -q
  fatal: unable to connect to github.com:
  github.com[0: 140.82.121.3]: errno=Operation timed out

  fatal: clone of 'git://github.com/mitsuhiko/flask-sphinx-themes.git' into submodule path '/private/var/folders/mf/kmzzbqxd5_s__5pfbdwzyjl80000gn/T/pip-req-build-tqhtjiiy/docs/_themes' failed
  Failed to clone 'docs/_themes' a second time, aborting

pip itself doesn't support skipping submodules. See https://github.com/pypa/pip/issues/6374

It would be really nice to be able to install from GitHub. I see some possible solutions:

ecederstrand commented 2 years ago

Fixed in https://github.com/gerwout/flask-oidc/pull/1 which depends on #144 being merged.

ecederstrand commented 9 months ago

Closing since this project is replaced by https://github.com/fedora-infra/flask-oidc/