|
| 1 | +# Dependency Upgrade TODO |
| 2 | + |
| 3 | +Action items for upgrading dependencies (Python 3.10-3.14 support). |
| 4 | + |
| 5 | +## Later |
| 6 | + |
| 7 | +- [ ] **Upgrade `pytest`**: Change from `~=8.0` to `~=9.0` in `pyproject.toml` (major version upgrade) |
| 8 | + |
| 9 | +## High Priority |
| 10 | + |
| 11 | +- [x] **Upgrade `gremlinpython`**: Change from `==3.7.4` to `>=3.7.4,<4` in `pyproject.toml` (latest is 3.8.0) |
| 12 | +- [x] **Raise `setuptools` floor**: Change from `>=42` to `>=70` in `build-system.requires` |
| 13 | + |
| 14 | +## Medium Priority - Deprecated/Unmaintained Packages |
| 15 | + |
| 16 | +- [ ] **Replace `asynctest`**: Package unmaintained since 2020, incompatible with Python 3.12+ |
| 17 | + - Migrate to `unittest.IsolatedAsyncioTestCase` (stdlib) or `pytest-asyncio` |
| 18 | + - Search codebase: `grep -r "asynctest" tests/` |
| 19 | + |
| 20 | +- [ ] **Migrate from `pytz` to `zoneinfo`**: `pytz` is deprecated |
| 21 | + - `zoneinfo` is in stdlib since Python 3.9 |
| 22 | + - Django 5.x dropped pytz support entirely |
| 23 | + - Search codebase: `grep -r "pytz" cassandra/ tests/` |
| 24 | + |
| 25 | +- [ ] **Evaluate `scales` dependency**: Last release in 2015, only tested on Python 2.7/3.3 |
| 26 | + - Determine if still needed for metrics |
| 27 | + - Consider alternatives or removal |
| 28 | + |
| 29 | +- [ ] **Monitor `pure-sasl`**: Last release in 2019, unmaintained |
| 30 | + - Works but no active maintenance |
| 31 | + - Consider `pysasl` as potential alternative if issues arise |
| 32 | + |
| 33 | +## Low Priority - Minor Updates |
| 34 | + |
| 35 | +- [x] **Pin `cython` version**: Add `cython>=3.2` constraint in dev dependencies |
| 36 | +- [x] **Pin `packaging` version**: Add `packaging>=25.0` constraint in dev dependencies |
| 37 | +- [x] **Update `cryptography` floor**: Consider raising from `>=35.0` to `>=42.0` |
| 38 | + |
| 39 | +## Notes |
| 40 | + |
| 41 | +- **`eventlet`**: At latest (0.40.4) but in maintenance-only mode. New projects discouraged from using it. Consider long-term migration to asyncio. |
| 42 | +- **`geomet`**: No updates available (1.1.0 is latest, package appears unmaintained) |
| 43 | +- **`python-snappy`**: At latest (0.7.3) but limited maintenance activity |
| 44 | +- **`twisted`**, **`gevent`**, **`futurist`**: Already at latest versions |
| 45 | + |
| 46 | +## References |
| 47 | + |
| 48 | +- gremlinpython: https://pypi.org/project/gremlinpython/ |
| 49 | +- pytest changelog: https://docs.pytest.org/en/stable/changelog.html |
| 50 | +- pytz deprecation: https://fedoraproject.org/wiki/Changes/DeprecatePytz |
| 51 | +- asynctest status: https://pypi.org/project/asynctest/ |
| 52 | +- eventlet maintenance policy: https://pypi.org/project/eventlet/ |
0 commit comments