GitHub user potiuk added a comment to the discussion: `AttributeError: module 'flask.json' has no attribute 'JSONEncoder'`
Please compare your installed packages with airflow constraints if you want to install airlfow. It looks like you have Flask version installed that removed JSONEncoder. Also connexion might be wrong. Generally https://airflow.apache.org/docs/apache-airflow/stable/installation/installing-from-pypi.html describes the only "confirmed" way of installing airflow in a reproducible way - and constraints contain the same Flask version in 3.0.4 as it was in 3.0.3. We also mention in the docs that the other ways of installing Airflow (such as pipenv) might exhibit problems. Generally - compare what you installed with the corresponding constraints - or even find a way how to use constraints with pipenv. Please let us know what you find - I woudl be courious why in your case pipenv configuration apparently installed a wrong dependency. Converting to a discussion. GitHub link: https://github.com/apache/airflow/discussions/54368#discussioncomment-14075938 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
