Merge pull request #293108 from dotlambda/approvaltests-11.1.0

python311Packages.approvaltests: 11.0.0 -> 11.1.0
This commit is contained in:
Mario Rodas 2024-03-03 21:45:04 -05:00 committed by GitHub
commit c97f8617e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 5 deletions

View File

@ -15,11 +15,12 @@
, pythonOlder
, setuptools
, testfixtures
, typing-extensions
}:
buildPythonPackage rec {
pname = "approvaltests";
version = "11.0.0";
version = "11.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -28,7 +29,7 @@ buildPythonPackage rec {
owner = "approvals";
repo = "ApprovalTests.Python";
rev = "refs/tags/v${version}";
hash = "sha256-Ep95niYin3urtiMFSVY792zpFAcu6MwQN9DA/IJLSQQ=";
hash = "sha256-F03qctswG0/y2ZCdHCacHsMiBZFTmEEegYXIIB2UPlc=";
};
nativeBuildInputs = [
@ -45,6 +46,7 @@ buildPythonPackage rec {
pyperclip
pytest
testfixtures
typing-extensions
];
nativeCheckInputs = [

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pyopenssl
, tldextract
, pytestCheckHook
@ -10,7 +11,7 @@
buildPythonPackage rec {
pname = "certauth";
version = "1.3.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -24,9 +25,13 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "--cov certauth " ""
--replace-fail "--cov certauth " ""
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pyopenssl
tldextract
@ -41,6 +46,9 @@ buildPythonPackage rec {
];
disabledTests = [
# https://github.com/ikreymer/certauth/issues/23
"test_ca_cert_in_mem"
"test_custom_not_before_not_after"
# Tests want to download Public Suffix List
"test_file_wildcard"
"test_file_wildcard_subdomains"

View File

@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
, pythonAtLeast
, fetchFromGitHub
# propagates
@ -25,7 +26,9 @@
buildPythonPackage rec {
pname = "mrjob";
version = "0.7.4";
format = "setuptools";
# https://github.com/Yelp/mrjob/issues/2222
disabled = pythonAtLeast "3.12";
src = fetchFromGitHub {
owner = "Yelp";