Skip to content

Commit 218dcff

Browse files
committed
Officially deprecate support for python 3.8
1 parent 8271c90 commit 218dcff

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/content/reference/migration/migration-0-20.md

+5
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ You can learn more about Rerun's application model and the different servers and
2525
`re_query::Caches` has been renamed `re_query::QueryCache`, and similarly for `re_query::CacheKey`.
2626

2727
Note that this doesn't affect `re_dataframe`, where this type was already re-exported as `QueryCache`.
28+
29+
## ❗ Deprecations
30+
31+
Support for Python 3.8 is being deprecated. Python 3.8 is past end-of-life. See: https://devguide.python.org/versions/
32+
In the next release, we will fully drop support and switch to Python 3.9 as the minimum supported version.

rerun_py/rerun_sdk/rerun/__init__.py

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
import functools
44
import random
5+
import sys
6+
import warnings
57
from typing import Any, Callable, TypeVar, cast
68
from uuid import UUID
79

@@ -10,6 +12,13 @@
1012
__version__ = "0.20.0-alpha.1+dev"
1113
__version_info__ = (0, 20, 0, "alpha.1")
1214

15+
16+
if sys.version_info < (3, 9):
17+
warnings.warn(
18+
"Python 3.8 is past EOL (https://devguide.python.org/versions/). Rerun version 0.21 will drop support/testing of Python 3.8.",
19+
DeprecationWarning,
20+
)
21+
1322
# =====================================
1423
# API RE-EXPORTS
1524
# Important: always us the `import _ as _` format to make it explicit to type-checkers that these are public APIs.

0 commit comments

Comments
 (0)