From 48e0350fa71976afae02edbb4204bb6d2010af33 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Thu, 24 Aug 2023 21:44:39 -0700 Subject: [PATCH 1/2] Add support for python 3.12 --- .github/workflows/ci.yml | 10 +++++----- CHANGELOG.md | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 696b8dc..ad97cc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12.0-rc.1"] steps: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12.0-rc.1" - uses: abatilo/actions-poetry@v2.3.0 - name: Install bluetooth run: | @@ -63,7 +63,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12.0-rc.1"] steps: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} @@ -93,7 +93,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12.0-rc.1" - name: Install Poetry uses: abatilo/actions-poetry@v2.3.0 - run: poetry install @@ -111,7 +111,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12.0-rc.1" - name: Install Poetry uses: abatilo/actions-poetry@v2.3.0 - run: poetry install diff --git a/CHANGELOG.md b/CHANGELOG.md index 83c09d9..ddcf6b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Added +- Added support for python 3.12. + ## [0.10.2] - 2023-09-05 ### Changed - Relaxed dependency version constraints for improved home-assistant compatability. From da1eea665c6f1b0cc492730a2560b6d0e13729f0 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Tue, 3 Oct 2023 08:21:22 -0700 Subject: [PATCH 2/2] 3.12.0-rc.1 -> 3.12.0 --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad97cc4..96e1951 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12.0-rc.1"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12.0"] steps: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: "3.12.0-rc.1" + python-version: "3.12.0" - uses: abatilo/actions-poetry@v2.3.0 - name: Install bluetooth run: | @@ -63,7 +63,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12.0-rc.1"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12.0"] steps: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} @@ -93,7 +93,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: "3.12.0-rc.1" + python-version: "3.12.0" - name: Install Poetry uses: abatilo/actions-poetry@v2.3.0 - run: poetry install @@ -111,7 +111,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: "3.12.0-rc.1" + python-version: "3.12.0" - name: Install Poetry uses: abatilo/actions-poetry@v2.3.0 - run: poetry install