android-emulator-container-scripts icon indicating copy to clipboard operation
android-emulator-container-scripts copied to clipboard

Latest version of Flask-HTTPAuth cause create_web_container.sh fail

Open sheiun opened this issue 3 years ago • 0 comments

Description

Flask-HTTPAuth 4.5.0 released in Oct 26 cannot be built. But 4.4.0 works.

Solution

Fix version to Flask-HTTPAuth==4.4.0

Steps to reproduce

  1. Clone the latest version of this repo
  2. Run ./create_web_container.sh
Building wheels for collected packages: absl-py, Flask-HTTPAuth
  Running setup.py bdist_wheel for absl-py: started
  Running setup.py bdist_wheel for absl-py: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/19/f3/f9/f5b598f0b550f4140026ca6a7aa6b016929cefc369b5104df6
  Running setup.py bdist_wheel for Flask-HTTPAuth: started
  Running setup.py bdist_wheel for Flask-HTTPAuth: finished with status 'error'
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-JMLj6y/Flask-HTTPAuth/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpfkreKtpip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  running build_py
  file src/
  .py (for module
  ) not found
  file src/f.py (for module f) not found
  file src/l.py (for module l) not found
  file src/a.py (for module a) not found
  file src/s.py (for module s) not found
  file src/k.py (for module k) not found
  file src/_.py (for module _) not found
  file src/h.py (for module h) not found
  file src/t.py (for module t) not found
  file src/t.py (for module t) not found
  file src/p.py (for module p) not found
  file src/a.py (for module a) not found
  file src/u.py (for module u) not found
  file src/t.py (for module t) not found
  file src/h.py (for module h) not found
  file src/
  .py (for module
  ) not found
  file src/f.py (for module f) not found
  file src/l.py (for module l) not found
  file src/a.py (for module a) not found
  file src/s.py (for module s) not found
  file src/k.py (for module k) not found
  file src/_.py (for module _) not found
  file src/h.py (for module h) not found
  file src/t.py (for module t) not found
  file src/t.py (for module t) not found
  file src/p.py (for module p) not found
  file src/a.py (for module a) not found
  file src/u.py (for module u) not found
  file src/t.py (for module t) not found
  file src/h.py (for module h) not found
  running egg_info
  error: 'egg_base' must be a directory name (got `src`)
  
  ----------------------------------------
  Failed building wheel for Flask-HTTPAuth
  Running setup.py clean for Flask-HTTPAuth
Successfully built absl-py
Failed to build Flask-HTTPAuth
Installing collected packages: pyjwt, click, itsdangerous, MarkupSafe, Jinja2, Werkzeug, flask, flask-cors, absl-py, Flask-HTTPAuth, pycparser, cffi, cryptography, wrapt, deprecated, JWCrypto
  Running setup.py install for Flask-HTTPAuth: started
    Running setup.py install for Flask-HTTPAuth: finished with status 'error'
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-JMLj6y/Flask-HTTPAuth/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-aBZntk-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    file src/
    .py (for module
    ) not found
    file src/f.py (for module f) not found
    file src/l.py (for module l) not found
    file src/a.py (for module a) not found
    file src/s.py (for module s) not found
    file src/k.py (for module k) not found
    file src/_.py (for module _) not found
    file src/h.py (for module h) not found
    file src/t.py (for module t) not found
    file src/t.py (for module t) not found
    file src/p.py (for module p) not found
    file src/a.py (for module a) not found
    file src/u.py (for module u) not found
    file src/t.py (for module t) not found
    file src/h.py (for module h) not found
    file src/
    .py (for module
    ) not found
    file src/f.py (for module f) not found
    file src/l.py (for module l) not found
    file src/a.py (for module a) not found
    file src/s.py (for module s) not found
    file src/k.py (for module k) not found
    file src/_.py (for module _) not found
    file src/h.py (for module h) not found
    file src/t.py (for module t) not found
    file src/t.py (for module t) not found
    file src/p.py (for module p) not found
    file src/a.py (for module a) not found
    file src/u.py (for module u) not found
    file src/t.py (for module t) not found
    file src/h.py (for module h) not found
    running egg_info
    error: 'egg_base' must be a directory name (got `src`)
    
    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-JMLj6y/Flask-HTTPAuth/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-aBZntk-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-JMLj6y/Flask-HTTPAuth/
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
ERROR: Service 'jwt_signer' failed to build : Build failed
Created container, you can launch it as follows:
docker-compose -f js/docker/docker-compose-build.yaml up

sheiun avatar Oct 31 '21 09:10 sheiun