python313Packages.netapp-ontap: fix build, python313Packages.marshmallow: 3.21.1 -> 3.26.1 (#380908)

authored by Sandro and committed by GitHub a83f3b2b 5e4947a3

+39 -32
+2 -2
pkgs/by-name/li/libtorrent-rasterbar-1_2_x/package.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook 2 - , zlib, boost, openssl, python311, libiconv, ncurses, darwin 2 + , zlib, boost186, openssl, python311, libiconv, ncurses, darwin 3 3 , boost-build 4 4 }: 5 5 ··· 8 8 9 9 # Make sure we override python, so the correct version is chosen 10 10 # for the bindings, if overridden 11 - boostPython = boost.override (_: { 11 + boostPython = boost186.override (_: { 12 12 enablePython = true; 13 13 python = python311; 14 14 enableStatic = true;
+13 -4
pkgs/development/python-modules/aiohttp-apispec/default.nix
··· 9 9 pytest-aiohttp, 10 10 pytestCheckHook, 11 11 pythonOlder, 12 + setuptools, 12 13 webargs, 13 14 }: 14 15 15 16 buildPythonPackage rec { 16 17 pname = "aiohttp-apispec"; 17 18 version = "3.0.0b2"; 18 - format = "setuptools"; 19 + pyproject = true; 19 20 20 21 disabled = pythonOlder "3.6"; 21 22 22 23 src = fetchFromGitHub { 23 24 owner = "maximdanilchenko"; 24 - repo = pname; 25 - rev = "v${version}"; 25 + repo = "aiohttp-apispec"; 26 + tag = "v${version}"; 26 27 hash = "sha256-C+/M25oCLTNGGEUj2EyXn3UjcvPvDYFmmUW8IOoF1uU="; 27 28 }; 28 29 29 - propagatedBuildInputs = [ 30 + postPatch = '' 31 + substituteInPlace tests/conftest.py \ 32 + --replace-fail 'aiohttp_app(loop,' 'aiohttp_app(event_loop,' \ 33 + --replace-fail 'return loop.run_until_complete' 'return event_loop.run_until_complete' 34 + ''; 35 + 36 + build-system = [ setuptools ]; 37 + 38 + dependencies = [ 30 39 aiohttp 31 40 apispec 32 41 jinja2
+3
pkgs/development/python-modules/htmlmin/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchPypi, 5 + pythonAtLeast, 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "htmlmin"; 9 10 version = "0.1.12"; 10 11 format = "setuptools"; 12 + 11 13 src = fetchPypi { 12 14 inherit pname version; 13 15 sha256 = "50c1ef4630374a5d723900096a961cff426dff46b48f34d194a81bbe14eca178"; ··· 22 24 homepage = "https://pypi.python.org/pypi/htmlmin"; 23 25 license = licenses.bsd3; 24 26 maintainers = [ ]; 27 + broken = pythonAtLeast "3.13"; # requires removed cgi module 25 28 }; 26 29 }
+2 -7
pkgs/development/python-modules/marshmallow/default.nix
··· 5 5 flit-core, 6 6 packaging, 7 7 pytestCheckHook, 8 - pythonOlder, 9 - pytz, 10 8 simplejson, 11 9 }: 12 10 13 11 buildPythonPackage rec { 14 12 pname = "marshmallow"; 15 - version = "3.21.1"; 13 + version = "3.26.1"; 16 14 pyproject = true; 17 15 18 - disabled = pythonOlder "3.8"; 19 - 20 16 src = fetchFromGitHub { 21 17 owner = "marshmallow-code"; 22 18 repo = "marshmallow"; 23 19 tag = version; 24 - hash = "sha256-KhXasYKooZRokRoFlWKOaQzSUe6tXDtUlrf65eGGUi8="; 20 + hash = "sha256-l5pEhv8D6jRlU24SlsGQEkXda/b7KUdP9mAqrZCbl38="; 25 21 }; 26 22 27 23 nativeBuildInputs = [ flit-core ]; ··· 30 26 31 27 nativeCheckInputs = [ 32 28 pytestCheckHook 33 - pytz 34 29 simplejson 35 30 ]; 36 31
+1 -6
pkgs/development/python-modules/netapp-ontap/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - cliche, 5 4 fetchPypi, 6 5 marshmallow, 7 6 pythonOlder, 8 - recline, 9 7 requests, 10 8 requests-toolbelt, 11 9 setuptools, ··· 32 30 requests 33 31 requests-toolbelt 34 32 urllib3 35 - # required for cli 36 - cliche 37 - recline 38 33 ]; 39 34 40 35 # No tests in sdist and no other download available ··· 44 39 45 40 meta = with lib; { 46 41 description = "Library for working with ONTAP's REST APIs simply in Python"; 47 - homepage = "https://devnet.netapp.com/restapi.php"; 42 + homepage = "https://library.netapp.com/ecmdocs/ECMLP3331665/html/index.html"; 48 43 license = licenses.bsd3; 49 44 maintainers = with maintainers; [ SuperSandro2000 ]; 50 45 mainProgram = "ontap-cli";
+3 -2
pkgs/development/python-modules/private-gpt/default.nix
··· 8 8 poetry-core, 9 9 10 10 # dependencies 11 + cryptography, 11 12 docx2txt, 12 13 fastapi, 13 14 injector, ··· 16 17 python-multipart, 17 18 pyyaml, 18 19 transformers, 19 - uvicorn, 20 20 watchdog, 21 21 22 22 # optional-dependencies ··· 48 48 "llama-index-core" 49 49 "llama-index-readers-file" 50 50 "python-multipart" 51 + "watchdog" 51 52 ]; 52 53 53 54 dependencies = [ 55 + cryptography 54 56 docx2txt 55 57 fastapi 56 58 injector ··· 59 61 python-multipart 60 62 pyyaml 61 63 transformers 62 - uvicorn 63 64 watchdog 64 65 ] ++ lib.flatten (builtins.attrValues optional-dependencies); 65 66
+2
pkgs/development/python-modules/type-infer/default.nix
··· 87 87 homepage = "https://github.com/mindsdb/type_infer"; 88 88 license = licenses.gpl3Only; 89 89 maintainers = with maintainers; [ mbalatsko ]; 90 + # ModuleNotFoundError: No module named 'imghdr', unrelated 91 + broken = true; 90 92 }; 91 93 }
+13 -7
pkgs/development/python-modules/webtest-aiohttp/default.nix
··· 6 6 fetchpatch, 7 7 pytest-aiohttp, 8 8 pytestCheckHook, 9 - pythonOlder, 9 + setuptools, 10 10 webtest, 11 11 }: 12 12 13 13 buildPythonPackage rec { 14 14 pname = "webtest-aiohttp"; 15 15 version = "2.0.0"; 16 - format = "setuptools"; 17 - 18 - disabled = pythonOlder "3.7"; 16 + pyproject = true; 19 17 20 18 src = fetchFromGitHub { 21 19 owner = "sloria"; 22 - repo = pname; 23 - rev = version; 20 + repo = "webtest-aiohttp"; 21 + tag = version; 24 22 hash = "sha256-UuAz/k/Tnumupv3ybFR7PkYHwG3kH7M5oobZykEP+ao="; 25 23 }; 26 24 ··· 32 30 }) 33 31 ]; 34 32 35 - propagatedBuildInputs = [ webtest ]; 33 + postPatch = '' 34 + substituteInPlace test_webtest_aiohttp.py \ 35 + --replace-fail '(app, loop)' '(app, event_loop)' \ 36 + --replace-fail 'WebTestApp(app, loop=loop)' 'WebTestApp(app, loop=event_loop)' 37 + ''; 38 + 39 + build-system = [ setuptools ]; 40 + 41 + dependencies = [ webtest ]; 36 42 37 43 nativeCheckInputs = [ 38 44 aiohttp
-4
pkgs/tools/admin/ansible/doctor.nix
··· 46 46 ruamel-yaml 47 47 ]; 48 48 49 - postInstall = '' 50 - rm $out/lib/python*/site-packages/LICENSE 51 - ''; 52 - 53 49 # Module has no tests 54 50 doCheck = false; 55 51