Compare commits

...

10 Commits

Author SHA1 Message Date
1ed32af740 Added network capability
Some checks failed
Python application / build (push) Has been cancelled
Added network capability in apparmor template
2025-12-12 13:34:39 +00:00
Stefan Allius
997245429e Revert "Update gihub action to python 3.14 (#496)" (#498)
* revert to python 3.13 for github actions
2025-10-09 21:48:29 +02:00
renovate[bot]
d8a04fedb8 Update ghcr.io/hassio-addons/base Docker tag to v18.1.4 (#496)
* Update ghcr.io/hassio-addons/base Docker tag to v18.1.1

* Update ghcr.io/hassio-addons/base Docker tag to v18.1.4

* update changelog

* update action step name

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de>
2025-10-09 21:16:14 +02:00
renovate[bot]
d83d6b2caa Update python Docker tag (#497)
* Update python Docker tag

* bump to py version 3.14

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de>
2025-10-09 19:38:50 +02:00
renovate[bot]
9e9451b5e8 Update SonarSource/sonarqube-scan-action action to v6 (#493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-26 20:41:59 +02:00
renovate[bot]
f9df7a1dad Update dependency coverage to v7.10.7 (#494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-26 20:39:50 +02:00
renovate[bot]
f9cadf0f1d Update ghcr.io/hassio-addons/base Docker tag to v18.1.2 (#495)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-26 20:38:31 +02:00
renovate[bot]
783c1fd31e Update dependency pytest-cov to v7 (#491)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 22:57:58 +02:00
renovate[bot]
471c4412e5 Update actions/setup-python action to v6 (#485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 22:52:08 +02:00
renovate[bot]
bf27f40375 Update actions/checkout action to v5 (#481)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 22:51:42 +02:00
8 changed files with 11 additions and 9 deletions

View File

@@ -34,11 +34,11 @@ jobs:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
with: with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up Python 3.13 - name: Set up Python 3.13
uses: actions/setup-python@v5 uses: actions/setup-python@v6
with: with:
python-version: "3.13" python-version: "3.13"
- name: Install dependencies - name: Install dependencies
@@ -58,7 +58,7 @@ jobs:
coverage report coverage report
- name: Analyze with SonarCloud - name: Analyze with SonarCloud
if: ${{ env.SONAR_TOKEN != 0 }} if: ${{ env.SONAR_TOKEN != 0 }}
uses: SonarSource/sonarqube-scan-action@v5 uses: SonarSource/sonarqube-scan-action@v6
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:

View File

@@ -1 +1 @@
3.13.7 3.14.0

View File

@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [unreleased] ## [unreleased]
- Update ghcr.io/hassio-addons/base Docker tag to v18.1.4
- Update dependency pytest-asyncio to v1.1.0 - Update dependency pytest-asyncio to v1.1.0
- save task references, to avoid a task disappearing mid-execution - save task references, to avoid a task disappearing mid-execution
- catch socket.gaierror exception and log this with info level - catch socket.gaierror exception and log this with info level

View File

@@ -7,7 +7,7 @@
<p align="center">integration</p> <p align="center">integration</p>
<p align="center"> <p align="center">
<a href="https://opensource.org/licenses/BSD-3-Clause"><img alt="License: BSD-3-Clause" src="https://img.shields.io/badge/License-BSD_3--Clause-green.svg"></a> <a href="https://opensource.org/licenses/BSD-3-Clause"><img alt="License: BSD-3-Clause" src="https://img.shields.io/badge/License-BSD_3--Clause-green.svg"></a>
<a href="https://www.python.org/downloads/release/python-3130/"><img alt="Supported Python versions" src="https://img.shields.io/badge/python-3.13-blue.svg"></a> <a href="https://www.python.org/downloads/release/python-3140/"><img alt="Supported Python versions" src="https://img.shields.io/badge/python-3.14-blue.svg"></a>
<a href="https://aiomqtt.bo3hm.com/introduction.html"><img alt="Supported aiomqtt versions" src="https://img.shields.io/badge/aiomqtt-2.3.1-lightblue.svg"></a> <a href="https://aiomqtt.bo3hm.com/introduction.html"><img alt="Supported aiomqtt versions" src="https://img.shields.io/badge/aiomqtt-2.3.1-lightblue.svg"></a>
<a href="https://libraries.io/pypi/aiocron"><img alt="Supported aiocron versions" src="https://img.shields.io/badge/aiocron-1.8-lightblue.svg"></a> <a href="https://libraries.io/pypi/aiocron"><img alt="Supported aiocron versions" src="https://img.shields.io/badge/aiocron-1.8-lightblue.svg"></a>
<a href="https://toml.io/en/v1.0.0"><img alt="Supported toml versions" src="https://img.shields.io/badge/toml-1.0.0-lightblue.svg"></a> <a href="https://toml.io/en/v1.0.0"><img alt="Supported toml versions" src="https://img.shields.io/badge/toml-1.0.0-lightblue.svg"></a>

View File

@@ -4,7 +4,7 @@ ARG GID=1000
# #
# first stage for our base image # first stage for our base image
FROM python:3.13-alpine AS base FROM python:3.14-alpine AS base
COPY --chmod=0700 ./hardening_base.sh / COPY --chmod=0700 ./hardening_base.sh /
RUN apk upgrade --no-cache && \ RUN apk upgrade --no-cache && \

View File

@@ -1,8 +1,8 @@
flake8==7.3.0 flake8==7.3.0
pytest==8.4.2 pytest==8.4.2
pytest-asyncio==1.2.0 pytest-asyncio==1.2.0
pytest-cov==6.3.0 pytest-cov==7.0.0
python-dotenv==1.1.1 python-dotenv==1.1.1
mock==5.2.0 mock==5.2.0
coverage==7.10.6 coverage==7.10.7
jinja2-cli==0.8.2 jinja2-cli==0.8.2

View File

@@ -13,7 +13,7 @@
# 1 Build Base Image # # 1 Build Base Image #
###################### ######################
ARG BUILD_FROM="ghcr.io/hassio-addons/base:18.1.1" ARG BUILD_FROM="ghcr.io/hassio-addons/base:18.1.4"
# hadolint ignore=DL3006 # hadolint ignore=DL3006
FROM $BUILD_FROM AS base FROM $BUILD_FROM AS base

View File

@@ -6,6 +6,7 @@ profile {{slug}} flags=(attach_disconnected,mediate_deleted) {
# Capabilities # Capabilities
file, file,
signal (send) set=(kill,term,int,hup,cont), signal (send) set=(kill,term,int,hup,cont),
network,
# S6-Overlay # S6-Overlay
/init ix, /init ix,