Loading pkgs/development/python-modules/betterproto/default.nix +12 −15 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ buildPythonPackage, fetchFromGitHub, lib, pythonOlder, poetry-core, grpclib, python-dateutil, Loading @@ -10,9 +9,10 @@ jinja2, isort, python, cachelib, pydantic, pytest7CheckHook, pytest-asyncio_0_21, pytestCheckHook, pytest-asyncio, pytest-mock, typing-extensions, tomlkit, Loading @@ -21,16 +21,14 @@ buildPythonPackage rec { pname = "betterproto"; version = "2.0.0b6"; version = "2.0.0b7"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "danielgtaylor"; repo = "python-betterproto"; tag = "v.${version}"; hash = "sha256-ZuVq4WERXsRFUPNNTNp/eisWX1MyI7UtwqEI8X93wYI="; hash = "sha256-T7QSPH8MFa1hxJOhXc3ZMM62/FxHWjCJJ59IpeM41rI="; }; postPatch = '' Loading @@ -53,11 +51,12 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ cachelib grpcio-tools pydantic pytest-asyncio_0_21 pytest-asyncio pytest-mock pytest7CheckHook pytestCheckHook tomlkit ] ++ lib.flatten (builtins.attrValues optional-dependencies); Loading @@ -73,13 +72,11 @@ buildPythonPackage rec { ${python.interpreter} -m tests.generate ''; disabledTestPaths = [ # https://github.com/danielgtaylor/python-betterproto/issues/530 "tests/inputs/oneof/test_oneof.py" ]; disabledTests = [ "test_pydantic_no_value" # incompatible with pytest 8: # TypeError: exceptions must be derived from Warning, not <class 'NoneType'> "test_message_with_deprecated_field_not_set" "test_service_with_deprecated_method" # Test is flaky "test_binary_compatibility" ]; Loading pkgs/development/python-modules/sigstore-protobuf-specs/default.nix +6 −9 Original line number Diff line number Diff line { lib, pythonOlder, flit-core, fetchPypi, buildPythonPackage, Loading @@ -10,15 +9,13 @@ buildPythonPackage rec { pname = "sigstore-protobuf-specs"; version = "0.3.2"; version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { pname = "sigstore_protobuf_specs"; inherit version; hash = "sha256-yuBBtAUCYAuKYz9DwldpXQIiqU76HlEQp+x62njDnZk="; hash = "sha256-zvnrMrLGwlHeNuIoWkCq8glIJ+rhifXngE10jMw9W4E="; }; nativeBuildInputs = [ flit-core ]; Loading @@ -35,10 +32,10 @@ buildPythonPackage rec { passthru.skipBulkUpdate = true; meta = with lib; { meta = { description = "Library for serializing and deserializing Sigstore messages"; homepage = "https://pypi.org/project/sigstore-protobuf-specs/"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; homepage = "https://github.com/sigstore/protobuf-specs/tree/main/gen/pb-python"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; } Loading
pkgs/development/python-modules/betterproto/default.nix +12 −15 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ buildPythonPackage, fetchFromGitHub, lib, pythonOlder, poetry-core, grpclib, python-dateutil, Loading @@ -10,9 +9,10 @@ jinja2, isort, python, cachelib, pydantic, pytest7CheckHook, pytest-asyncio_0_21, pytestCheckHook, pytest-asyncio, pytest-mock, typing-extensions, tomlkit, Loading @@ -21,16 +21,14 @@ buildPythonPackage rec { pname = "betterproto"; version = "2.0.0b6"; version = "2.0.0b7"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "danielgtaylor"; repo = "python-betterproto"; tag = "v.${version}"; hash = "sha256-ZuVq4WERXsRFUPNNTNp/eisWX1MyI7UtwqEI8X93wYI="; hash = "sha256-T7QSPH8MFa1hxJOhXc3ZMM62/FxHWjCJJ59IpeM41rI="; }; postPatch = '' Loading @@ -53,11 +51,12 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ cachelib grpcio-tools pydantic pytest-asyncio_0_21 pytest-asyncio pytest-mock pytest7CheckHook pytestCheckHook tomlkit ] ++ lib.flatten (builtins.attrValues optional-dependencies); Loading @@ -73,13 +72,11 @@ buildPythonPackage rec { ${python.interpreter} -m tests.generate ''; disabledTestPaths = [ # https://github.com/danielgtaylor/python-betterproto/issues/530 "tests/inputs/oneof/test_oneof.py" ]; disabledTests = [ "test_pydantic_no_value" # incompatible with pytest 8: # TypeError: exceptions must be derived from Warning, not <class 'NoneType'> "test_message_with_deprecated_field_not_set" "test_service_with_deprecated_method" # Test is flaky "test_binary_compatibility" ]; Loading
pkgs/development/python-modules/sigstore-protobuf-specs/default.nix +6 −9 Original line number Diff line number Diff line { lib, pythonOlder, flit-core, fetchPypi, buildPythonPackage, Loading @@ -10,15 +9,13 @@ buildPythonPackage rec { pname = "sigstore-protobuf-specs"; version = "0.3.2"; version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { pname = "sigstore_protobuf_specs"; inherit version; hash = "sha256-yuBBtAUCYAuKYz9DwldpXQIiqU76HlEQp+x62njDnZk="; hash = "sha256-zvnrMrLGwlHeNuIoWkCq8glIJ+rhifXngE10jMw9W4E="; }; nativeBuildInputs = [ flit-core ]; Loading @@ -35,10 +32,10 @@ buildPythonPackage rec { passthru.skipBulkUpdate = true; meta = with lib; { meta = { description = "Library for serializing and deserializing Sigstore messages"; homepage = "https://pypi.org/project/sigstore-protobuf-specs/"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; homepage = "https://github.com/sigstore/protobuf-specs/tree/main/gen/pb-python"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; }