Drop support for Python 3.7

This commit is contained in:
JonnyWong16 2023-08-24 12:20:50 -07:00
parent 67842cfa02
commit b133904b48
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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

View file

@ -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."