Skip to content

Commit 6caa744

Browse files
authored
python312Packages.jaraco-net: 10.2.0 -> 10.2.3 (#385111)
2 parents 6903277 + ee0e5d7 commit 6caa744

File tree

1 file changed

+11
-18
lines changed

1 file changed

+11
-18
lines changed

pkgs/development/python-modules/jaraco-net/default.nix

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
lib,
33
stdenv,
44
buildPythonPackage,
5-
pythonOlder,
65
fetchFromGitHub,
76
setuptools,
87
setuptools-scm,
8+
autocommand,
99
more-itertools,
1010
beautifulsoup4,
1111
mechanize,
@@ -27,31 +27,29 @@
2727
cherrypy,
2828
importlib-resources,
2929
pyparsing,
30-
requests-mock,
30+
pytest-responses,
3131
nettools,
3232
}:
3333

3434
buildPythonPackage rec {
3535
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;
4138

4239
src = fetchFromGitHub {
4340
owner = "jaraco";
4441
repo = "jaraco.net";
4542
tag = "v${version}";
46-
hash = "sha256-z9+gz6Sos0uluU5icXJN9OMmWFErVrJXBvoBcKv6Wwg=";
43+
hash = "sha256-yZbiCGUZqJQdV3/vtNLs+B9ZDin2PH0agR4kYvB5HxA=";
4744
};
4845

49-
nativeBuildInputs = [
46+
build-system = [
5047
setuptools
5148
setuptools-scm
5249
];
5350

54-
propagatedBuildInputs = [
51+
dependencies = [
52+
autocommand
5553
more-itertools
5654
beautifulsoup4
5755
mechanize
@@ -77,23 +75,18 @@ buildPythonPackage rec {
7775
cherrypy
7876
importlib-resources
7977
pyparsing
80-
requests-mock
78+
pytest-responses
8179
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ nettools ];
8280

8381
disabledTestPaths = [
84-
# doesn't actually contain tests
85-
"fabfile.py"
8682
# require networking
83+
"jaraco/net/icmp.py"
8784
"jaraco/net/ntp.py"
8885
"jaraco/net/scanner.py"
89-
"tests/test_cookies.py"
9086
];
9187

92-
# cherrypy does not support Python 3.11
93-
doCheck = pythonOlder "3.11";
94-
9588
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";
9790
description = "Networking tools by jaraco";
9891
homepage = "https://github.com/jaraco/jaraco.net";
9992
license = lib.licenses.mit;

0 commit comments

Comments
 (0)