Planned Removals and Deprecations - terrier-org/pyterrier GitHub Wiki
Python-version related changes
For reference, Python versions
Python | Released | EOL |
---|---|---|
3.8 | Oct 2019 | Oct 2024 |
3.9 | Oct 2020 | Oct 2025 |
3.10 | Oct 2021 | Oct 2026 |
Change | Where | Minimum Version |
---|---|---|
remove Python version check for loop assignments | java.py#L438-L441 | 3.9 |
simplify Union typing notation | lots | 3.10 |
use typing.Self rather than 'Transformer ' | Mostly transformer.py | 3.11 |
Other deprecations
Deprecation | Where | Deprecated Since | Being removed in |
---|---|---|---|
old signature for pt.Experiment | pipelines.py#L350-L363 | Jun 23, 2020 | 0.13.1 |
maxmin score | pipeline.py | 0.14 | 0.15 |
remove support for >> lambda/fn | transformer.py#L22-L43 | Aug 27, 2022 | 0.13.1 |
remove support for .transform(str) in Retriever | terrier/retriever.py#L382-L384 | Jan 13, 2021 | 0.13.1 |
warning for 9 values in rank cutoff | ops.py#L186-L187 | Oct 21, 2020 | gone already |
pt.init() etc. | init.py#L34-L46 | 0.11 (Aug 2024) | |
~ operator and pt.cache() | transformer.py#L329-L332 and cache.py | 0.12.0 (5th Dec 2024) | |
Old names for retriever | https://github.com/terrier-org/pyterrier/blob/master/pyterrier/terrier/__init__.py#L16-L46 | 0.11 (Aug 2024) | tbc |
DFIndexer | https://github.com/terrier-org/pyterrier/blob/master/pyterrier/terrier/index.py#L487 | 0.11 (Aug 2024) | tbc |