Commit d7096ac
authored
fix: resolve mutually exclusive cryptography version in dev extras (#794)
The `dev` extras group declared `cryptography>=45.0.3,<46.0` while the
`iatp` extras (which `dev` includes transitively via `full`) declared
`cryptography>=46.0.5,<47.0`. These constraints are mutually exclusive —
no version of cryptography satisfies both simultaneously.
When pip attempts to install `.[dev]` it cannot resolve the dependency
tree, causing the install to fall back to a minimal install without
`redis` and the other optional dependencies. This produces 3 test
failures in test_stateless.py:
- TestRedisConfig::test_get_client_creates_pool_with_config
- TestRedisConfig::test_get_client_without_config_uses_from_url
- TestRedisErrorHandling::test_unavailable_redis_via_get_client
All three fail with ModuleNotFoundError: No module named 'redis' because
redis was never actually installed due to the dependency resolution
failure.
Fix: align the cryptography pin in dev extras to match the iatp
constraint (>=46.0.5,<47.0). The latest release is 46.0.6 which
satisfies this range. All 2,861 tests pass after this change.1 parent 2e4f1b5 commit d7096ac
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments