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