mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
fittrackee: 1.3.4 -> 1.3.5
Security Issue: GHSA-p67x-83gj-56rg
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
From 4fa9323aa6c029049848bf619b11fc790d9cecc2 Mon Sep 17 00:00:00 2001
|
||||
From: Chris Moultrie <tebriel@frodux.in>
|
||||
Date: Sun, 9 Aug 2026 18:08:21 -0400
|
||||
Subject: [PATCH] pytest: Parametrize compatability with 9.1.1
|
||||
|
||||
---
|
||||
fittrackee/tests/workouts/test_workouts_model.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/fittrackee/tests/workouts/test_workouts_model.py b/fittrackee/tests/workouts/test_workouts_model.py
|
||||
index 077a8a86e..ca4175a6f 100644
|
||||
--- a/fittrackee/tests/workouts/test_workouts_model.py
|
||||
+++ b/fittrackee/tests/workouts/test_workouts_model.py
|
||||
@@ -1199,7 +1199,7 @@ class TestWorkoutModelForOwner(WorkoutModelTestCase):
|
||||
)
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
- "input_args,",
|
||||
+ "input_args",
|
||||
[
|
||||
{"light": False},
|
||||
{"light": False, "with_equipments": True},
|
||||
@@ -1226,7 +1226,7 @@ class TestWorkoutModelForOwner(WorkoutModelTestCase):
|
||||
equipment_bike_user_1.serialize(current_user=user_1)
|
||||
]
|
||||
|
||||
- @pytest.mark.parametrize("input_args,", [{}, {"light": True}])
|
||||
+ @pytest.mark.parametrize("input_args", [{}, {"light": True}])
|
||||
def test_serializer_does_not_return_equipments(
|
||||
self,
|
||||
app: Flask,
|
||||
--
|
||||
2.54.0
|
||||
|
||||
@@ -11,27 +11,22 @@
|
||||
}:
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "fittrackee";
|
||||
version = "1.3.4";
|
||||
version = "1.3.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromCodeberg {
|
||||
owner = "FitTrackee";
|
||||
repo = "FitTrackee";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-PN+YHRKvsAgTaSm4dl2t5voRxbgIo+yoieMfGEuE0oI=";
|
||||
hash = "sha256-IJ/Y1y94esoJtGNJBUbwQo5H0s6hGcUDCIfI1RUht1c=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://codeberg.org/FitTrackee/FitTrackee/pulls/1205
|
||||
./0001-pytest-Parametrize-compatability-with-9.1.1.patch
|
||||
];
|
||||
|
||||
makeCacheWritable = true;
|
||||
npmRoot = "fittrackee_client";
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-kN/J7hIeEcnCKaramIPhoBsbBg32VgF372f9KOPi+nY=";
|
||||
hash = "sha256-zIqkJdXeQjvXW9TSKZ2Qs9YwiSdRb7HNhZB9Roauu9Y=";
|
||||
sourceRoot = "${finalAttrs.src.name}/fittrackee_client";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user