nailo2c opened a new pull request, #66835:
URL: https://github.com/apache/airflow/pull/66835

   ## Summary
   
   Cap `flask-jwt-extended<4.7.3` in `providers/fab` to unblock the `Compat 
3.0.6:P3.10` provider tests, which fail deterministically on `main` (e.g. 
canary runs 
[25759191603](https://github.com/apache/airflow/actions/runs/25759191603), 
[25760423290](https://github.com/apache/airflow/actions/runs/25760423290)) with:
   
   ```
   flask_jwt_extended/tokens.py:14: from jwt.types import Options
   E   ImportError: cannot import name 'Options' from 'jwt.types'
   ```
   
   ## Root cause
   
   `flask-jwt-extended` 
[4.7.3](https://github.com/vimalloc/flask-jwt-extended/releases/tag/4.7.3) 
(2026-05-08) added `from jwt.types import Options` in 
[`ed65bb2`](https://github.com/vimalloc/flask-jwt-extended/commit/ed65bb22af4706b1753413d5cbd6d7b9ff7f1ebf)
   but kept `PyJWT>=2.0`. `Options` only exists in `PyJWT>=2.11`.
   
   Compat 3.0.6's constraints pin `PyJWT==2.10.1`, while 
`--providers-skip-constraints` upgrades `flask-jwt-extended` to 4.7.3.
   
   Remove the cap once upstream raises its `PyJWT` lower bound.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.7)
   
   Generated-by: Claude Code (Opus 4.7) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


-- 
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]

Reply via email to