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

Unable to install dev/test dependencies as per CONTRIBUTING #1721

Closed
EBoisseauSierra opened this issue Oct 22, 2021 · 8 comments
Closed

Unable to install dev/test dependencies as per CONTRIBUTING #1721

EBoisseauSierra opened this issue Oct 22, 2021 · 8 comments
Labels

Comments

@EBoisseauSierra
Copy link
Contributor

I want to submit a PR. I'm thus following CONTRIBUTING's instructions.

However, I can't install the required dependencies, due to the following requirement conflict:

The conflict is caused by:
    The user requested idna==3.2
    email-validator 1.1.3 depends on idna>=2.0.0
    requests 2.25.0 depends on idna<3 and >=2.5

Environment

  • Flask-Appbuilder version: v3.3.4
  • pip freeze output: n/a

Describe the expected results

Install the main, dev, and extra requirements without issue, as per instructions.

Describe the actual results

$ git checkout master # or v3.3.4
$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt -r requirements-dev.txt -r requirements-extra.txt
Collecting apispec[yaml]==3.3.2
  Using cached apispec-3.3.2-py2.py3-none-any.whl (27 kB)
Collecting attrs==21.2.0
  Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting babel==2.9.1
  Using cached Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
Collecting click==7.1.2
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting colorama==0.4.4
  Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting defusedxml==0.7.1
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting dnspython==2.1.0
  Using cached dnspython-2.1.0-py3-none-any.whl (241 kB)
Collecting email-validator==1.1.3
  Using cached email_validator-1.1.3-py2.py3-none-any.whl (18 kB)
Collecting flask==1.1.4
  Using cached Flask-1.1.4-py2.py3-none-any.whl (94 kB)
Collecting flask-babel==2.0.0
  Using cached Flask_Babel-2.0.0-py3-none-any.whl (9.3 kB)
Collecting flask-jwt-extended==3.25.1
  Using cached Flask-JWT-Extended-3.25.1.tar.gz (32 kB)
Collecting flask-login==0.4.1
  Using cached Flask-Login-0.4.1.tar.gz (14 kB)
Collecting flask-openid==1.3.0
  Using cached Flask_OpenID-1.3.0-py3-none-any.whl (9.3 kB)
Collecting flask-sqlalchemy==2.5.1
  Using cached Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB)
Collecting flask-wtf==0.14.3
  Using cached Flask_WTF-0.14.3-py2.py3-none-any.whl (13 kB)
Collecting idna==3.2
  Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting importlib-metadata==4.8.1
  Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting itsdangerous==1.1.0
  Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting jinja2==2.11.3
  Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting jsonschema==3.2.0
  Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting markupsafe==2.0.1
  Using cached MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Collecting marshmallow==3.13.0
  Using cached marshmallow-3.13.0-py2.py3-none-any.whl (47 kB)
Collecting marshmallow-enum==1.5.1
  Using cached marshmallow_enum-1.5.1-py2.py3-none-any.whl (4.2 kB)
Collecting marshmallow-sqlalchemy==0.26.1
  Using cached marshmallow_sqlalchemy-0.26.1-py2.py3-none-any.whl (15 kB)
Collecting prison==0.2.1
  Using cached prison-0.2.1-py2.py3-none-any.whl (5.8 kB)
Collecting pyjwt==1.7.1
  Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting pyrsistent==0.18.0
  Using cached pyrsistent-0.18.0-cp39-cp39-manylinux1_x86_64.whl (117 kB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting python3-openid==3.2.0
  Using cached python3_openid-3.2.0-py3-none-any.whl (133 kB)
Collecting pytz==2021.1
  Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting pyyaml==5.4.1
  Using cached PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)
Collecting six==1.16.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting sqlalchemy==1.3.24
  Using cached SQLAlchemy-1.3.24-cp39-cp39-manylinux2010_x86_64.whl (1.3 MB)
Collecting sqlalchemy-utils==0.37.8
  Using cached SQLAlchemy_Utils-0.37.8-py3-none-any.whl (100 kB)
Collecting typing-extensions==3.10.0.2
  Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting werkzeug==1.0.1
  Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting wtforms==2.3.3
  Using cached WTForms-2.3.3-py2.py3-none-any.whl (169 kB)
Collecting zipp==3.5.0
  Using cached zipp-3.5.0-py3-none-any.whl (5.7 kB)
Collecting black==19.3b0
  Using cached black-19.3b0-py36-none-any.whl (89 kB)
Collecting coverage==5.5
  Using cached coverage-5.5-cp39-cp39-manylinux2010_x86_64.whl (243 kB)
Collecting flake8-import-order==0.18.1
  Using cached flake8_import_order-0.18.1-py2.py3-none-any.whl (15 kB)
Collecting flake8==3.9.2
  Using cached flake8-3.9.2-py2.py3-none-any.whl (73 kB)
Collecting jmespath==0.9.5
  Using cached jmespath-0.9.5-py2.py3-none-any.whl (24 kB)
Collecting mypy==0.910
  Using cached mypy-0.910-cp39-cp39-manylinux2010_x86_64.whl (23.2 MB)
Collecting mypy-extensions==0.4.3
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting mockldap>=0.3.0
  Using cached mockldap-0.3.0.post1-py2.py3-none-any.whl (13 kB)
Collecting nose==1.3.7
  Using cached nose-1.3.7-py3-none-any.whl (154 kB)
Collecting parameterized==0.8.1
  Using cached parameterized-0.8.1-py2.py3-none-any.whl (26 kB)
Collecting pip-tools==6.2.0
  Using cached pip_tools-6.2.0-py3-none-any.whl (46 kB)
Collecting tox==3.24.3
  Using cached tox-3.24.3-py2.py3-none-any.whl (85 kB)
Collecting mongoengine<0.7.99,>=0.7.10
  Using cached mongoengine-0.7.10-py3-none-any.whl
Collecting flask-mongoengine==0.7.1
  Using cached flask_mongoengine-0.7.1-py3-none-any.whl
Collecting pymongo<2.8.99,>=2.8.1
  Using cached pymongo-2.8.1-cp39-cp39-linux_x86_64.whl
Collecting Pillow<8.0.0,>=7.0.0
  Using cached Pillow-7.2.0.tar.gz (39.1 MB)
Collecting cython==0.29.17
  Using cached Cython-0.29.17-py2.py3-none-any.whl (971 kB)
Collecting mysqlclient==2.0.1
  Using cached mysqlclient-2.0.1-cp39-cp39-linux_x86_64.whl
Collecting psycopg2-binary==2.8.6
  Using cached psycopg2_binary-2.8.6-cp39-cp39-manylinux1_x86_64.whl (3.0 MB)
Collecting pyodbc==4.0.30
  Using cached pyodbc-4.0.30-cp39-cp39-linux_x86_64.whl
Collecting requests==2.25.0
  Using cached requests-2.25.0-py2.py3-none-any.whl (61 kB)
Collecting Authlib==0.15.4
  Using cached Authlib-0.15.4-py2.py3-none-any.whl (203 kB)
Collecting python-ldap==3.3.1
  Using cached python-ldap-3.3.1.tar.gz (379 kB)
Collecting cryptography
  Using cached cryptography-35.0.0-cp36-abi3-manylinux_2_24_x86_64.whl (3.5 MB)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting appdirs
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting pycodestyle<2.8.0,>=2.7.0
  Using cached pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB)
Collecting mccabe<0.7.0,>=0.6.0
  Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting pyflakes<2.4.0,>=2.3.0
  Using cached pyflakes-2.3.1-py2.py3-none-any.whl (68 kB)
Requirement already satisfied: setuptools in ./venv/lib/python3.9/site-packages (from flake8-import-order==0.18.1->-r requirements-dev.txt (line 3)) (53.0.0)
Collecting pep517
  Using cached pep517-0.12.0-py2.py3-none-any.whl (19 kB)
Requirement already satisfied: pip>=20.3 in ./venv/lib/python3.9/site-packages (from pip-tools==6.2.0->-r requirements-dev.txt (line 11)) (21.0.1)
Collecting wheel
  Using cached wheel-0.37.0-py2.py3-none-any.whl (35 kB)
Collecting pyasn1>=0.3.7
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pyasn1_modules>=0.1.5
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
INFO: pip is looking at multiple versions of pyyaml to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pytz to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of python3-openid to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of python-ldap to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of python-dateutil to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyrsistent to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyodbc to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyjwt to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of psycopg2-binary to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of prison to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pip-tools to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of parameterized to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of nose to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of mysqlclient to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of mypy-extensions to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of mypy to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of marshmallow-sqlalchemy to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of marshmallow-enum to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of marshmallow to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of markupsafe to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of jsonschema to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of jmespath to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of jinja2 to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of itsdangerous to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of importlib-metadata to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of idna to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-wtf to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-sqlalchemy to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-openid to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-mongoengine to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-login to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-jwt-extended to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-babel to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flake8-import-order to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flake8 to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of email-validator to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of dnspython to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of defusedxml to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of cython to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of coverage to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of colorama to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of click to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of black to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of babel to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of authlib to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of attrs to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of apispec to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of apispec[yaml] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements-extra.txt (line 9), -r requirements.txt (line 23) and idna==3.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested idna==3.2
    email-validator 1.1.3 depends on idna>=2.0.0
    requests 2.25.0 depends on idna<3 and >=2.5

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
WARNING: You are using pip version 21.0.1; however, version 21.3 is available.
You should consider upgrading via the '/home/ebosi/documents/Flask-AppBuilder/venv/bin/python -m pip install --upgrade pip' command.

$ pip --version
pip 21.3 from /home/ebosi/documents/Flask-AppBuilder/venv/lib64/python3.9/site-packages/pip (python 3.9)
$ python --version
Python 3.9.7

(reproduced with Python 3.7.12 as well)

@EBoisseauSierra
Copy link
Contributor Author

What is puzzling me, though, is that I've been able to do the following (Python 3.7.12):

$ python --version
Python 3.7.12

$ pip install -r requirements.txt
Collecting apispec[yaml]==3.3.2
  Using cached apispec-3.3.2-py2.py3-none-any.whl (27 kB)
Collecting attrs==21.2.0
  Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting babel==2.9.1
  Using cached Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
Collecting click==7.1.2
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting colorama==0.4.4
  Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting defusedxml==0.7.1
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting dnspython==2.1.0
  Using cached dnspython-2.1.0-py3-none-any.whl (241 kB)
Collecting email-validator==1.1.3
  Using cached email_validator-1.1.3-py2.py3-none-any.whl (18 kB)
Collecting flask==1.1.4
  Using cached Flask-1.1.4-py2.py3-none-any.whl (94 kB)
Collecting flask-babel==2.0.0
  Using cached Flask_Babel-2.0.0-py3-none-any.whl (9.3 kB)
Collecting flask-jwt-extended==3.25.1
  Using cached Flask-JWT-Extended-3.25.1.tar.gz (32 kB)
Collecting flask-login==0.4.1
  Using cached Flask-Login-0.4.1.tar.gz (14 kB)
Collecting flask-openid==1.3.0
  Using cached Flask_OpenID-1.3.0-py3-none-any.whl (9.3 kB)
Collecting flask-sqlalchemy==2.5.1
  Using cached Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB)
Collecting flask-wtf==0.14.3
  Using cached Flask_WTF-0.14.3-py2.py3-none-any.whl (13 kB)
Collecting idna==3.2
  Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting importlib-metadata==4.8.1
  Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting itsdangerous==1.1.0
  Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting jinja2==2.11.3
  Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting jsonschema==3.2.0
  Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting markupsafe==2.0.1
  Using cached MarkupSafe-2.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (31 kB)
Collecting marshmallow==3.13.0
  Using cached marshmallow-3.13.0-py2.py3-none-any.whl (47 kB)
Collecting marshmallow-enum==1.5.1
  Using cached marshmallow_enum-1.5.1-py2.py3-none-any.whl (4.2 kB)
Collecting marshmallow-sqlalchemy==0.26.1
  Using cached marshmallow_sqlalchemy-0.26.1-py2.py3-none-any.whl (15 kB)
Collecting prison==0.2.1
  Using cached prison-0.2.1-py2.py3-none-any.whl (5.8 kB)
Collecting pyjwt==1.7.1
  Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting pyrsistent==0.18.0
  Using cached pyrsistent-0.18.0-cp37-cp37m-manylinux1_x86_64.whl (119 kB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting python3-openid==3.2.0
  Using cached python3_openid-3.2.0-py3-none-any.whl (133 kB)
Collecting pytz==2021.1
  Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting pyyaml==5.4.1
  Using cached PyYAML-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (636 kB)
Collecting six==1.16.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting sqlalchemy==1.3.24
  Using cached SQLAlchemy-1.3.24-cp37-cp37m-manylinux2010_x86_64.whl (1.3 MB)
Collecting sqlalchemy-utils==0.37.8
  Using cached SQLAlchemy_Utils-0.37.8-py3-none-any.whl (100 kB)
Collecting typing-extensions==3.10.0.2
  Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting werkzeug==1.0.1
  Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting wtforms==2.3.3
  Using cached WTForms-2.3.3-py2.py3-none-any.whl (169 kB)
Collecting zipp==3.5.0
  Using cached zipp-3.5.0-py3-none-any.whl (5.7 kB)
Requirement already satisfied: setuptools in ./venv37/lib/python3.7/site-packages (from jsonschema==3.2.0->-r requirements.txt (line 58)) (53.0.0)
Using legacy 'setup.py install' for flask-jwt-extended, since package 'wheel' is not installed.
Using legacy 'setup.py install' for flask-login, since package 'wheel' is not installed.
Installing collected packages: markupsafe, zipp, werkzeug, typing-extensions, pytz, jinja2, itsdangerous, defusedxml, click, wtforms, sqlalchemy, six, pyyaml, python3-openid, pyrsistent, pyjwt, marshmallow, importlib-metadata, idna, flask, dnspython, babel, attrs, apispec, sqlalchemy-utils, python-dateutil, prison, marshmallow-sqlalchemy, marshmallow-enum, jsonschema, flask-wtf, flask-sqlalchemy, flask-openid, flask-login, flask-jwt-extended, flask-babel, email-validator, colorama
    Running setup.py install for flask-login ... done
    Running setup.py install for flask-jwt-extended ... done
Successfully installed apispec-3.3.2 attrs-21.2.0 babel-2.9.1 click-7.1.2 colorama-0.4.4 defusedxml-0.7.1 dnspython-2.1.0 email-validator-1.1.3 flask-1.1.4 flask-babel-2.0.0 flask-jwt-extended-3.25.1 flask-login-0.4.1 flask-openid-1.3.0 flask-sqlalchemy-2.5.1 flask-wtf-0.14.3 idna-3.2 importlib-metadata-4.8.1 itsdangerous-1.1.0 jinja2-2.11.3 jsonschema-3.2.0 markupsafe-2.0.1 marshmallow-3.13.0 marshmallow-enum-1.5.1 marshmallow-sqlalchemy-0.26.1 prison-0.2.1 pyjwt-1.7.1 pyrsistent-0.18.0 python-dateutil-2.8.2 python3-openid-3.2.0 pytz-2021.1 pyyaml-5.4.1 six-1.16.0 sqlalchemy-1.3.24 sqlalchemy-utils-0.37.8 typing-extensions-3.10.0.2 werkzeug-1.0.1 wtforms-2.3.3 zipp-3.5.0
WARNING: You are using pip version 21.0.1; however, version 21.3 is available.
You should consider upgrading via the '/home/ebosi/documents/Flask-AppBuilder/venv37/bin/python3.7 -m pip install --upgrade pip' command.


$ pip install -r requirements-dev.txt
Collecting black==19.3b0
  Using cached black-19.3b0-py36-none-any.whl (89 kB)
Collecting coverage==5.5
  Using cached coverage-5.5-cp37-cp37m-manylinux2010_x86_64.whl (242 kB)
Collecting flake8-import-order==0.18.1
  Using cached flake8_import_order-0.18.1-py2.py3-none-any.whl (15 kB)
Collecting flake8==3.9.2
  Using cached flake8-3.9.2-py2.py3-none-any.whl (73 kB)
Collecting jmespath==0.9.5
  Using cached jmespath-0.9.5-py2.py3-none-any.whl (24 kB)
Collecting mypy==0.910
  Using cached mypy-0.910-cp37-cp37m-manylinux2010_x86_64.whl (21.5 MB)
Collecting mypy-extensions==0.4.3
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting mockldap>=0.3.0
  Using cached mockldap-0.3.0.post1-py2.py3-none-any.whl (13 kB)
Collecting nose==1.3.7
  Using cached nose-1.3.7-py3-none-any.whl (154 kB)
Collecting parameterized==0.8.1
  Using cached parameterized-0.8.1-py2.py3-none-any.whl (26 kB)
Collecting pip-tools==6.2.0
  Using cached pip_tools-6.2.0-py3-none-any.whl (46 kB)
Collecting tox==3.24.3
  Using cached tox-3.24.3-py2.py3-none-any.whl (85 kB)
Requirement already satisfied: attrs>=18.1.0 in ./venv37/lib/python3.7/site-packages (from black==19.3b0->-r requirements-dev.txt (line 1)) (21.2.0)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting appdirs
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Requirement already satisfied: click>=6.5 in ./venv37/lib/python3.7/site-packages (from black==19.3b0->-r requirements-dev.txt (line 1)) (7.1.2)
Collecting pycodestyle<2.8.0,>=2.7.0
  Using cached pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB)
Requirement already satisfied: importlib-metadata in ./venv37/lib/python3.7/site-packages (from flake8==3.9.2->-r requirements-dev.txt (line 4)) (4.8.1)
Collecting mccabe<0.7.0,>=0.6.0
  Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting pyflakes<2.4.0,>=2.3.0
  Using cached pyflakes-2.3.1-py2.py3-none-any.whl (68 kB)
Requirement already satisfied: setuptools in ./venv37/lib/python3.7/site-packages (from flake8-import-order==0.18.1->-r requirements-dev.txt (line 3)) (53.0.0)
Requirement already satisfied: typing-extensions>=3.7.4 in ./venv37/lib/python3.7/site-packages (from mypy==0.910->-r requirements-dev.txt (line 6)) (3.10.0.2)
Collecting typed-ast<1.5.0,>=1.4.0
  Using cached typed_ast-1.4.3-cp37-cp37m-manylinux1_x86_64.whl (743 kB)
Collecting wheel
  Using cached wheel-0.37.0-py2.py3-none-any.whl (35 kB)
Collecting pep517
  Using cached pep517-0.12.0-py2.py3-none-any.whl (19 kB)
Requirement already satisfied: pip>=20.3 in ./venv37/lib/python3.7/site-packages (from pip-tools==6.2.0->-r requirements-dev.txt (line 11)) (21.0.1)
Collecting pluggy>=0.12.0
  Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
  Using cached virtualenv-20.8.1-py2.py3-none-any.whl (5.3 MB)
Collecting filelock>=3.0.0
  Using cached filelock-3.3.1-py3-none-any.whl (9.7 kB)
Collecting packaging>=14
  Using cached packaging-21.0-py3-none-any.whl (40 kB)
Requirement already satisfied: six>=1.14.0 in ./venv37/lib/python3.7/site-packages (from tox==3.24.3->-r requirements-dev.txt (line 12)) (1.16.0)
Collecting funcparserlib==0.3.6
  Using cached funcparserlib-0.3.6.tar.gz (30 kB)
Collecting python-ldap>=3.0
  Using cached python-ldap-3.3.1.tar.gz (379 kB)
Requirement already satisfied: zipp>=0.5 in ./venv37/lib/python3.7/site-packages (from importlib-metadata->flake8==3.9.2->-r requirements-dev.txt (line 4)) (3.5.0)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting pyasn1>=0.3.7
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pyasn1_modules>=0.1.5
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting platformdirs<3,>=2
  Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting backports.entry-points-selectable>=1.0.4
  Using cached backports.entry_points_selectable-1.1.0-py2.py3-none-any.whl (6.2 kB)
Collecting distlib<1,>=0.3.1
  Using cached distlib-0.3.3-py2.py3-none-any.whl (496 kB)
Collecting tomli>=1.1.0
  Using cached tomli-1.2.1-py3-none-any.whl (11 kB)
Using legacy 'setup.py install' for funcparserlib, since package 'wheel' is not installed.
Using legacy 'setup.py install' for python-ldap, since package 'wheel' is not installed.
Installing collected packages: pyasn1, tomli, pyparsing, pyasn1-modules, platformdirs, filelock, distlib, backports.entry-points-selectable, wheel, virtualenv, typed-ast, toml, python-ldap, pyflakes, pycodestyle, py, pluggy, pep517, packaging, mypy-extensions, mccabe, funcparserlib, appdirs, tox, pip-tools, parameterized, nose, mypy, mockldap, jmespath, flake8-import-order, flake8, coverage, black
    Running setup.py install for python-ldap ... done
    Running setup.py install for funcparserlib ... done
Successfully installed appdirs-1.4.4 backports.entry-points-selectable-1.1.0 black-19.3b0 coverage-5.5 distlib-0.3.3 filelock-3.3.1 flake8-3.9.2 flake8-import-order-0.18.1 funcparserlib-0.3.6 jmespath-0.9.5 mccabe-0.6.1 mockldap-0.3.0.post1 mypy-0.910 mypy-extensions-0.4.3 nose-1.3.7 packaging-21.0 parameterized-0.8.1 pep517-0.12.0 pip-tools-6.2.0 platformdirs-2.4.0 pluggy-1.0.0 py-1.10.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycodestyle-2.7.0 pyflakes-2.3.1 pyparsing-2.4.7 python-ldap-3.3.1 toml-0.10.2 tomli-1.2.1 tox-3.24.3 typed-ast-1.4.3 virtualenv-20.8.1 wheel-0.37.0
WARNING: You are using pip version 21.0.1; however, version 21.3 is available.
You should consider upgrading via the '/home/ebosi/documents/Flask-AppBuilder/venv37/bin/python3.7 -m pip install --upgrade pip' command.

$ pip install -r requirements-extra.txt
Collecting mongoengine<0.7.99,>=0.7.10
  Using cached mongoengine-0.7.10.tar.gz (98 kB)
Collecting flask-mongoengine==0.7.1
  Using cached flask-mongoengine-0.7.1.tar.gz (103 kB)
Collecting pymongo<2.8.99,>=2.8.1
  Using cached pymongo-2.8.1.tar.gz (399 kB)
Collecting Pillow<8.0.0,>=7.0.0
  Using cached Pillow-7.2.0-cp37-cp37m-manylinux1_x86_64.whl (2.2 MB)
Collecting cython==0.29.17
  Using cached Cython-0.29.17-cp37-cp37m-manylinux1_x86_64.whl (2.1 MB)
Collecting mysqlclient==2.0.1
  Using cached mysqlclient-2.0.1.tar.gz (87 kB)
Collecting psycopg2-binary==2.8.6
  Using cached psycopg2_binary-2.8.6-cp37-cp37m-manylinux1_x86_64.whl (3.0 MB)
Collecting pyodbc==4.0.30
  Using cached pyodbc-4.0.30.tar.gz (266 kB)
Collecting requests==2.25.0
  Using cached requests-2.25.0-py2.py3-none-any.whl (61 kB)
Collecting Authlib==0.15.4
  Using cached Authlib-0.15.4-py2.py3-none-any.whl (203 kB)
Requirement already satisfied: python-ldap==3.3.1 in ./venv37/lib/python3.7/site-packages (from -r requirements-extra.txt (line 11)) (3.3.1)
Collecting cryptography
  Using cached cryptography-35.0.0-cp36-abi3-manylinux_2_24_x86_64.whl (3.5 MB)
Requirement already satisfied: Flask>=0.8 in ./venv37/lib/python3.7/site-packages (from flask-mongoengine==0.7.1->-r requirements-extra.txt (line 2)) (1.1.4)
Requirement already satisfied: flask-wtf in ./venv37/lib/python3.7/site-packages (from flask-mongoengine==0.7.1->-r requirements-extra.txt (line 2)) (0.14.3)
Requirement already satisfied: pyasn1>=0.3.7 in ./venv37/lib/python3.7/site-packages (from python-ldap==3.3.1->-r requirements-extra.txt (line 11)) (0.4.8)
Requirement already satisfied: pyasn1_modules>=0.1.5 in ./venv37/lib/python3.7/site-packages (from python-ldap==3.3.1->-r requirements-extra.txt (line 11)) (0.2.8)
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Requirement already satisfied: Jinja2<3.0,>=2.10.1 in ./venv37/lib/python3.7/site-packages (from Flask>=0.8->flask-mongoengine==0.7.1->-r requirements-extra.txt (line 2)) (2.11.3)
Requirement already satisfied: itsdangerous<2.0,>=0.24 in ./venv37/lib/python3.7/site-packages (from Flask>=0.8->flask-mongoengine==0.7.1->-r requirements-extra.txt (line 2)) (1.1.0)
Requirement already satisfied: Werkzeug<2.0,>=0.15 in ./venv37/lib/python3.7/site-packages (from Flask>=0.8->flask-mongoengine==0.7.1->-r requirements-extra.txt (line 2)) (1.0.1)
Requirement already satisfied: click<8.0,>=5.1 in ./venv37/lib/python3.7/site-packages (from Flask>=0.8->flask-mongoengine==0.7.1->-r requirements-extra.txt (line 2)) (7.1.2)
Requirement already satisfied: MarkupSafe>=0.23 in ./venv37/lib/python3.7/site-packages (from Jinja2<3.0,>=2.10.1->Flask>=0.8->flask-mongoengine==0.7.1->-r requirements-extra.txt (line 2)) (2.0.1)
Collecting cffi>=1.12
  Downloading cffi-1.15.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (427 kB)
     |████████████████████████████████| 427 kB 2.6 MB/s 
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Requirement already satisfied: WTForms in ./venv37/lib/python3.7/site-packages (from flask-wtf->flask-mongoengine==0.7.1->-r requirements-extra.txt (line 2)) (2.3.3)
Building wheels for collected packages: flask-mongoengine, mysqlclient, pyodbc, mongoengine, pymongo
  Building wheel for flask-mongoengine (setup.py) ... done
  Created wheel for flask-mongoengine: filename=flask_mongoengine-0.7.1-py3-none-any.whl size=18623 sha256=99bb84ac8e903030370bcc67273196e7694f8d311f4e6b3988c3a20fc6b90448
  Stored in directory: /home/ebosi/.cache/pip/wheels/32/b9/83/e0c7600a66164aa0da46c9fe511ad2cd31fed19f9c8be9b7e6
  Building wheel for mysqlclient (setup.py) ... done
  Created wheel for mysqlclient: filename=mysqlclient-2.0.1-cp37-cp37m-linux_x86_64.whl size=107488 sha256=cd0897d5f4eaaab192d3ffc4068f3d67e5f506e9c9cee497701a890cd0e5be2b
  Stored in directory: /home/ebosi/.cache/pip/wheels/f0/33/cd/bfa1399be3b3b6fc77eb6a53e446eed887b1a35c90d0e3cbf2
  Building wheel for pyodbc (setup.py) ... done
  Created wheel for pyodbc: filename=pyodbc-4.0.30-cp37-cp37m-linux_x86_64.whl size=292641 sha256=9495ca3420d88d8c9533f87c244bf0dc11fa738ed4a2c333ff62d96237eb415e
  Stored in directory: /home/ebosi/.cache/pip/wheels/9f/67/8c/ae3f1fd5ba2c4e6548e5a92439fc3c4c3867f2143582574719
  Building wheel for mongoengine (setup.py) ... done
  Created wheel for mongoengine: filename=mongoengine-0.7.10-py3-none-any.whl size=66959 sha256=671ab2daf2553d8299927581d79f9aa5fa5e438032f9b65aec447ccd4f17650a
  Stored in directory: /home/ebosi/.cache/pip/wheels/e8/b4/46/eff900a2626cdda1fd15188b48bd0c19a28fba87a07000766f
  Building wheel for pymongo (setup.py) ... done
  Created wheel for pymongo: filename=pymongo-2.8.1-cp37-cp37m-linux_x86_64.whl size=301494 sha256=dd0b5e5574c1f4a261ea2eea7eef43f6c3486185977a65445f9da81f7104da3d
  Stored in directory: /home/ebosi/.cache/pip/wheels/e4/0f/c0/d673ecd3c12a0b41766620d1f9a06c273fef996ab7b5caa6e4
Successfully built flask-mongoengine mysqlclient pyodbc mongoengine pymongo
Installing collected packages: pycparser, pymongo, cffi, urllib3, mongoengine, idna, cryptography, chardet, certifi, requests, pyodbc, psycopg2-binary, Pillow, mysqlclient, flask-mongoengine, cython, Authlib
  Attempting uninstall: idna
    Found existing installation: idna 3.2
    Uninstalling idna-3.2:
      Successfully uninstalled idna-3.2
Successfully installed Authlib-0.15.4 Pillow-7.2.0 certifi-2021.10.8 cffi-1.15.0 chardet-3.0.4 cryptography-35.0.0 cython-0.29.17 flask-mongoengine-0.7.1 idna-2.10 mongoengine-0.7.10 mysqlclient-2.0.1 psycopg2-binary-2.8.6 pycparser-2.20 pymongo-2.8.1 pyodbc-4.0.30 requests-2.25.0 urllib3-1.26.7
WARNING: You are using pip version 21.0.1; however, version 21.3 is available.
You should consider upgrading via the '/home/ebosi/documents/Flask-AppBuilder/venv37/bin/python3.7 -m pip install --upgrade pip' command.

@EBoisseauSierra
Copy link
Contributor Author

This doesn't prevent the tests from failing later down the line:

$ python3.7 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ pip install -r requirements-dev.txt
$ pip install -r requirements-extra.txt

# something not on the docs
$ touch .env

$ docker-compose up -d
$ tox -e postgres
GLOB sdist-make: /home/ebosi/documents/Flask-AppBuilder/setup.py
postgres create: /home/ebosi/documents/Flask-AppBuilder/.tox/postgres
postgres installdeps: -rrequirements.txt, -rrequirements-dev.txt, -rrequirements-extra.txt
ERROR: invocation failed (exit code 1), logfile: /home/ebosi/documents/Flask-AppBuilder/.tox/postgres/log/postgres-1.log
=============================================================================== log start ================================================================================
Collecting apispec[yaml]==3.3.2
  Using cached apispec-3.3.2-py2.py3-none-any.whl (27 kB)
Collecting attrs==21.2.0
  Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting babel==2.9.1
  Using cached Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
Collecting click==7.1.2
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting colorama==0.4.4
  Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting defusedxml==0.7.1
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting dnspython==2.1.0
  Using cached dnspython-2.1.0-py3-none-any.whl (241 kB)
Collecting email-validator==1.1.3
  Using cached email_validator-1.1.3-py2.py3-none-any.whl (18 kB)
Collecting flask==1.1.4
  Using cached Flask-1.1.4-py2.py3-none-any.whl (94 kB)
Collecting flask-babel==2.0.0
  Using cached Flask_Babel-2.0.0-py3-none-any.whl (9.3 kB)
Collecting flask-jwt-extended==3.25.1
  Using cached Flask-JWT-Extended-3.25.1.tar.gz (32 kB)
Collecting flask-login==0.4.1
  Using cached Flask-Login-0.4.1.tar.gz (14 kB)
Collecting flask-openid==1.3.0
  Using cached Flask_OpenID-1.3.0-py3-none-any.whl (9.3 kB)
Collecting flask-sqlalchemy==2.5.1
  Using cached Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB)
Collecting flask-wtf==0.14.3
  Using cached Flask_WTF-0.14.3-py2.py3-none-any.whl (13 kB)
Collecting idna==3.2
  Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting importlib-metadata==4.8.1
  Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting itsdangerous==1.1.0
  Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting jinja2==2.11.3
  Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting jsonschema==3.2.0
  Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting markupsafe==2.0.1
  Using cached MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Collecting marshmallow==3.13.0
  Using cached marshmallow-3.13.0-py2.py3-none-any.whl (47 kB)
Collecting marshmallow-enum==1.5.1
  Using cached marshmallow_enum-1.5.1-py2.py3-none-any.whl (4.2 kB)
Collecting marshmallow-sqlalchemy==0.26.1
  Using cached marshmallow_sqlalchemy-0.26.1-py2.py3-none-any.whl (15 kB)
Collecting prison==0.2.1
  Using cached prison-0.2.1-py2.py3-none-any.whl (5.8 kB)
Collecting pyjwt==1.7.1
  Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting pyrsistent==0.18.0
  Using cached pyrsistent-0.18.0-cp39-cp39-manylinux1_x86_64.whl (117 kB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting python3-openid==3.2.0
  Using cached python3_openid-3.2.0-py3-none-any.whl (133 kB)
Collecting pytz==2021.1
  Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting pyyaml==5.4.1
  Using cached PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)
Collecting six==1.16.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting sqlalchemy==1.3.24
  Using cached SQLAlchemy-1.3.24-cp39-cp39-manylinux2010_x86_64.whl (1.3 MB)
Collecting sqlalchemy-utils==0.37.8
  Using cached SQLAlchemy_Utils-0.37.8-py3-none-any.whl (100 kB)
Collecting typing-extensions==3.10.0.2
  Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting werkzeug==1.0.1
  Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting wtforms==2.3.3
  Using cached WTForms-2.3.3-py2.py3-none-any.whl (169 kB)
Collecting zipp==3.5.0
  Using cached zipp-3.5.0-py3-none-any.whl (5.7 kB)
Collecting black==19.3b0
  Using cached black-19.3b0-py36-none-any.whl (89 kB)
Collecting coverage==5.5
  Using cached coverage-5.5-cp39-cp39-manylinux2010_x86_64.whl (243 kB)
Collecting flake8-import-order==0.18.1
  Using cached flake8_import_order-0.18.1-py2.py3-none-any.whl (15 kB)
Collecting flake8==3.9.2
  Using cached flake8-3.9.2-py2.py3-none-any.whl (73 kB)
Collecting jmespath==0.9.5
  Using cached jmespath-0.9.5-py2.py3-none-any.whl (24 kB)
Collecting mypy==0.910
  Using cached mypy-0.910-cp39-cp39-manylinux2010_x86_64.whl (23.2 MB)
Collecting mypy-extensions==0.4.3
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting mockldap>=0.3.0
  Using cached mockldap-0.3.0.post1-py2.py3-none-any.whl (13 kB)
Collecting nose==1.3.7
  Using cached nose-1.3.7-py3-none-any.whl (154 kB)
Collecting parameterized==0.8.1
  Using cached parameterized-0.8.1-py2.py3-none-any.whl (26 kB)
Collecting pip-tools==6.2.0
  Using cached pip_tools-6.2.0-py3-none-any.whl (46 kB)
Collecting tox==3.24.3
  Using cached tox-3.24.3-py2.py3-none-any.whl (85 kB)
Collecting mongoengine<0.7.99,>=0.7.10
  Using cached mongoengine-0.7.10-py3-none-any.whl
Collecting flask-mongoengine==0.7.1
  Using cached flask_mongoengine-0.7.1-py3-none-any.whl
Collecting pymongo<2.8.99,>=2.8.1
  Using cached pymongo-2.8.1-cp39-cp39-linux_x86_64.whl
Collecting Pillow<8.0.0,>=7.0.0
  Using cached Pillow-7.2.0.tar.gz (39.1 MB)
Collecting cython==0.29.17
  Using cached Cython-0.29.17-py2.py3-none-any.whl (971 kB)
Collecting mysqlclient==2.0.1
  Using cached mysqlclient-2.0.1-cp39-cp39-linux_x86_64.whl
Collecting psycopg2-binary==2.8.6
  Using cached psycopg2_binary-2.8.6-cp39-cp39-manylinux1_x86_64.whl (3.0 MB)
Collecting pyodbc==4.0.30
  Using cached pyodbc-4.0.30-cp39-cp39-linux_x86_64.whl
Collecting requests==2.25.0
  Using cached requests-2.25.0-py2.py3-none-any.whl (61 kB)
Collecting Authlib==0.15.4
  Using cached Authlib-0.15.4-py2.py3-none-any.whl (203 kB)
Collecting python-ldap==3.3.1
  Using cached python-ldap-3.3.1.tar.gz (379 kB)
Requirement already satisfied: setuptools in ./.tox/postgres/lib/python3.9/site-packages (from jsonschema==3.2.0->-r requirements.txt (line 58)) (58.1.0)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting appdirs
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting pycodestyle
  Using cached pycodestyle-2.8.0-py2.py3-none-any.whl (42 kB)
  Using cached pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB)
Collecting mccabe<0.7.0,>=0.6.0
  Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting pyflakes<2.4.0,>=2.3.0
  Using cached pyflakes-2.3.1-py2.py3-none-any.whl (68 kB)
Collecting pep517
  Using cached pep517-0.12.0-py2.py3-none-any.whl (19 kB)
Requirement already satisfied: pip>=20.3 in ./.tox/postgres/lib/python3.9/site-packages (from pip-tools==6.2.0->-r requirements-dev.txt (line 11)) (21.2.4)
Requirement already satisfied: wheel in ./.tox/postgres/lib/python3.9/site-packages (from pip-tools==6.2.0->-r requirements-dev.txt (line 11)) (0.37.0)
Collecting filelock>=3.0.0
  Using cached filelock-3.3.1-py3-none-any.whl (9.7 kB)
Collecting pluggy>=0.12.0
  Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting packaging>=14
  Using cached packaging-21.0-py3-none-any.whl (40 kB)
Collecting py>=1.4.17
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
  Using cached virtualenv-20.8.1-py2.py3-none-any.whl (5.3 MB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
INFO: pip is looking at multiple versions of pyodbc to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of psycopg2-binary to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of mysqlclient to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of cython to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-mongoengine to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of tox to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pip-tools to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of parameterized to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of nose to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of mypy-extensions to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of mypy to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of jmespath to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flake8 to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flake8-import-order to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of coverage to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of black to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of zipp to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of wtforms to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of werkzeug to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of typing-extensions to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of sqlalchemy-utils to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of sqlalchemy to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of six to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyyaml to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pytz to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of python3-openid to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of python-dateutil to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyrsistent to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyjwt to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of prison to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of marshmallow-sqlalchemy to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of marshmallow-enum to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of marshmallow to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of markupsafe to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of jsonschema to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of jinja2 to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of itsdangerous to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of importlib-metadata to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of idna to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-wtf to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-sqlalchemy to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-openid to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-login to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-jwt-extended to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask-babel to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of flask to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of email-validator to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of dnspython to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of defusedxml to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of colorama to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of click to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of babel to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of attrs to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of apispec[yaml] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements-extra.txt (line 9), -r requirements.txt (line 23) and idna==3.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested idna==3.2
    email-validator 1.1.3 depends on idna>=2.0.0
    requests 2.25.0 depends on idna<3 and >=2.5

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
WARNING: You are using pip version 21.2.4; however, version 21.3 is available.
You should consider upgrading via the '/home/ebosi/documents/Flask-AppBuilder/.tox/postgres/bin/python -m pip install --upgrade pip' command.

================================================================================ log end =================================================================================
ERROR: could not install deps [-rrequirements.txt, -rrequirements-dev.txt, -rrequirements-extra.txt]; v = InvocationError('/home/ebosi/documents/Flask-AppBuilder/.tox/postgres/bin/python -m pip install -rrequirements.txt -rrequirements-dev.txt -rrequirements-extra.txt', 1)
________________________________________________________________________________ summary _________________________________________________________________________________
ERROR:   postgres: could not install deps [-rrequirements.txt, -rrequirements-dev.txt, -rrequirements-extra.txt]; v = InvocationError('/home/ebosi/documents/Flask-AppBuilder/.tox/postgres/bin/python -m pip install -rrequirements.txt -rrequirements-dev.txt -rrequirements-extra.txt', 1)

@vash-sa
Copy link

vash-sa commented Oct 23, 2021

There is no one here

@dpgaspar
Copy link
Owner

@EBoisseauSierra that's strange, also CI runs on 3.6, 3.7 and 3.8, if this is related with a new PR you want to make, feel free to open it I'll help you there.

@EBoisseauSierra
Copy link
Contributor Author

EBoisseauSierra commented Oct 25, 2021

@dpgaspar thanks for looking into it (: I've created #1724 accordingly. However, I'm not certain this is related to my PR, as tox fails on v3.3.4 (i.e. “pure” master content).

I understand it's likely due to my local setup, as tests are passing. However, the idna<3 and >=2.5 error detailed above shouldn't been impacted by how I've installed stuff, should it?
(Hence raising an issue, at it didn't look like something so specific to my install.)

@dpgaspar
Copy link
Owner

makes sense, I'll look into it, thank you for reporting this

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Feel free to reopen it if it's still relevant to you. Thank you

@stale stale bot added the stale label Apr 16, 2022
@EBoisseauSierra
Copy link
Contributor Author

Happy to close as I haven't been able to reproduce the issue neither on:

with Python 3.9.12 and pip 21.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants