From af503093c5455c99a0d3d543c8baf192136f0697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 18 Mar 2026 12:09:30 -0700 Subject: [PATCH] python3Packages.serialx: 0.8.0 -> 1.0.0 Diff: https://github.com/puddly/serialx/compare/v0.8.0...v1.0.0 Changelog: https://github.com/puddly/serialx/releases/tag/v1.0.0 --- pkgs/development/python-modules/serialx/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/serialx/default.nix b/pkgs/development/python-modules/serialx/default.nix index 621b8739bd9b..868ea9a7b96d 100644 --- a/pkgs/development/python-modules/serialx/default.nix +++ b/pkgs/development/python-modules/serialx/default.nix @@ -3,6 +3,7 @@ cargo, fetchFromGitHub, lib, + psutil, pytest-asyncio, pytest-xdist, pytestCheckHook, @@ -17,14 +18,14 @@ buildPythonPackage (finalAttrs: { pname = "serialx"; - version = "0.8.0"; + version = "1.0.0"; pyproject = true; src = fetchFromGitHub { owner = "puddly"; repo = "serialx"; tag = "v${finalAttrs.version}"; - hash = "sha256-LYK6r0wLcrnPHMd5q6EYM+19CmAwLYAmL59SWpxL+oM="; + hash = "sha256-QYeEtdG3neRRloXOW7cKVyrsGZ5FrKOXs8gfjdyjpIQ="; }; cargoDeps = rustPlatform.fetchCargoVendor { @@ -51,12 +52,18 @@ buildPythonPackage (finalAttrs: { pythonImportsCheck = [ "serialx" ]; nativeCheckInputs = [ + psutil pytest-asyncio pytest-xdist pytestCheckHook socat ]; + disabledTests = [ + # tries to access /sys/class/tty in sandbox + "test_compat_tools_module" + ]; + meta = { changelog = "https://github.com/puddly/serialx/releases/tag/${finalAttrs.src.tag}"; description = "Serial library with native async support for Windows and POSIX";