Skip to content

Commit

Permalink
Officially deprecate support for python 3.8 (#7933)
Browse files Browse the repository at this point in the history
### What
- Resolves: #7830

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested the web demo (if applicable):
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/7933?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/7933?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG
* [x] If applicable, add a new check to the [release
checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)!
* [x] If have noted any breaking changes to the log API in
`CHANGELOG.md` and the migration guide

- [PR Build Summary](https://build.rerun.io/pr/7933)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

To run all checks from `main`, comment on the PR with `@rerun-bot
full-check`.
  • Loading branch information
jleibs authored Oct 30, 2024
1 parent ed39d96 commit dcddc0d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/content/reference/migration/migration-0-20.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ You can learn more about Rerun's application model and the different servers and
`re_query::Caches` has been renamed `re_query::QueryCache`, and similarly for `re_query::CacheKey`.

Note that this doesn't affect `re_dataframe`, where this type was already re-exported as `QueryCache`.

## ❗ Deprecations

Support for Python 3.8 is being deprecated. Python 3.8 is past end-of-life. See: https://devguide.python.org/versions/
In the next release, we will fully drop support and switch to Python 3.9 as the minimum supported version.
9 changes: 9 additions & 0 deletions rerun_py/rerun_sdk/rerun/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import functools
import random
import sys
import warnings
from typing import Any, Callable, TypeVar, cast
from uuid import UUID

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


if sys.version_info < (3, 9):
warnings.warn(
"Python 3.8 is past EOL (https://devguide.python.org/versions/). Rerun version 0.21 will drop support/testing of Python 3.8.",
DeprecationWarning,
)

# =====================================
# API RE-EXPORTS
# Important: always us the `import _ as _` format to make it explicit to type-checkers that these are public APIs.
Expand Down

0 comments on commit dcddc0d

Please sign in to comment.