python311Packages.certauth: fix tests
This commit is contained in:
parent
973f67ed60
commit
431494efe0
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user