fix(tisbackup): update to python 3.14
Some checks failed
lint / docker (push) Has been cancelled

This commit is contained in:
k3nny 2026-06-05 00:13:16 +02:00
parent 1cb731cbdb
commit 4337b0e925
7 changed files with 11 additions and 11 deletions

View File

@ -14,7 +14,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.13'
python-version: '3.14'
cache: 'pip' # caching pip dependencies
- run: pip install ruff
- run: |

View File

@ -1 +1 @@
3.13
3.14

View File

@ -181,7 +181,7 @@ Two-container architecture:
- Line length: 140 characters (configured in pyproject.toml)
- Ruff ignores: F401, F403, F405, E402, E701, E722, E741
- Python 3.13+ required
- Python 3.14+ required
## Commit Message Guidelines

View File

@ -1,4 +1,4 @@
FROM python:3.13-slim
FROM python:3.14-slim
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
WORKDIR /opt/tisbackup
@ -23,4 +23,4 @@ RUN apt-get update && apt-get upgrade -y \
EXPOSE 8080
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/usr/local/bin/python3.13","/opt/tisbackup/tisbackup_gui.py"]
CMD ["/usr/local/bin/python3.14","/opt/tisbackup/tisbackup_gui.py"]

View File

@ -3,7 +3,7 @@
A comprehensive server-side backup orchestration system for managing automated backups of databases, files, and virtual machines across remote Linux and Windows systems.
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Python 3.13+](https://img.shields.io/badge/python-3.13+-blue.svg)](https://www.python.org/downloads/)
[![Python 3.14+](https://img.shields.io/badge/python-3.14+-blue.svg)](https://www.python.org/downloads/)
## Overview
@ -309,7 +309,7 @@ docker exec tisbackup_cron python3 /opt/tisbackup/tisbackup.py -n 50 dumpstat
### Prerequisites
- Python 3.13+
- Python 3.14+
- uv (Python package manager)
### Setup Development Environment

View File

@ -1,5 +1,5 @@
#!/bin/bash
set -x
echo "Starting cleanup job for TIS Backup"
/usr/local/bin/python3.13 /opt/tisbackup/tisbackup.py backup
/usr/local/bin/python3.13 /opt/tisbackup/tisbackup.py cleanup
/usr/local/bin/python3.14 /opt/tisbackup/tisbackup.py backup
/usr/local/bin/python3.14 /opt/tisbackup/tisbackup.py cleanup

View File

@ -20,7 +20,7 @@ dependencies = [
"simplejson==3.20.1",
"six==1.17.0",
]
requires-python = ">=3.13"
requires-python = ">=3.14"
[project.optional-dependencies]
# Documentation dependencies
@ -73,7 +73,7 @@ markers = [
]
# Minimum Python version
minversion = "3.13"
minversion = "3.14"
# Coverage options (optional - uncomment when pytest-cov is installed)
# addopts = ["--cov=libtisbackup", "--cov-report=html", "--cov-report=term-missing"]