From 5abc2d1d13c0097d9c3dd037eafc1af0dd6d9ecc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 26 Mar 2025 06:12:59 +0100 Subject: [PATCH] python313Packages.python-picnic-api2: 1.2.2 -> 1.2.4 Changelog: https://github.com/codesalatdev/python-picnic-api/releases/tag/v1.2.4 --- .../python-picnic-api2/default.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/python-picnic-api2/default.nix b/pkgs/development/python-modules/python-picnic-api2/default.nix index aea6359f8abc..a133e49c4f03 100644 --- a/pkgs/development/python-modules/python-picnic-api2/default.nix +++ b/pkgs/development/python-modules/python-picnic-api2/default.nix @@ -1,8 +1,8 @@ { buildPythonPackage, fetchFromGitHub, + hatchling, lib, - poetry-core, pytestCheckHook, python-dotenv, requests, @@ -11,17 +11,17 @@ buildPythonPackage rec { pname = "python-picnic-api2"; - version = "1.2.2"; + version = "1.2.4"; pyproject = true; src = fetchFromGitHub { owner = "codesalatdev"; repo = "python-picnic-api"; tag = "v${version}"; - hash = "sha256-pO0aIdMKSC8AT/Bu5axl1NZbbF8IM/cOygLRT8eRKlU="; + hash = "sha256-vlb53f+k+oX9ycyTe/63u0qoqIn8kHKtCehl82Ks9wY="; }; - build-system = [ poetry-core ]; + build-system = [ hatchling ]; dependencies = [ requests @@ -30,20 +30,13 @@ buildPythonPackage rec { pythonImportsCheck = [ "python_picnic_api2" ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; disabledTestPaths = [ # tests access the actual API "integration_tests" ]; - disabledTests = [ - # tests don't expect requests to come with the br transfer-encoding - "test_update_auth_token" - ]; - meta = { changelog = "https://github.com/codesalatdev/python-picnic-api/releases/tag/${src.tag}"; description = "Fork of the Unofficial Python wrapper for the Picnic API";