python3Packages.testfixtures: 7.2.2 -> 8.1.0

https://github.com/simplistix/testfixtures/blob/8.1.0/CHANGELOG.rst
This commit is contained in:
Martin Weinelt 2024-03-08 02:42:48 +01:00
parent f862381038
commit 4c0ddb1cec

View File

@ -1,20 +1,17 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchpatch
, fetchPypi , fetchPypi
, mock , mock
, pytestCheckHook , pytestCheckHook
, pythonAtLeast
, pythonOlder , pythonOlder
, setuptools , setuptools
, sybil , sybil
, twisted , twisted
, zope-component
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "testfixtures"; pname = "testfixtures";
version = "7.2.2"; version = "8.1.0";
pyproject = true; pyproject = true;
# DO NOT CONTACT upstream. # DO NOT CONTACT upstream.
# https://github.com/simplistix/ is only concerned with internal CI process. # https://github.com/simplistix/ is only concerned with internal CI process.
@ -23,23 +20,14 @@ buildPythonPackage rec {
# https://github.com/simplistix/testfixtures/issues/169 # https://github.com/simplistix/testfixtures/issues/169
# https://github.com/simplistix/testfixtures/issues/168 # https://github.com/simplistix/testfixtures/issues/168
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-gHdK7LAklFgnWreD9TCT++dXlf8rMhjSLOP/8KEsTaY="; hash = "sha256-gISJkDBIWcOito3+S8r3e25kJaOSUEe8JaUnVSd7+m0=";
}; };
patches = [ build-system = [
# https://github.com/simplistix/testfixtures/pull/188
(fetchpatch {
name = "python3.12-compatibility.patch";
url = "https://github.com/simplistix/testfixtures/commit/2b80b195e30e12c739dc4f98e9de17dec8f3558a.patch";
hash = "sha256-LrC0uI4k3F6ZGTqbKi319tRbVk5557xbyzQN36Y1160=";
})
];
nativeBuildInputs = [
setuptools setuptools
]; ];
@ -48,7 +36,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
sybil sybil
twisted twisted
zope-component
]; ];
disabledTestPaths = [ disabledTestPaths = [