python311Packages.w1thermsensor: disable on unsupported Python releases

This commit is contained in:
Fabian Affolter 2023-10-16 18:08:07 +02:00
parent 39d4555034
commit 9e7b0190b6

View File

@ -17,7 +17,9 @@
buildPythonPackage rec {
pname = "w1thermsensor";
version = "2.3.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
@ -48,7 +50,7 @@ buildPythonPackage rec {
tomli
];
# Tests for 2.0.0 currently fail on python3.11
# Tests for 2.0.0 currently fail on Python 3.11
# https://github.com/timofurrer/w1thermsensor/issues/116
doCheck = pythonOlder "3.11";