git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.certbot: 1.12.0 -> 1.13.0
commit594399e51a94884a82f3c482c9ab7a044d956c3f authorRobert T. McGibbon <rmcgibbo@gmail.com> dateFri 26 Mar 2021, 19:12 (6 years ago) parent109d6b3
1 file changed+10−7
pkgs/development/python-modules/certbot/default.nix+10−7
pkgs/development/python-modules/certbot/default.nix+10−7
@@ -3,19 +3,19 @@
33, python, runCommand
44, fetchFromGitHub
55, ConfigArgParse, acme, configobj, cryptography, distro, josepy, parsedatetime, pyRFC3339, pyopenssl, pytz, requests, six, zope_component, zope_interface
6−, dialog, mock, gnureadline
7−, pytest_xdist, pytest, pytestCheckHook, dateutil
6+, dialog, gnureadline
7+, pytest_xdist, pytestCheckHook, dateutil
88}:
99
1010buildPythonPackage rec {
1111 pname = "certbot";
12− version = "1.12.0";
12+ version = "1.13.0";
1313
1414 src = fetchFromGitHub {
1515 owner = pname;
1616 repo = pname;
1717 rev = "v${version}";
18− sha256 = "sha256-lMQkVc2UzC5GqEy88rcaJ74CaT3+YWveNDCXql/McRM=";
18+ sha256 = "1cwhhybj2fjalhhyd184ndn3bid3qib1yy5a93m146cqqgwpw4j6";
1919 };
2020
2121 sourceRoot = "source/${pname}";
@@ -37,16 +37,19 @@ buildPythonPackage rec {
3737 zope_interface
3838 ];
3939
40− buildInputs = [ dialog mock gnureadline ];
40+ buildInputs = [ dialog gnureadline ];
4141
4242 checkInputs = [
4343 dateutil
44− pytest
4544 pytestCheckHook
4645 pytest_xdist
4746 ];
4847
49− pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
48+ pytestFlagsArray = [
49+ "-o cache_dir=$(mktemp -d)"
50+ # See https://github.com/certbot/certbot/issues/8746
51+ "-W ignore::ResourceWarning"
52+ ];
5053
5154 doCheck = true;
5255