This commit is contained in:
parent
1cb731cbdb
commit
4337b0e925
@ -14,7 +14,7 @@ jobs:
|
|||||||
- name: Install Python
|
- name: Install Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.13'
|
python-version: '3.14'
|
||||||
cache: 'pip' # caching pip dependencies
|
cache: 'pip' # caching pip dependencies
|
||||||
- run: pip install ruff
|
- run: pip install ruff
|
||||||
- run: |
|
- run: |
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
3.13
|
3.14
|
||||||
|
|||||||
@ -181,7 +181,7 @@ Two-container architecture:
|
|||||||
|
|
||||||
- Line length: 140 characters (configured in pyproject.toml)
|
- Line length: 140 characters (configured in pyproject.toml)
|
||||||
- Ruff ignores: F401, F403, F405, E402, E701, E722, E741
|
- Ruff ignores: F401, F403, F405, E402, E701, E722, E741
|
||||||
- Python 3.13+ required
|
- Python 3.14+ required
|
||||||
|
|
||||||
## Commit Message Guidelines
|
## Commit Message Guidelines
|
||||||
|
|
||||||
|
|||||||
@ -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/
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||||
|
|
||||||
WORKDIR /opt/tisbackup
|
WORKDIR /opt/tisbackup
|
||||||
@ -23,4 +23,4 @@ RUN apt-get update && apt-get upgrade -y \
|
|||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
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"]
|
||||||
|
|||||||
@ -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.
|
A comprehensive server-side backup orchestration system for managing automated backups of databases, files, and virtual machines across remote Linux and Windows systems.
|
||||||
|
|
||||||
[](https://www.gnu.org/licenses/gpl-3.0)
|
[](https://www.gnu.org/licenses/gpl-3.0)
|
||||||
[](https://www.python.org/downloads/)
|
[](https://www.python.org/downloads/)
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
@ -309,7 +309,7 @@ docker exec tisbackup_cron python3 /opt/tisbackup/tisbackup.py -n 50 dumpstat
|
|||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- Python 3.13+
|
- Python 3.14+
|
||||||
- uv (Python package manager)
|
- uv (Python package manager)
|
||||||
|
|
||||||
### Setup Development Environment
|
### Setup Development Environment
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -x
|
set -x
|
||||||
echo "Starting cleanup job for TIS Backup"
|
echo "Starting cleanup job for TIS Backup"
|
||||||
/usr/local/bin/python3.13 /opt/tisbackup/tisbackup.py backup
|
/usr/local/bin/python3.14 /opt/tisbackup/tisbackup.py backup
|
||||||
/usr/local/bin/python3.13 /opt/tisbackup/tisbackup.py cleanup
|
/usr/local/bin/python3.14 /opt/tisbackup/tisbackup.py cleanup
|
||||||
|
|||||||
@ -20,7 +20,7 @@ dependencies = [
|
|||||||
"simplejson==3.20.1",
|
"simplejson==3.20.1",
|
||||||
"six==1.17.0",
|
"six==1.17.0",
|
||||||
]
|
]
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.14"
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
# Documentation dependencies
|
# Documentation dependencies
|
||||||
@ -73,7 +73,7 @@ markers = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
# Minimum Python version
|
# Minimum Python version
|
||||||
minversion = "3.13"
|
minversion = "3.14"
|
||||||
|
|
||||||
# Coverage options (optional - uncomment when pytest-cov is installed)
|
# Coverage options (optional - uncomment when pytest-cov is installed)
|
||||||
# addopts = ["--cov=libtisbackup", "--cov-report=html", "--cov-report=term-missing"]
|
# addopts = ["--cov=libtisbackup", "--cov-report=html", "--cov-report=term-missing"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user