aws / aws-mwaa-local-runner

This repository provides a command line interface (CLI) utility that replicates an Amazon Managed Workflows for Apache Airflow (MWAA) environment locally.
MIT No Attribution
691 stars 701 forks source link

error in Flask-OpenID setup command: use_2to3 is invalid #72

Open falkce opened 2 years ago

falkce commented 2 years ago

I get an error while building the docker image at Step 15/25 : RUN chmod u+x /bootstrap.sh && /bootstrap.sh:

First:

Collecting Flask-OpenID<2,>=1.2.5
  Downloading Flask-OpenID-1.2.5.tar.gz (43 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yi3pagr7/flask-openid_32316dc8542641d5a6835996d16b863b/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yi3pagr7/flask-openid_32316dc8542641d5a6835996d16b863b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-pdcws92i
       cwd: /tmp/pip-install-yi3pagr7/flask-openid_32316dc8542641d5a6835996d16b863b/
  Complete output (1 lines):
  error in Flask-OpenID setup command: use_2to3 is invalid.
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/d1/a2/9d1fba3287a65f81b9d1c09c4f7cb16f8ea4988b1bc97ffea0d60983338f/Flask-OpenID-1.2.5.tar.gz#sha256=5a8ffe1c8c0ad1cc1f5030e1223ea27f8861ee0215a2a58a528cc61379e5ccab (from https://pypi.org/simple/flask-openid/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

And then:

INFO: pip is looking at multiple versions of apache-airflow[celery,crypto,statsd] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install apache-airflow because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

The conflict is caused by:
    flask-appbuilder 3.4.1 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.4.0 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.4 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.3 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.2 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.1 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.0 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.3 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.2 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.1 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.0 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.1.1 depends on Flask-OpenID<2 and >=1.2.5
    The user requested (constraint) flask-openid==1.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

The command '/bin/sh -c chmod u+x /bootstrap.sh && /bootstrap.sh' returned a non-zero code: 1

It's really weird since I was able to build the image without any issues yesterday. Today I removed it and tried to build it again and I keep getting the error above. It happens for both releases 2.0.2 and 1.10.12 - both raise the same error at the same point.


Hardware:

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   48 bits physical, 48 bits virtual
CPU(s):                          16
On-line CPU(s) list:             0-15
Thread(s) per core:              2
Core(s) per socket:              8
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       AuthenticAMD
CPU family:                      23
Model:                           96
Model name:                      AMD Ryzen 7 PRO 4750U with Radeon Graphics
Stepping:                        1
Frequency boost:                 enabled
CPU MHz:                         1700.000
CPU max MHz:                     1700,0000
CPU min MHz:                     1400,0000
BogoMIPS:                        3393.72
Virtualization:                  AMD-V
L1d cache:                       256 KiB
L1i cache:                       256 KiB
L2 cache:                        4 MiB
L3 cache:                        8 MiB
NUMA node0 CPU(s):               0-15

OS:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"
PRETTY_NAME="Ubuntu 21.10"
NAME="Ubuntu"
VERSION_ID="21.10"
VERSION="21.10 (Impish Indri)"
VERSION_CODENAME=impish
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=impish
wpwood commented 2 years ago

FYI, I ran into this same issue yesterday and found that there was a fix in Flask-OpenID 1.2.6. I updated docker/config/constraints.txt and docker/config/requirements.txt to Flask-OpenID=1.2.6, and the use_2to3 error went away. However, the conflict error remains:

INFO: pip is looking at multiple versions of apache-airflow[celery,crypto,statsd] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install apache-airflow because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

The conflict is caused by:
    flask-appbuilder 3.4.1 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.4.0 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.4 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.3 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.2 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.1 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.0 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.3 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.2 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.1 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.0 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.1.1 depends on Flask-OpenID<2 and >=1.2.5
    The user requested (constraint) flask-openid==1.2.6

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

The command '/bin/sh -c chmod u+x /bootstrap.sh && /bootstrap.sh' returned a non-zero code: 1

I'm building on an Intel MacBook Pro with the latest OS, but this build is actually happening in docker, which is amazon linux.

falkce commented 2 years ago

FYI, I ran into this same issue yesterday and found that there was a fix in Flask-OpenID 1.2.6. I updated docker/config/constraints.txt and docker/config/requirements.txt to Flask-OpenID=1.2.6, and the use_2to3 error went away. However, the conflict error remains:

INFO: pip is looking at multiple versions of apache-airflow[celery,crypto,statsd] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install apache-airflow because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

The conflict is caused by:
    flask-appbuilder 3.4.1 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.4.0 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.4 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.3 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.2 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.1 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.3.0 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.3 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.2 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.1 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.2.0 depends on Flask-OpenID<2 and >=1.2.5
    flask-appbuilder 3.1.1 depends on Flask-OpenID<2 and >=1.2.5
    The user requested (constraint) flask-openid==1.2.6

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

The command '/bin/sh -c chmod u+x /bootstrap.sh && /bootstrap.sh' returned a non-zero code: 1

I'm building on an Intel MacBook Pro with the latest OS, but this build is actually happening in docker, which is amazon linux.

Just tried it and I get the same outcome as you do.

ivica-k commented 2 years ago

The following worked for me in v1.10.12

$ git branch
  main
* v1.10.12

$ git diff docker/config/constraints.txt
diff --git a/docker/config/constraints.txt b/docker/config/constraints.txt
index 9574a37..11cd5a8 100644
--- a/docker/config/constraints.txt
+++ b/docker/config/constraints.txt
@@ -8,7 +8,7 @@ Flask-Bcrypt==0.7.1
 Flask-Caching==1.3.3
 Flask-JWT-Extended==3.24.1
 Flask-Login==0.4.1
-Flask-OpenID==1.2.5
+Flask-OpenID==1.3.0

$ ./mwaa-local-env build-image
... SNIP ...
 => exporting to image                                                                                                                                                                                11.2s
 => => exporting layers                                                                                                                                                                               11.2s
 => => writing image sha256:57c7ef00627df73230c188b0e7ff8345d5e0a4f8e258d8a1d93d8d0026f141c0                                                                                                           0.0s
 => => naming to docker.io/amazon/mwaa-local:1.10
falkce commented 2 years ago

The following worked for me in v1.10.12

$ git branch
  main
* v1.10.12

$ git diff docker/config/constraints.txt
diff --git a/docker/config/constraints.txt b/docker/config/constraints.txt
index 9574a37..11cd5a8 100644
--- a/docker/config/constraints.txt
+++ b/docker/config/constraints.txt
@@ -8,7 +8,7 @@ Flask-Bcrypt==0.7.1
 Flask-Caching==1.3.3
 Flask-JWT-Extended==3.24.1
 Flask-Login==0.4.1
-Flask-OpenID==1.2.5
+Flask-OpenID==1.3.0

$ ./mwaa-local-env build-image
... SNIP ...
 => exporting to image                                                                                                                                                                                11.2s
 => => exporting layers                                                                                                                                                                               11.2s
 => => writing image sha256:57c7ef00627df73230c188b0e7ff8345d5e0a4f8e258d8a1d93d8d0026f141c0                                                                                                           0.0s
 => => naming to docker.io/amazon/mwaa-local:1.10

Yes, setting Flask-OpenID==1.3.0 in /docker/config/constraints.txt solved it for me!

wpwood commented 2 years ago

1.3.0 worked for me as well. No idea why 1.2.6 didn't work. Sure seems like it would be in the range of "Flask-OpenID<2 and >=1.2.5"

andrescevp commented 2 years ago

in 2.0.2 I am getting the same issue in the build. ./mwaa-local-env build-image

I get

#11 66.21        cwd: /tmp/pip-install-eha__sf5/flask-openid_cf60d3c830174d75a5809dca0977d541/
#11 66.21   Complete output (1 lines):
#11 66.21   error in Flask-OpenID setup command: use_2to3 is invalid.
#11 66.21   ----------------------------------------
#11 66.21 WARNING: Discarding https://files.pythonhosted.org/packages/d1/a2/9d1fba3287a65f81b9d1c09c4f7cb16f8ea4988b1bc97ffea0d60983338f/Flask-OpenID-1.2.5.tar.gz#sha256=5a8ffe1c8c0ad1c
c1f5030e1223ea27f8861ee0215a2a58a528cc61379e5ccab (from https://pypi.org/simple/flask-openid/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full
command output.
#11 66.22 Collecting flask-appbuilder>=3.1.1,~=3.1
#11 66.25   Downloading Flask_AppBuilder-3.3.1-py3-none-any.whl (1.8 MB)
#11 66.57   Downloading Flask_AppBuilder-3.3.0-py3-none-any.whl (1.8 MB)
#11 66.89   Downloading Flask_AppBuilder-3.2.3-py3-none-any.whl (1.8 MB)
#11 67.30   Downloading Flask_AppBuilder-3.2.2-py3-none-any.whl (1.8 MB)
#11 67.61   Downloading Flask_AppBuilder-3.2.1-py3-none-any.whl (1.8 MB)
#11 67.92   Downloading Flask_AppBuilder-3.2.0-py3-none-any.whl (1.8 MB)
#11 68.27   Downloading Flask_AppBuilder-3.1.1-py3-none-any.whl (1.7 MB)
#11 68.57 INFO: pip is looking at multiple versions of flask to determine which version is compatible with other requirements. This could take a while.
#11 68.57 INFO: pip is looking at multiple versions of dill to determine which version is compatible with other requirements. This could take a while.
#11 68.57 INFO: pip is looking at multiple versions of cryptography to determine which version is compatible with other requirements. This could take a while.
#11 68.57 INFO: pip is looking at multiple versions of croniter to determine which version is compatible with other requirements. This could take a while.
#11 68.58 INFO: pip is looking at multiple versions of connexion[flask,swagger-ui] to determine which version is compatible with other requirements. This could take a while.
#11 68.58 INFO: pip is looking at multiple versions of colorlog to determine which version is compatible with other requirements. This could take a while.
#11 68.58 INFO: pip is looking at multiple versions of cattrs to determine which version is compatible with other requirements. This could take a while.
#11 68.58 INFO: pip is looking at multiple versions of cached-property to determine which version is compatible with other requirements. This could take a while.
#11 68.64 Collecting cached-property~=1.5
#11 68.65   Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
#11 68.77 INFO: pip is looking at multiple versions of attrs to determine which version is compatible with other requirements. This could take a while.
#11 68.77 INFO: pip is looking at multiple versions of argcomplete to determine which version is compatible with other requirements. This could take a while.
#11 68.77 ERROR: Cannot install apache-airflow because these package versions have conflicting dependencies.
#11 68.77 INFO: pip is looking at multiple versions of alembic to determine which version is compatible with other requirements. This could take a while.
#11 68.77 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.
#11 68.77 INFO: pip is looking at multiple versions of rich to determine which version is compatible with other requirements. This could take a while.
#11 68.77 INFO: pip is looking at multiple versions of apache-airflow[celery,crypto,statsd] to determine which version is compatible with other requirements. This could take a while.
#11 68.77
#11 68.77 The conflict is caused by:
#11 68.77     flask-appbuilder 3.4.1 depends on prison<1.0.0 and >=0.2.1
#11 68.77     flask-appbuilder 3.4.0 depends on prison<1.0.0 and >=0.2.1
#11 68.77     flask-appbuilder 3.3.4 depends on prison<1.0.0 and >=0.2.1
#11 68.77     flask-appbuilder 3.3.3 depends on prison<1.0.0 and >=0.2.1
#11 68.77     flask-appbuilder 3.3.2 depends on Flask-OpenID<2 and >=1.2.5
#11 68.77     flask-appbuilder 3.3.1 depends on Flask-OpenID<2 and >=1.2.5
#11 68.77     flask-appbuilder 3.3.0 depends on Flask-OpenID<2 and >=1.2.5
#11 68.77     flask-appbuilder 3.2.3 depends on Flask-OpenID<2 and >=1.2.5
#11 68.77     flask-appbuilder 3.2.2 depends on Flask-OpenID<2 and >=1.2.5
#11 68.77     flask-appbuilder 3.2.1 depends on Flask-OpenID<2 and >=1.2.5
#11 68.77     flask-appbuilder 3.2.0 depends on Flask-OpenID<2 and >=1.2.5
#11 68.77     flask-appbuilder 3.1.1 depends on Flask-OpenID<2 and >=1.2.5
#11 68.77     The user requested (constraint) flask-openid==1.2.5
#11 68.77     The user requested (constraint) prison==0.1.3
#11 68.77
#11 68.77 To fix this you could try to:
#11 68.77 1. loosen the range of package versions you've specified
#11 68.77 2. remove package versions to allow pip attempt to solve the dependency conflict
#11 68.77
#11 68.77 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
------
executor failed running [/bin/sh -c chmod u+x /bootstrap.sh && /bootstrap.sh]: exit code: 1

constraints.txt

# downloaded from https://raw.githubusercontent.com/apache/airflow/constraints-2-0/constraints-3.7.txt
# Editable install with no version control (apache-airflow==2.0.2)
APScheduler==3.6.3
Authlib==0.15.3
Babel==2.9.0
Flask-Babel==1.0.0
Flask-Bcrypt==0.7.1
Flask-Caching==1.10.1
Flask-JWT-Extended==3.25.1
Flask-Login==0.4.1
Flask-OAuthlib==0.9.5
Flask-OpenID==1.2.5
Flask-SQLAlchemy==2.5.1
Flask-WTF==0.14.3
Flask==1.1.2
GitPython==3.1.15
HeapDict==1.0.1
JPype1==1.2.1
JayDeBeApi==1.2.3
Jinja2==2.11.3
Mako==1.1.4
Markdown==3.3.4
MarkupSafe==1.1.1
PyHive==0.6.3
PyJWT==1.7.1
PyNaCl==1.4.0
PySmbClient==0.1.5
Pygments==2.8.1
SQLAlchemy-JSONField==1.0.0
SQLAlchemy-Utils==0.37.0
SQLAlchemy==1.3.24
Sphinx==3.4.3
Unidecode==1.2.0
WTForms==2.3.3
Werkzeug==1.0.1
adal==1.2.7
aiohttp==3.7.4.post0
alabaster==0.7.12
alembic==1.5.8
amqp==2.6.1
analytics-python==1.2.9
ansiwrap==0.8.4
apache-airflow-providers-airbyte==1.0.0
apache-airflow-providers-amazon==1.3.0
apache-airflow-providers-apache-beam==1.0.1
apache-airflow-providers-apache-cassandra==1.0.1
apache-airflow-providers-apache-druid==1.1.0
apache-airflow-providers-apache-hdfs==1.0.1
apache-airflow-providers-apache-hive==1.0.3
apache-airflow-providers-apache-kylin==1.0.1
apache-airflow-providers-apache-livy==1.1.0
apache-airflow-providers-apache-pig==1.0.1
apache-airflow-providers-apache-pinot==1.0.1
apache-airflow-providers-apache-spark==1.0.2
apache-airflow-providers-apache-sqoop==1.0.1
apache-airflow-providers-celery==1.0.1
apache-airflow-providers-cloudant==1.0.1
apache-airflow-providers-cncf-kubernetes==1.1.0
apache-airflow-providers-databricks==1.0.1
apache-airflow-providers-datadog==1.0.1
apache-airflow-providers-dingding==1.0.2
apache-airflow-providers-discord==1.0.1
apache-airflow-providers-docker==1.1.0
apache-airflow-providers-elasticsearch==1.0.3
apache-airflow-providers-exasol==1.1.1
apache-airflow-providers-facebook==1.1.0
apache-airflow-providers-ftp==1.0.1
apache-airflow-providers-google==2.2.0
apache-airflow-providers-grpc==1.1.0
apache-airflow-providers-hashicorp==1.0.2
apache-airflow-providers-http==1.1.1
apache-airflow-providers-imap==1.0.1
apache-airflow-providers-jdbc==1.0.1
apache-airflow-providers-jenkins==1.1.0
apache-airflow-providers-jira==1.0.1
apache-airflow-providers-microsoft-azure==1.3.0
apache-airflow-providers-microsoft-mssql==1.0.1
apache-airflow-providers-microsoft-winrm==1.1.0
apache-airflow-providers-mongo==1.0.1
apache-airflow-providers-mysql==1.1.0
apache-airflow-providers-neo4j==1.0.1
apache-airflow-providers-odbc==1.0.1
apache-airflow-providers-openfaas==1.1.1
apache-airflow-providers-opsgenie==1.0.2
apache-airflow-providers-oracle==1.1.0
apache-airflow-providers-pagerduty==1.0.1
apache-airflow-providers-papermill==1.0.2
apache-airflow-providers-plexus==1.0.1
apache-airflow-providers-postgres==1.0.1
apache-airflow-providers-presto==1.0.2
apache-airflow-providers-qubole==1.0.2
apache-airflow-providers-redis==1.0.1
apache-airflow-providers-salesforce==2.0.0
apache-airflow-providers-samba==1.0.1
apache-airflow-providers-segment==1.0.1
apache-airflow-providers-sendgrid==1.0.2
apache-airflow-providers-sftp==1.1.1
apache-airflow-providers-singularity==1.1.0
apache-airflow-providers-slack==3.0.0
apache-airflow-providers-snowflake==1.2.0
apache-airflow-providers-sqlite==1.0.2
apache-airflow-providers-ssh==1.3.0
apache-airflow-providers-tableau==1.0.0
apache-airflow-providers-telegram==1.0.2
apache-airflow-providers-trino==1.0.0
apache-airflow-providers-vertica==1.0.1
apache-airflow-providers-yandex==1.0.1
apache-airflow-providers-zendesk==1.0.1
apache-beam==2.28.0
apipkg==1.5
apispec==3.3.2
appdirs==1.4.4
argcomplete==1.12.3
arrow==1.0.3
asn1crypto==1.4.0
astroid==2.5.3
async-generator==1.10
async-timeout==3.0.1
atlasclient==1.0.0
attrs==20.3.0
avro-python3==1.9.2.1
aws-xray-sdk==2.7.0
azure-batch==10.0.0
azure-common==1.1.27
azure-core==1.13.0
azure-cosmos==3.2.0
azure-datalake-store==0.0.52
azure-identity==1.5.0
azure-keyvault-certificates==4.2.1
azure-keyvault-keys==4.3.1
azure-keyvault-secrets==4.2.0
azure-keyvault==4.1.0
azure-kusto-data==0.0.45
azure-mgmt-containerinstance==1.5.0
azure-mgmt-core==1.2.2
azure-mgmt-datafactory==1.1.0
azure-mgmt-datalake-nspkg==3.0.1
azure-mgmt-datalake-store==0.5.0
azure-mgmt-nspkg==3.0.2
azure-mgmt-resource==16.1.0
azure-nspkg==3.0.2
azure-storage-blob==12.8.0
azure-storage-common==2.1.0
azure-storage-file==2.1.0
backcall==0.2.0
bcrypt==3.2.0
beautifulsoup4==4.7.1
billiard==3.6.4.0
black==20.8b1
blinker==1.4
boto3==1.17.54
boto==2.49.0
botocore==1.20.54
bowler==0.9.0
cached-property==1.5.2
cachetools==4.2.1
cassandra-driver==3.20.2
cattrs==1.5.0
celery==4.4.7
certifi==2020.12.5
cffi==1.14.5
cfgv==3.2.0
cgroupspy==0.1.6
chardet==3.0.4
click==7.1.2
clickclick==20.10.2
cloudant==2.14.0
cloudpickle==1.4.1
colorama==0.4.4
colorlog==5.0.1
commonmark==0.9.1
connexion==2.7.0
coverage==5.5
crcmod==1.7
croniter==0.3.37
cryptography==3.4.7
curlify==2.2.1
cx-Oracle==8.1.0
dask==2021.4.0
datadog==0.41.0
decorator==5.0.7
defusedxml==0.7.1
dill==0.3.2
distlib==0.3.1
distributed==2.19.0
dnspython==1.16.0
docker-pycreds==0.4.0
docker==3.7.3
docopt==0.6.2
ecdsa==0.14.1
elasticsearch-dbapi==0.1.0
elasticsearch-dsl==7.3.0
elasticsearch==7.5.1
email-validator==1.1.2
entrypoints==0.3
eventlet==0.30.2
execnet==1.8.0
facebook-business==10.0.0
fastavro==1.4.0
fasteners==0.16
filelock==3.0.12
fissix==20.8.0
flake8-colors==0.1.9
flake8==3.9.1
flaky==3.7.0
flower==0.9.7
freezegun==1.1.0
fsspec==2021.4.0
future==0.18.2
gcsfs==0.8.0
gevent==21.1.2
gitdb==4.0.7
github3.py==2.0.0
google-ads==7.0.0
google-api-core==1.26.3
google-api-python-client==1.12.8
google-apitools==0.5.31
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.4.4
google-auth==1.29.0
google-cloud-automl==2.3.0
google-cloud-bigquery-datatransfer==3.1.1
google-cloud-bigquery-storage==2.4.0
google-cloud-bigquery==1.28.0
google-cloud-bigtable==1.7.0
google-cloud-build==2.0.0
google-cloud-container==1.0.1
google-cloud-core==1.6.0
google-cloud-datacatalog==3.1.1
google-cloud-dataproc==2.3.1
google-cloud-datastore==1.15.3
google-cloud-dlp==1.0.0
google-cloud-kms==2.2.0
google-cloud-language==1.3.0
google-cloud-logging==2.3.1
google-cloud-memcache==0.3.0
google-cloud-monitoring==2.2.1
google-cloud-os-login==2.1.0
google-cloud-pubsub==2.4.1
google-cloud-redis==2.1.0
google-cloud-secret-manager==1.0.0
google-cloud-spanner==1.19.1
google-cloud-speech==1.3.2
google-cloud-storage==1.37.1
google-cloud-tasks==2.2.0
google-cloud-texttospeech==1.0.1
google-cloud-translate==1.7.0
google-cloud-videointelligence==1.16.1
google-cloud-vision==1.0.0
google-cloud-workflows==0.2.0
google-crc32c==1.1.2
google-resumable-media==1.2.0
googleapis-common-protos==1.53.0
graphviz==0.16
greenlet==1.0.0
grpc-google-iam-v1==0.12.3
grpcio-gcp==0.2.2
grpcio==1.37.0
gunicorn==19.10.0
hdfs==2.6.0
hmsclient==0.1.1
httplib2==0.17.4
humanize==3.4.1
hvac==0.10.9
identify==2.2.4
idna==2.10
imagesize==1.2.0
importlib-metadata==1.7.0
importlib-resources==1.5.0
inflection==0.5.1
iniconfig==1.1.1
ipdb==0.13.7
ipython-genutils==0.2.0
ipython==7.22.0
iso8601==0.1.14
isodate==0.6.0
isort==5.8.0
itsdangerous==1.1.0
jedi==0.18.0
jira==2.0.0
jmespath==0.10.0
json-merge-patch==0.2
jsondiff==1.3.0
jsonpath-ng==1.5.2
jsonschema==3.2.0
jupyter-client==6.1.12
jupyter-core==4.7.1
jwcrypto==0.8
kombu==4.6.11
kubernetes==11.0.0
kylinpy==2.8.4
lazy-object-proxy==1.4.3
ldap3==2.9
libcst==0.3.18
locket==0.2.1
lockfile==0.12.2
marshmallow-enum==1.5.1
marshmallow-oneofschema==2.1.0
marshmallow-sqlalchemy==0.23.1
marshmallow==3.11.1
mccabe==0.6.1
mock==2.0.0
mongomock==3.22.1
more-itertools==8.7.0
moreorless==0.4.0
moto==2.0.5
msal-extensions==0.3.0
msal==1.11.0
msgpack==1.0.2
msrest==0.6.21
msrestazure==0.6.4
multi-key-dict==2.0.3
multidict==5.1.0
mypy-extensions==0.4.3
mypy==0.770
mysql-connector-python==8.0.22
mysqlclient==2.0.3
natsort==7.1.1
nbclient==0.5.3
nbformat==5.1.3
neo4j==4.2.1
nest-asyncio==1.5.1
nodeenv==1.6.0
nteract-scrapbook==0.4.2
ntlm-auth==1.5.0
numpy==1.20.2
oauth2client==4.1.3
oauthlib==2.1.0
openapi-schema-validator==0.1.5
openapi-spec-validator==0.3.0
oscrypto==1.2.1
packaging==20.9
pandas-gbq==0.14.1
pandas==1.2.4
papermill==2.3.3
parameterized==0.8.1
paramiko==2.7.2
parso==0.8.2
partd==1.2.0
pathspec==0.8.1
pbr==5.5.1
pdpyras==4.1.4
pendulum==2.1.2
pexpect==4.8.0
pickleshare==0.7.5
pinotdb==0.3.3
pipdeptree==2.0.0
pluggy==0.13.1
ply==3.11
plyvel==1.3.0
portalocker==1.7.1
pre-commit==2.12.1
presto-python-client==0.7.0
prison==0.1.3
prometheus-client==0.8.0
prompt-toolkit==3.0.18
proto-plus==1.18.1
protobuf==3.15.8
psutil==5.8.0
psycopg2-binary==2.8.6
ptyprocess==0.7.0
py4j==0.10.9
py==1.10.0
pyOpenSSL==19.1.0
pyarrow==2.0.0
pyasn1-modules==0.2.8
pyasn1==0.4.8
pycodestyle==2.7.0
pycountry==20.7.3
pycparser==2.20
pycryptodomex==3.10.1
pydata-google-auth==1.1.0
pydot==1.4.2
pydruid==0.6.2
pyenchant==3.2.0
pyexasol==0.18.1
pyflakes==2.3.1
pykerberos==1.2.1
pylint==2.7.4
pymongo==3.11.3
pymssql==2.2.1
pyodbc==4.0.30
pyparsing==2.4.7
pyrsistent==0.17.3
pysftp==0.2.9
pyspark==3.1.1
pytest-cov==2.11.1
pytest-forked==1.3.0
pytest-instafail==0.4.2
pytest-rerunfailures==9.1.1
pytest-timeouts==1.2.1
pytest-xdist==2.2.1
pytest==6.2.3
python-daemon==2.3.0
python-dateutil==2.8.1
python-editor==1.0.4
python-http-client==3.3.2
python-jenkins==1.7.0
python-jose==3.2.0
python-ldap==3.3.1
python-nvd3==0.15.0
python-slugify==4.0.1
python-telegram-bot==13.0
python3-openid==3.2.0
pytz==2021.1
pytzdata==2020.1
pywinrm==0.4.1
pyzmq==22.0.3
qds-sdk==1.16.1
redis==3.5.3
regex==2021.4.4
requests-kerberos==0.12.0
requests-mock==1.8.0
requests-ntlm==1.1.0
requests-oauthlib==1.1.0
requests-toolbelt==0.9.1
requests==2.25.1
responses==0.13.2
rich==9.2.0
rsa==4.7.2
s3transfer==0.4.0
sasl==0.2.1
semver==2.13.0
sendgrid==6.6.0
sentinels==1.0.0
sentry-sdk==1.0.0
setproctitle==1.2.2
simple-salesforce==1.11.1
six==1.15.0
slack-sdk==3.5.0
smmap==4.0.0
snakebite-py3==3.0.5
snowballstemmer==2.1.0
snowflake-connector-python==2.4.2
snowflake-sqlalchemy==1.2.4
sortedcontainers==2.3.0
soupsieve==2.2.1
sphinx-airflow-theme==0.0.2
sphinx-argparse==0.2.5
sphinx-autoapi==1.0.0
sphinx-copybutton==0.3.1
sphinx-jinja==1.1.1
sphinx-rtd-theme==0.5.2
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-dotnetdomain==0.4
sphinxcontrib-golangdomain==0.2.0.dev0
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-httpdomain==1.7.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-redoc==1.6.0
sphinxcontrib-serializinghtml==1.1.4
sphinxcontrib-spelling==5.2.1
spython==0.1.13
sshtunnel==0.1.5
starkbank-ecdsa==1.1.0
statsd==3.3.0
swagger-ui-bundle==0.0.8
tableauserverclient==0.15.0
tabulate==0.8.9
tblib==1.7.0
tenacity==6.2.0
termcolor==1.1.0
text-unidecode==1.3
textwrap3==0.9.2
thrift-sasl==0.4.2
thrift==0.13.0
toml==0.10.2
toolz==0.11.1
tornado==6.1
tqdm==4.60.0
traitlets==5.0.5
trino==0.305.0
typed-ast==1.4.3
typing-extensions==3.7.4.3
typing-inspect==0.6.0
tzlocal==2.1
ujson==4.0.2
unicodecsv==0.14.1
uritemplate==3.0.1
urllib3==1.25.11
vertica-python==1.0.1
vine==1.3.0
virtualenv==20.4.4
volatile==2.1.0
watchtower==0.7.3
wcwidth==0.2.5
websocket-client==0.58.0
wrapt==1.12.1
xmltodict==0.12.0
yamllint==1.26.1
yandexcloud==0.81.0
yarl==1.6.3
zdesk==2.7.1
zict==2.0.0
zipp==3.4.1
zope.event==4.5.0
zope.interface==5.4.0
falkce commented 2 years ago

@andrescevp Try changing Flask-OpenID==1.2.5 to Flask-OpenID==1.3.0 in /docker/config/constraints.txt. That solved the issue for @wpwood and me.

andrescevp commented 2 years ago

@falkzeh yeah that works, I did some workaround to avoid mess up this repo in my integrations. (this repo is a submodule in my integration)

constraints_Flask_OpenID_1_3_0.patch

12c12
< Flask-OpenID==1.2.5
---
> Flask-OpenID==1.3.0

so I can run later

patch aws-mwaa-local-runner/docker/config/constraints.txt patches/constraints_Flask_OpenID_1_3_0.patch
ivica-k commented 2 years ago

Thanks for verifying it works. Posted a PR to the main branch so the container for Airflow 2.x will be fixed.

ivica-k commented 2 years ago

PR #73 finally in main :)