besar22 opened a new issue #16758:
URL: https://github.com/apache/airflow/issues/16758
**Apache Airflow version**: 2.1.0
**Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
**Environment**: Ubuntu Linux 4.15.0-126-generic
**What happened**:
running `airflow webserver` , produces
```
File
"~/.local/share/virtualenvs/airflow-venv/lib/python3.8/site-packages/airflow/_vendor/connexion/decorators/security.py",
line 17, in <module>
limits = httpx.Limits(max_keepalive_connections=100, max_connections=100)
AttributeError: module 'httpx' has no attribute 'Limits'
```
**What you expected to happen**:
Webserver should start
**How to reproduce it**:
```
pip install httpx==0.13.3 --force-reinstall
airflow webserver
```
**Anything else we need to know**:
from [httpx
documentation](https://github.com/encode/httpx/blob/master/CHANGELOG.md#0140-august-7th-2020)
they updated httpx.Limits().
Therefore the apache-airflow should be restricted to run on more recent
version of httpx. Currently it has no constrain and pip does not report a
dependency error.
I have not tested all versions that work. For me the latest one httpx==18.2
works.
Thank you
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]