From b6797755d51d016113a1f9ab95973f04ddcfb1e0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 6 Feb 2024 12:17:44 +0100 Subject: [PATCH 1/3] python311Packages.pygitguardian: 1.12.0 -> 1.13.0 Diff: https://github.com/GitGuardian/py-gitguardian/compare/refs/tags/v1.12.0...v1.13.0 Changelog: https://github.com/GitGuardian/py-gitguardian/blob/1.13.0/CHANGELOG.md --- pkgs/development/python-modules/pygitguardian/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pygitguardian/default.nix b/pkgs/development/python-modules/pygitguardian/default.nix index ad97cd944250..9cddcf7650a8 100644 --- a/pkgs/development/python-modules/pygitguardian/default.nix +++ b/pkgs/development/python-modules/pygitguardian/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pygitguardian"; - version = "1.12.0"; + version = "1.13.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "GitGuardian"; repo = "py-gitguardian"; rev = "refs/tags/v${version}"; - hash = "sha256-ybl6QOLb1xE6v0D1C2wKMsSU+r2gWzj24Q4pPIMBsCY="; + hash = "sha256-LRzyZAusCo4uZlXFWoRPIfPgAGO4sP0KCGYOICNZ6f4="; }; pythonRelaxDeps = [ @@ -69,6 +69,7 @@ buildPythonPackage rec { "test_quota_overview" "test_rate_limit" "test_sca_client_scan_diff" + "test_sca_scan_all_with_params" "test_sca_scan_directory_invalid_tar" "test_sca_scan_directory" "test_versions_from_headers" From b8ce63432fad195acea98476eb8f2957a5c4da20 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 6 Feb 2024 12:19:49 +0100 Subject: [PATCH 2/3] ggshield: 1.23.0 -> 1.24.0 Diff: https://github.com/GitGuardian/ggshield/compare/refs/tags/v1.23.0...v1.24.0 Changelog: https://github.com/GitGuardian/ggshield/blob/1.24.0/CHANGELOG.md --- pkgs/tools/security/ggshield/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/ggshield/default.nix b/pkgs/tools/security/ggshield/default.nix index 50b3439732d3..6b93977558c8 100644 --- a/pkgs/tools/security/ggshield/default.nix +++ b/pkgs/tools/security/ggshield/default.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "ggshield"; - version = "1.23.0"; + version = "1.24.0"; pyproject = true; src = fetchFromGitHub { owner = "GitGuardian"; repo = "ggshield"; rev = "refs/tags/v${version}"; - hash = "sha256-c2EXgUs+6GA5zHHF7Cx21LIsZ+jbmQFFUwLft2q5M30="; + hash = "sha256-N0yokLsp6jRELIPu8w6gvD7V97xiKJl+kLQQB9h2mMY="; }; pythonRelaxDeps = true; @@ -31,6 +31,7 @@ python3.pkgs.buildPythonApplication rec { marshmallow marshmallow-dataclass oauthlib + platformdirs pygitguardian pyjwt python-dotenv @@ -67,6 +68,11 @@ python3.pkgs.buildPythonApplication rec { "test_is_valid_git_commit_ref" "test_check_git_dir" "test_does_not_fail_if_cache" + # Encoding issues + "test_file_decode_content" + "test_file_is_longer_than_does_not_read_utf8_file" + "test_file_is_longer_using_8bit_codec" + "test_generate_files_from_paths" ]; meta = with lib; { From a6c043b35a0963baf985dd7dbfacd68b2faee1b3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 6 Feb 2024 12:21:26 +0100 Subject: [PATCH 3/3] python311Packages.pygitguardian: update changelog entry --- pkgs/development/python-modules/pygitguardian/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pygitguardian/default.nix b/pkgs/development/python-modules/pygitguardian/default.nix index 9cddcf7650a8..2f3cde9a51d8 100644 --- a/pkgs/development/python-modules/pygitguardian/default.nix +++ b/pkgs/development/python-modules/pygitguardian/default.nix @@ -78,7 +78,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library to access the GitGuardian API"; homepage = "https://github.com/GitGuardian/py-gitguardian"; - changelog = "https://github.com/GitGuardian/py-gitguardian/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/GitGuardian/py-gitguardian/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };