From e5fb9c44ac45212b419c7bcaf17f4a84c71c3bc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 5 Mar 2026 01:58:44 +0100 Subject: [PATCH] python314Packages.python-picnic-api2: 1.3.2 -> 1.3.4 Diff: https://github.com/codesalatdev/python-picnic-api/compare/v1.3.2...v1.3.4 Changelog: https://github.com/codesalatdev/python-picnic-api/releases/tag/v1.3.4 --- .../python-modules/python-picnic-api2/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-picnic-api2/default.nix b/pkgs/development/python-modules/python-picnic-api2/default.nix index 83bd486ef516..c2466eaddc56 100644 --- a/pkgs/development/python-modules/python-picnic-api2/default.nix +++ b/pkgs/development/python-modules/python-picnic-api2/default.nix @@ -4,23 +4,28 @@ hatchling, lib, pytestCheckHook, - python-dotenv, + pythonAtLeast, requests, typing-extensions, }: buildPythonPackage rec { pname = "python-picnic-api2"; - version = "1.3.2"; + version = "1.3.4"; pyproject = true; src = fetchFromGitHub { owner = "codesalatdev"; repo = "python-picnic-api"; tag = "v${version}"; - hash = "sha256-GFxs2ZjyGADMG8YWtpy+sAZClLOYt70KtEp5MCgY+7I="; + hash = "sha256-ytzzGr/z0jrsudtCBrcvGITo4DxxC8JCmSmQ8ybeomM="; }; + postPatch = lib.optionalString (pythonAtLeast "3.14") '' + substituteInPlace tests/test_session.py \ + --replace-fail '"Accept-Encoding": "gzip, deflate",' '"Accept-Encoding": "gzip, deflate, zstd",' + ''; + build-system = [ hatchling ]; dependencies = [