python312Packages.jaraco-net: 10.2.0 -> 10.2.3 (#385111)

authored by Robert Schütz and committed by GitHub 6caa7442 6903277d

+11 -18
+11 -18
pkgs/development/python-modules/jaraco-net/default.nix
··· 2 2 lib, 3 3 stdenv, 4 4 buildPythonPackage, 5 - pythonOlder, 6 5 fetchFromGitHub, 7 6 setuptools, 8 7 setuptools-scm, 8 + autocommand, 9 9 more-itertools, 10 10 beautifulsoup4, 11 11 mechanize, ··· 27 27 cherrypy, 28 28 importlib-resources, 29 29 pyparsing, 30 - requests-mock, 30 + pytest-responses, 31 31 nettools, 32 32 }: 33 33 34 34 buildPythonPackage rec { 35 35 pname = "jaraco-net"; 36 - version = "10.2.0"; 37 - 38 - disabled = pythonOlder "3.7"; 39 - 40 - format = "pyproject"; 36 + version = "10.2.3"; 37 + pyproject = true; 41 38 42 39 src = fetchFromGitHub { 43 40 owner = "jaraco"; 44 41 repo = "jaraco.net"; 45 42 tag = "v${version}"; 46 - hash = "sha256-z9+gz6Sos0uluU5icXJN9OMmWFErVrJXBvoBcKv6Wwg="; 43 + hash = "sha256-yZbiCGUZqJQdV3/vtNLs+B9ZDin2PH0agR4kYvB5HxA="; 47 44 }; 48 45 49 - nativeBuildInputs = [ 46 + build-system = [ 50 47 setuptools 51 48 setuptools-scm 52 49 ]; 53 50 54 - propagatedBuildInputs = [ 51 + dependencies = [ 52 + autocommand 55 53 more-itertools 56 54 beautifulsoup4 57 55 mechanize ··· 77 75 cherrypy 78 76 importlib-resources 79 77 pyparsing 80 - requests-mock 78 + pytest-responses 81 79 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ nettools ]; 82 80 83 81 disabledTestPaths = [ 84 - # doesn't actually contain tests 85 - "fabfile.py" 86 82 # require networking 83 + "jaraco/net/icmp.py" 87 84 "jaraco/net/ntp.py" 88 85 "jaraco/net/scanner.py" 89 - "tests/test_cookies.py" 90 86 ]; 91 87 92 - # cherrypy does not support Python 3.11 93 - doCheck = pythonOlder "3.11"; 94 - 95 88 meta = { 96 - changelog = "https://github.com/jaraco/jaraco.net/blob/${src.rev}/CHANGES.rst"; 89 + changelog = "https://github.com/jaraco/jaraco.net/blob/${src.tag}/NEWS.rst"; 97 90 description = "Networking tools by jaraco"; 98 91 homepage = "https://github.com/jaraco/jaraco.net"; 99 92 license = lib.licenses.mit;