nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

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"; ··· 24 22 homepage = "https://pypi.python.org/pypi/htmlmin"; 25 23 license = licenses.bsd3; 26 24 maintainers = [ ]; 25 + broken = pythonAtLeast "3.13"; # requires removed cgi module 27 26 }; 28 27 }
+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 - 18 - disabled = pythonOlder "3.8"; 19 15 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 ]; ··· 26 30 27 31 nativeCheckInputs = [ 28 32 pytestCheckHook 29 - pytz 30 33 simplejson 31 34 ]; 32 35
+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, ··· 30 32 requests 31 33 requests-toolbelt 32 34 urllib3 33 - # required for cli 34 - cliche 35 - recline 36 35 ]; 37 36 38 37 # No tests in sdist and no other download available ··· 39 44 40 45 meta = with lib; { 41 46 description = "Library for working with ONTAP's REST APIs simply in Python"; 42 - homepage = "https://devnet.netapp.com/restapi.php"; 47 + homepage = "https://library.netapp.com/ecmdocs/ECMLP3331665/html/index.html"; 43 48 license = licenses.bsd3; 44 49 maintainers = with maintainers; [ SuperSandro2000 ]; 45 50 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, ··· 17 16 python-multipart, 18 17 pyyaml, 19 18 transformers, 20 - uvicorn, 21 19 watchdog, 22 20 23 21 # 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 ··· 61 59 python-multipart 62 60 pyyaml 63 61 transformers 64 - uvicorn 65 62 watchdog 66 63 ] ++ lib.flatten (builtins.attrValues optional-dependencies); 67 64
+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 ··· 30 32 }) 31 33 ]; 32 34 33 - propagatedBuildInputs = [ webtest ]; 35 + postPatch = '' 36 + substituteInPlace test_webtest_aiohttp.py \ 37 + --replace-fail '(app, loop)' '(app, event_loop)' \ 38 + --replace-fail 'WebTestApp(app, loop=loop)' 'WebTestApp(app, loop=event_loop)' 39 + ''; 40 + 41 + build-system = [ setuptools ]; 42 + 43 + dependencies = [ webtest ]; 34 44 35 45 nativeCheckInputs = [ 36 46 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