python3Packages.approvaltests: 14.6.0 -> 15.0.0 (#425644)

This commit is contained in:
dotlambda 2025-07-21 11:55:22 -07:00 committed by GitHub
commit c11631afb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,6 @@
empty-files, empty-files,
fetchFromGitHub, fetchFromGitHub,
mock, mock,
mrjob,
numpy, numpy,
pyperclip, pyperclip,
pytest, pytest,
@ -20,14 +19,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "approvaltests"; pname = "approvaltests";
version = "14.6.0"; version = "15.0.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "approvals"; owner = "approvals";
repo = "ApprovalTests.Python"; repo = "ApprovalTests.Python";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-hoBT83p2PHZR5NtVChdWK5SMjLt8llj59K5ODaKtRhQ="; hash = "sha256-lXc81hQzxHxpg96OSWkkWmdmLOf4nU56dIKYVgLo+s8=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];
@ -38,7 +37,6 @@ buildPythonPackage rec {
beautifulsoup4 beautifulsoup4
empty-files empty-files
mock mock
mrjob
pyperclip pyperclip
pytest pytest
testfixtures testfixtures
@ -52,11 +50,9 @@ buildPythonPackage rec {
]; ];
disabledTests = [ disabledTests = [
"test_preceding_whitespace" "test_warnings"
# test runs another python interpreter, ignoring $PYTHONPATH
"test_command_line_verify" "test_command_line_verify"
# Tests expect paths below ApprovalTests.Python directory
"test_received_filename"
"test_pytest_namer"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [