You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "rjgoyln (via GitHub)" <gi...@apache.org> on 2026/08/05 04:50:43 UTC
[PR] Fix snowflake provider installs picking an unimportable pyOpenSSL [airflow]
rjgoyln opened a new pull request, #71145:
URL: https://github.com/apache/airflow/pull/71145
## Summary
The `Compat 2.11.1`, `Compat 3.0.6` and `Compat 3.1.8` provider jobs fail collection on main with `AttributeError: module 'lib' has no attribute 'GEN_EMAIL'`; 3.2.2 and 3.3.0 are unaffected.
Those jobs resolve the freshly built distributions unpinned (`--providers-skip-constraints`), and with the apache/beam provider suspended nothing in the set caps `cryptography` any more, so it goes to the newest release. `snowflake-connector-python` below 4.4.0 requires `pyOpenSSL<26.0.0`, and the only candidate in that window claiming compatibility with a current cryptography is 22.0.0 — which declares `cryptography>=35.0` with no upper bound at all. The resolver takes it, backtracks the connector to 4.0.0 to match, and lands on an environment that installs cleanly and then dies the moment anything imports `urllib3.contrib.pyopenssl`.
22.1.0 is the first pyOpenSSL release that bounds cryptography honestly, so the floor drops exactly the releases that lie and nothing else. Raising `snowflake-connector-python` to `>=4.4.0` — the release that dropped the cap — would be the tidier fix but requires `cryptography>=46.0.5`, unsatisfiable against the constraints of every Airflow version these jobs cover.
## Tests
Resolving main's full provider dependency set for Python 3.10: unpinned now selects connector 4.7.1 with pyOpenSSL 26.3.0, and pinning cryptography to each value the released constraint files carry (41.0.7 / 42.0.8 / 44.0.3 / 45.0.7) still yields an importable pair.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Opus 5)
Generated-by: Claude Code (Opus 5) 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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix snowflake provider installs picking an unimportable pyOpenSSL [airflow]
Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh commented on PR #71145:
URL: https://github.com/apache/airflow/pull/71145#issuecomment-5189456570
Taking a look.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix snowflake provider installs picking an unimportable pyOpenSSL [airflow]
Posted by "jason810496 (via GitHub)" <gi...@apache.org>.
jason810496 commented on PR #71145:
URL: https://github.com/apache/airflow/pull/71145#issuecomment-5193074097
Nice!
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix snowflake provider installs picking an unimportable pyOpenSSL [airflow]
Posted by "jason810496 (via GitHub)" <gi...@apache.org>.
jason810496 merged PR #71145:
URL: https://github.com/apache/airflow/pull/71145
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix snowflake provider installs picking an unimportable pyOpenSSL [airflow]
Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh closed pull request #71145: Fix snowflake provider installs picking an unimportable pyOpenSSL
URL: https://github.com/apache/airflow/pull/71145
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org