Browse Source

test & declare compatibility with python3.12

https://github.com/fphammerle/systemctl-mqtt/commit/7173ad5305c6230812471c7cb0c9e477170e0372
Fabian Peter Hammerle 2 months ago
parent
commit
907abb2758
3 changed files with 4 additions and 3 deletions
  1. 2 2
      .github/workflows/python.yml
  2. 1 1
      CHANGELOG.md
  3. 1 0
      setup.py

+ 2 - 2
.github/workflows/python.yml

@@ -16,8 +16,7 @@ jobs:
   code-format:
     runs-on: ubuntu-22.04
     strategy:
-      matrix:
-        python-version: ['3.11']
+      matrix: {python-version: ['3.12']}
     steps:
     - uses: actions/checkout@v4
     - uses: actions/setup-python@v5
@@ -42,6 +41,7 @@ jobs:
         - '3.9'
         - '3.10'
         - '3.11'
+        - '3.12'
       fail-fast: false
     steps:
     - uses: actions/checkout@v4

+ 1 - 1
CHANGELOG.md

@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - automatic discovery in home assistant:
   - entity `button.[hostname]_logind_lock_all_sessions`
   - entity `button.[hostname]_logind_poweroff`
-- declare compatibility with `python3.11`
+- declare compatibility with `python3.11` & `python3.12`
 
 ### Changed
 - automatic discovery in home assistant:

+ 1 - 0
setup.py

@@ -53,6 +53,7 @@ setuptools.setup(
         "Programming Language :: Python :: 3.9",
         "Programming Language :: Python :: 3.10",
         "Programming Language :: Python :: 3.11",
+        "Programming Language :: Python :: 3.12",
         "Topic :: Home Automation",
     ],
     entry_points={