Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install -e .[release]
- name: Run tests
run: python -m unittest discover -s tests -v
- name: Build
run: python -m build
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
python-version: '3.12'
- name: Install dependencies
run: python -m pip install -e .[release]
- name: Run tests
run: python -m unittest discover -s tests -v
- name: Build release
run: python -m build --sdist --wheel
- id: extract-release-notes
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Declare Python 3.12 as the minimum supported version in package metadata

### Changed

- Run regression tests in CI and before publishing releases

## [1.3.3] - 2026-10-19

### Fixed
Expand Down
17 changes: 14 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ don't have time to contribute!

## Making Changes

> **Note**: This guide assumes you have a working Python installation (most
> versions are supported) and have the Python Package Installer available in
> the current user's $PATH.
> **Note**: This guide assumes you have Python 3.12 or newer installed and have
> the Python Package Installer available in the current user's $PATH.

To get started, [fork][2] this repository on GitHub and clone a working copy for
development:
Expand All @@ -25,6 +24,18 @@ development, issue:

$ python -m pip install -e .

Run the tests before submitting changes:

$ python -m unittest discover -s tests -v

The tests use the standard library's `unittest` module and mocked cloud responses;
no SensorPush account or credentials are needed. CI runs them on Python 3.12 and
3.13, and the release workflow runs them before building and publishing.

To check that the source distribution and wheel build successfully:

$ python -m pip install -e '.[release]'
$ python -m build

If user-facing changes are introduced, be sure add an entry to the `Unreleased`
section in [CHANGELOG.md][3].
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Gateway Cloud API][4] with [Home Assistant][5]. It is primarily used by the

## Installation

Python 3.12 or newer is required.

`sensorpush-ha` is available on [PyPI][2] and can be installed locally using the
Python Package Installer:

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
author_email="sstallion@gmail.com",
url="https://github.com/sstallion/sensorpush-ha",
packages=find_packages(),
python_requires=">=3.12",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
Expand Down
Loading