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

   PR #67467 added `pymysql>=1.0.3,<1.2` to `providers/mysql/pyproject.toml`
   because pymysql 1.2.0 broke SQLAlchemy's 
`AsyncAdapt_aiomysql_connection.ping()`
   (see https://github.com/sqlalchemy/sqlalchemy/issues/13306 — fix is merged
   but not yet released).
   
   PyPI constraints generation, however, installs the *released*
   `apache-airflow-providers-mysql` from PyPI, which does not yet carry that
   cap. So `generate_constraints_pypi_providers` still picks up pymysql 1.2.0
   and produces broken constraints.
   
   This mirrors the cap in
   `scripts/in_container/run_generate_constraints.py`'s
   `additional_constraints_for_highest_resolution`, alongside the existing
   `pyarrow>=22.0.0; python_version >= '3.14'` exclusion, with a comment
   explaining why and linking to the upstream SQLAlchemy issue.
   
   Also extends the existing comment in `providers/mysql/pyproject.toml` to
   name the actual root cause (SQLAlchemy's aiomysql adapter, not aiomysql
   itself) and link the same tracking issue, matching the convention in
   `CLAUDE.md` for workaround sites.
   
   Both caps can be removed once a SQLAlchemy release containing the fix
   for #13306 is published.
   
   related: #67467
   
   ---
   
   ##### 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