-
Notifications
You must be signed in to change notification settings - Fork 2
Migrate to serialx #443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to serialx #443
Changes from all commits
cd0191b
7356241
b386215
6a53454
0758d68
b56b927
5a80491
8068385
e646b2e
148e1f6
be4138f
8397f14
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| name: Latest commit | ||
|
|
||
| env: | ||
| CACHE_VERSION: 2 | ||
| CACHE_VERSION: 3 | ||
| DEFAULT_PYTHON: "3.14" | ||
| VENV: venv | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,15 +4,14 @@ build-backend = "setuptools.build_meta" | |
|
|
||
| [project] | ||
| name = "plugwise_usb" | ||
| version = "0.47.6" | ||
| version = "0.47.7" | ||
| license = "MIT" | ||
| keywords = ["home", "automation", "plugwise", "module", "usb"] | ||
| classifiers = [ | ||
| "Development Status :: 5 - Production/Stable", | ||
| "Intended Audience :: Developers", | ||
| "Operating System :: OS Independent", | ||
| "Programming Language :: Python :: 3.14", | ||
| "Programming Language :: Python :: 3.13", | ||
| "Topic :: Home Automation", | ||
| ] | ||
| authors = [ | ||
|
|
@@ -25,12 +24,12 @@ maintainers = [ | |
| { name = "CoMPaTech" }, | ||
| { name = "dirixmjm" } | ||
| ] | ||
| requires-python = ">=3.13.0" | ||
| requires-python = ">=3.14.0" | ||
| dependencies = [ | ||
| "pyserial-asyncio-fast", | ||
| "aiofiles", | ||
| "crcmod", | ||
| "semver", | ||
| "serialx", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check if serialx is available and get version info
pip index versions serialx 2>/dev/null | head -20
# Check the package metadata if available
curl -s https://pypi.org/pypi/serialx/json | jq -r '.info | {name, version, author, home_page, requires_python, summary}'Repository: plugwise/python-plugwise-usb Length of output: 546 🌐 Web query:
💡 Result: As of May 18, 2026, the latest stable version of the serialx Python library is v1.7.3 [1]. This library requires Python 3.10 or newer [1]. Citations: Add a version constraint to the The dependency on 🤖 Prompt for AI Agents |
||
| ] | ||
|
|
||
| [project.urls] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| pytest-asyncio | ||
| radon==6.0.1 | ||
| types-python-dateutil | ||
| pyserial-asyncio-fast | ||
| aiofiles | ||
| freezegun | ||
| pytest-cov | ||
| serialx | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: plugwise/python-plugwise-usb
Length of output: 541
🌐 Web query:
What is the minimum Python version required by the serialx library?💡 Result:
The minimum Python version required by the serialx library is Python 3.10 [1]. This requirement is explicitly stated in the project's metadata on PyPI [1].
Citations:
🏁 Script executed:
Repository: plugwise/python-plugwise-usb
Length of output: 149
🏁 Script executed:
Repository: plugwise/python-plugwise-usb
Length of output: 1433
🏁 Script executed:
Repository: plugwise/python-plugwise-usb
Length of output: 273
🌐 Web query:
Python version requirements for aiofiles crcmod semver packages - what is the minimum Python version supported💡 Result:
The minimum Python version requirements for the requested packages are as follows: aiofiles: The current version (25.1.0) requires Python 3.9 or higher [1][2]. Support for older versions was dropped in previous releases (e.g., Python 3.8 support was dropped in version 25.0.0/24.1.0, and Python 3.7 support was dropped in version 24.0.0/23.2.1) [3]. crcmod: The package (version 1.7) supports both Python 2.x and 3.x series [4][5]. Specifically, it has been tested on Python 2.4–2.7 and Python 3.1 [4][6]. While it may work on other versions, these are the explicitly documented versions [5]. semver: The current major version (3.0.0 and later) requires Python 3.7 or higher [7]. The 2.x series supported Python 2.7 through 3.5, but this branch is frozen and no longer receives updates [7].
Citations:
Remove the unnecessary Python 3.14 minimum requirement.
The
requires-python = ">=3.14.0"constraint is overly restrictive and not justified by the package's dependencies. The minimum Python versions for the stated dependencies are:serialx1.8.0: Python 3.10+aiofiles25.1.0: Python 3.9+semver3.0.4: Python 3.7+crcmod1.7: Python 2.7+ (no constraint)The codebase contains no Python 3.14-specific features. Lowering the requirement to
>=3.10.0(matching serialx) would maintain compatibility with Python 3.10, 3.11, 3.12, and 3.13 users while preserving all functionality.🤖 Prompt for AI Agents