diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 19644c56..46a644e5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ All pull requests should be based on the `nightly` branch, to minimize cross mer ### Python Code #### Compatibility -The code should work with Python 3.7+. Note that Tautulli runs on many different platforms. +The code should work with Python 3.8+. Note that Tautulli runs on many different platforms. Re-use existing code. Do not hesitate to add logging in your code. You can the logger module `plexpy.logger.*` for this. Web requests are invoked via `plexpy.request.*` and derived ones. Use these methods to automatically add proper and meaningful error handling. diff --git a/README.md b/README.md index d38f69e1..a6a3e4e4 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ and [PlexWatchWeb](https://github.com/ecleese/plexWatchWeb). [![Docker Stars][badge-docker-stars]][DockerHub] [![Downloads][badge-downloads]][Releases Latest] -[badge-python]: https://img.shields.io/badge/python->=3.7-blue?style=flat-square +[badge-python]: https://img.shields.io/badge/python->=3.8-blue?style=flat-square [badge-docker-pulls]: https://img.shields.io/docker/pulls/tautulli/tautulli?style=flat-square [badge-docker-stars]: https://img.shields.io/docker/stars/tautulli/tautulli?style=flat-square [badge-downloads]: https://img.shields.io/github/downloads/Tautulli/Tautulli/total?style=flat-square diff --git a/start.sh b/start.sh index 7869c3c6..a9970df7 100755 --- a/start.sh +++ b/start.sh @@ -12,7 +12,7 @@ if [[ "$TAUTULLI_DOCKER" == "True" ]]; then echo "Running Tautulli using user tautulli (uid=$(id -u tautulli)) and group tautulli (gid=$(id -g tautulli))" exec gosu tautulli "$@" else - python_versions=("python3" "python3.8" "python3.7" "python3.6" "python" "python2" "python2.7") + python_versions=("python3.11" "python3.10" "python3.9" "python3.8" "python3" "python") for cmd in "${python_versions[@]}"; do if command -v "$cmd" >/dev/null; then echo "Starting Tautulli with $cmd."