KEMBAR78
infra: drop support for Python 3.7 and mark 3.11 as supported by nfelt · Pull Request #6144 · tensorflow/tensorboard · GitHub
Skip to content

Conversation

@nfelt
Copy link
Contributor

@nfelt nfelt commented Jan 13, 2023

Fixes #6138.

Python 3.7 is almost at EOL (coming up in a few months), and has already been dropped by TensorFlow.

This updates our CI to use Python 3.8. It also marks Python 3.11 as supported (it was released to stable last fall).

Tested: confirmed that TensorBoard works as expected with Python 3.11, as follows:

$ docker run -it -p 6006:6006 --mount source=$HOME/scratch/demodir,destination=/logs,readonly python:3.11 bash
root@dac67b60b6af:/# python --version
Python 3.11.1
root@dac67b60b6af:/# pip install tensorboard
...
root@dac67b60b6af:/# tensorboard --logdir /logs --bind_all
...

@nfelt nfelt marked this pull request as ready for review January 14, 2023 00:18
@nfelt nfelt requested a review from arcra January 14, 2023 00:20
@nfelt nfelt merged commit fe7ecfe into tensorflow:master Jan 14, 2023
@nfelt nfelt deleted the py38 branch January 14, 2023 00:33
yatbear pushed a commit to yatbear/tensorboard that referenced this pull request Mar 27, 2023
…flow#6144)

Fixes tensorflow#6138.

Python 3.7 is almost at EOL (coming up in [a few
months](https://devguide.python.org/versions/#supported-versions)), and
has already been [dropped by
TensorFlow](tensorflow/tensorflow@53ffdf1).

This updates our CI to use Python 3.8. It also marks Python 3.11 as
supported (it was released to stable last fall).

Tested: confirmed that TensorBoard works as expected with Python 3.11,
as follows:

```
$ docker run -it -p 6006:6006 --mount source=$HOME/scratch/demodir,destination=/logs,readonly python:3.11 bash
root@dac67b60b6af:/# python --version
Python 3.11.1
root@dac67b60b6af:/# pip install tensorboard
...
root@dac67b60b6af:/# tensorboard --logdir /logs --bind_all
...
```
dna2github pushed a commit to dna2fork/tensorboard that referenced this pull request May 1, 2023
…flow#6144)

Fixes tensorflow#6138.

Python 3.7 is almost at EOL (coming up in [a few
months](https://devguide.python.org/versions/#supported-versions)), and
has already been [dropped by
TensorFlow](tensorflow/tensorflow@53ffdf1).

This updates our CI to use Python 3.8. It also marks Python 3.11 as
supported (it was released to stable last fall).

Tested: confirmed that TensorBoard works as expected with Python 3.11,
as follows:

```
$ docker run -it -p 6006:6006 --mount source=$HOME/scratch/demodir,destination=/logs,readonly python:3.11 bash
root@dac67b60b6af:/# python --version
Python 3.11.1
root@dac67b60b6af:/# pip install tensorboard
...
root@dac67b60b6af:/# tensorboard --logdir /logs --bind_all
...
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade officially supported Python version to 3.8 or later

2 participants