GNU bug report logs - #68492
[PATCH] gnu: Add python-fastapi-pagination.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Giacomo Leidi <goodoldpaul@HIDDEN>; Keywords: patch; dated Mon, 15 Jan 2024 23:26:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 68492 <at> debbugs.gnu.org:


Received: (at 68492) by debbugs.gnu.org; 19 Jan 2024 12:00:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 19 07:00:52 2024
Received: from localhost ([127.0.0.1]:57701 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rQnYJ-00040c-Ir
	for submit <at> debbugs.gnu.org; Fri, 19 Jan 2024 07:00:51 -0500
Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:52373)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sharlatanus@HIDDEN>) id 1rQnYI-0003sW-7G
 for 68492 <at> debbugs.gnu.org; Fri, 19 Jan 2024 07:00:50 -0500
Received: by mail-lf1-x132.google.com with SMTP id
 2adb3069b0e04-50eac018059so949140e87.0
 for <68492 <at> debbugs.gnu.org>; Fri, 19 Jan 2024 04:00:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1705665641; x=1706270441; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=uvfKYflqQ3PBosLzvRMO36K+rqa7u9hPxODgLb6cOzs=;
 b=eUxcZnPOfy6FbexaG4sut6EvAqvlJOyPazSvmgwd8dfP6UgITwrWLdn9mJa4CkjLpg
 z9YDe2je9aGWdw9+foN3n4q0YFfZOI6B1qbXJjAybSoc8OdDuXteKVNAZqMAlaAWP0CW
 2LEkPjijAGrexHRmmhPdIKCABTUvvnsM9nIvgDX2eIDU45RMQSQj6kxYYApTW/PvDqw6
 LHsgSEQVE4jh6aHY+9eoL/irKFkSXPWY0uETo8C0Jfhs+400lPXvQMVFhfDk8Mu7xf4I
 qjCxNL86V0L/mhNvJ/wLyQfTLpU3ZVXRFBg7cnJvqGUBKl5Es0+SjqHwLAGAygd9LdNW
 sbUA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1705665641; x=1706270441;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=uvfKYflqQ3PBosLzvRMO36K+rqa7u9hPxODgLb6cOzs=;
 b=FsRErAfRd2RmeGc6qI3+n3gVrszV1Ijh9nKYcWyf1YVkYP02UW3tJhUM+RXvYieN2T
 JyFNepF6uzQMCmIqUYpfdpX+S9ADdv7GIo2xZ2GXnzICorSFVoGXqKOnFqMYQmRHd7Dw
 FwVmm4qO7FHULwCu72gPidAA+PuW5FdU6jkbLER6UC5U3TYuaZFjjDLoBQome2zjirKQ
 V/9wu1+znmln2ZEmCh9qxDslYs3u1xbsWzmonmkQo4A88nhDW7CVS4F+7nTOOqjV07i5
 uDc0qJKasFNNts+akyGdmM5m/GvqONkH3pkgOKMJ/tmFLD0OtrptSQMRaROkR0cFgpiU
 KQFQ==
X-Gm-Message-State: AOJu0YyREzn/buH7CNnvLpBErWBs9jRugXI4r8MBONbcJMjrZu8QXeo9
 S56WPo6bSWeTuNp6RftySGRPuIjC0UThDifX9A28lalRVqn4PZZoyFzPJtAkqc48Xqo9c6/HkQR
 BbLPMllXVPyG+QZuVbNqXO/6We9egcSEnplA=
X-Google-Smtp-Source: AGHT+IEwZISKFh8k/Gi9Z1oQUWTBanGKIxsV11cS/Muls23oZr1mrKtWISzdm3jpzFJUJGEGa/t7vpCXpDOjQsddmCI=
X-Received: by 2002:a05:6512:b9f:b0:50e:5222:7435 with SMTP id
 b31-20020a0565120b9f00b0050e52227435mr822899lfv.74.1705665641180; Fri, 19 Jan
 2024 04:00:41 -0800 (PST)
MIME-Version: 1.0
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
Date: Fri, 19 Jan 2024 12:00:30 +0000
Message-ID: <CAO+9K5opwwS3WvfMvXY6XU4yD6hspbOT7i3RWBOkxUiK6GDjXA@HIDDEN>
Subject: [PATCH] gnu: Add python-fastapi-pagination.
To: 68492 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="000000000000a5f1de060f4b3a99"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 68492
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000a5f1de060f4b3a99
Content-Type: text/plain; charset="UTF-8"

Hi,

Package is LGTM.

> ;; Tests depend on python-cassandra
> + `(#:tests? #f))
May you mention that it's not packed yet in Guix, please?
It would help to prioritize  missing package in next update cycle.

Did you check if we can activate any optional dependencies?

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
pydantic = ">=1.9.1"
fastapi = ">=0.93.0"
typing-extensions = "^4.8.0"
SQLAlchemy = { version = ">=1.3.20", optional = true }
databases = { version = ">=0.6.0", optional = true }
orm = { version = ">=0.3.1", optional = true }
tortoise-orm = { version = ">=0.16.18,<0.21.0", optional = true }
asyncpg = { version = ">=0.24.0", optional = true }
ormar = { version = ">=0.11.2", optional = true}
django = { version = "<5.0.0", optional = true}
piccolo = { version = ">=0.89,<0.122", optional = true}
motor =  { version = ">=2.5.1,<4.0.0", optional = true }
mongoengine = {version = ">=0.23.1,<0.28.0", optional = true}
sqlmodel = { version = ">=0.0.8,<0.0.15", optional = true}
pony = { version = "^0.7.16", optional = true}
beanie = { version = "^1.11.9", optional = true}
sqlakeyset = { version = "^2.0.1680321678", optional = true }
scylla-driver = {version = "^3.25.6", optional = true}
bunnet = {version = "^1.1.0", optional = true}

Thanks,
Oleg

--000000000000a5f1de060f4b3a99
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hi,<div dir=3D"auto"><br></div><div dir=3D"auto">Package =
is LGTM.</div><div dir=3D"auto"><br></div><div dir=3D"auto"><div style=3D"b=
ackground-repeat:no-repeat;font-family:monospace;font-size:16px" dir=3D"aut=
o">&gt;      ;; Tests depend on python-cassandra</div><div style=3D"backgro=
und-repeat:no-repeat;font-family:monospace;font-size:16px" dir=3D"auto">&gt=
; +     `(#:tests? #f))</div></div><div dir=3D"auto">May you mention that i=
t&#39;s not packed yet in Guix, please?=C2=A0</div><div dir=3D"auto">It wou=
ld help to prioritize=C2=A0 missing package in next update cycle.</div><div=
 dir=3D"auto"><br></div><div dir=3D"auto">Did you check if we can activate =
any optional dependencies?=C2=A0</div><div dir=3D"auto"><br></div><div dir=
=3D"auto"><div dir=3D"auto">[tool.poetry.dependencies]</div><div dir=3D"aut=
o">python =3D &quot;&gt;=3D3.8,&lt;4.0&quot;</div><div dir=3D"auto">pydanti=
c =3D &quot;&gt;=3D1.9.1&quot;</div><div dir=3D"auto">fastapi =3D &quot;&gt=
;=3D0.93.0&quot;</div><div dir=3D"auto">typing-extensions =3D &quot;^4.8.0&=
quot;</div><div dir=3D"auto">SQLAlchemy =3D { version =3D &quot;&gt;=3D1.3.=
20&quot;, optional =3D true }</div><div dir=3D"auto">databases =3D { versio=
n =3D &quot;&gt;=3D0.6.0&quot;, optional =3D true }</div><div dir=3D"auto">=
orm =3D { version =3D &quot;&gt;=3D0.3.1&quot;, optional =3D true }</div><d=
iv dir=3D"auto">tortoise-orm =3D { version =3D &quot;&gt;=3D0.16.18,&lt;0.2=
1.0&quot;, optional =3D true }</div><div dir=3D"auto">asyncpg =3D { version=
 =3D &quot;&gt;=3D0.24.0&quot;, optional =3D true }</div><div dir=3D"auto">=
ormar =3D { version =3D &quot;&gt;=3D0.11.2&quot;, optional =3D true}</div>=
<div dir=3D"auto">django =3D { version =3D &quot;&lt;5.0.0&quot;, optional =
=3D true}</div><div dir=3D"auto">piccolo =3D { version =3D &quot;&gt;=3D0.8=
9,&lt;0.122&quot;, optional =3D true}</div><div dir=3D"auto">motor =3D=C2=
=A0 { version =3D &quot;&gt;=3D2.5.1,&lt;4.0.0&quot;, optional =3D true }</=
div><div dir=3D"auto">mongoengine =3D {version =3D &quot;&gt;=3D0.23.1,&lt;=
0.28.0&quot;, optional =3D true}</div><div dir=3D"auto">sqlmodel =3D { vers=
ion =3D &quot;&gt;=3D0.0.8,&lt;0.0.15&quot;, optional =3D true}</div><div d=
ir=3D"auto">pony =3D { version =3D &quot;^0.7.16&quot;, optional =3D true}<=
/div><div dir=3D"auto">beanie =3D { version =3D &quot;^1.11.9&quot;, option=
al =3D true}</div><div dir=3D"auto">sqlakeyset =3D { version =3D &quot;^2.0=
.1680321678&quot;, optional =3D true }</div><div dir=3D"auto">scylla-driver=
 =3D {version =3D &quot;^3.25.6&quot;, optional =3D true}</div><div dir=3D"=
auto">bunnet =3D {version =3D &quot;^1.1.0&quot;, optional =3D true}</div><=
div dir=3D"auto"><br></div><div dir=3D"auto">Thanks,</div><div dir=3D"auto"=
>Oleg</div></div></div>

--000000000000a5f1de060f4b3a99--




Information forwarded to guix-patches@HIDDEN:
bug#68492; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Jan 2024 23:25:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 15 18:25:39 2024
Received: from localhost ([127.0.0.1]:47253 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPWKo-0005L0-IH
	for submit <at> debbugs.gnu.org; Mon, 15 Jan 2024 18:25:39 -0500
Received: from lists.gnu.org ([2001:470:142::17]:42196)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <goodoldpaul@HIDDEN>) id 1rPWKl-0005Ki-QA
 for submit <at> debbugs.gnu.org; Mon, 15 Jan 2024 18:25:37 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <goodoldpaul@HIDDEN>)
 id 1rPWKe-0003wX-EL
 for guix-patches@HIDDEN; Mon, 15 Jan 2024 18:25:28 -0500
Received: from confino.investici.org ([93.190.126.19])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <goodoldpaul@HIDDEN>)
 id 1rPWKc-0001uE-31
 for guix-patches@HIDDEN; Mon, 15 Jan 2024 18:25:28 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org;
 s=stigmate; t=1705361122;
 bh=afRU9fGLNnNO0ql4GCTa2tUDzvW647PPRJZ+mk8546Y=;
 h=From:To:Cc:Subject:Date:From;
 b=azhnIKdo1AsnnVTeAPnBpfV3lTmPtPJQavrJHu8lnXLv85KnqxS5CWjfyQIZAL7f9
 kWuLj5vydSM24q37sE5cYfAG/NfxLa3jgm367omOaGZjmJUqUleppYbZOZvcKhe18F
 fGxYQBGVaOC1VoAiaNPWR9GvmnoIK0fD00FQPyGE=
Received: from mx1.investici.org (unknown [127.0.0.1])
 by confino.investici.org (Postfix) with ESMTP id 4TDStB644Tz114F;
 Mon, 15 Jan 2024 23:25:22 +0000 (UTC)
Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19])
 (Authenticated sender: goodoldpaul@HIDDEN) by localhost (Postfix) with
 ESMTPSA id 4TDStB4p57z114B; Mon, 15 Jan 2024 23:25:22 +0000 (UTC)
From: Giacomo Leidi <goodoldpaul@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add python-fastapi-pagination.
Date: Tue, 16 Jan 2024 00:25:09 +0100
Message-ID: <20240115232510.11373-1-goodoldpaul@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=93.190.126.19;
 envelope-from=goodoldpaul@HIDDEN; helo=confino.investici.org
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Giacomo Leidi <goodoldpaul@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

* gnu/packages/python-web.scm (python-fastapi-pagination): New variable.

Change-Id: I335d984607ebb954032dd4b1eedccf436584c59d
---
 gnu/packages/python-web.scm | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 418100c084..ecb546ca8e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -39,7 +39,7 @@
 ;;; Copyright © 2020 Edouard Klein <edk@HIDDEN>
 ;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego <monego@HIDDEN>
 ;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@HIDDEN>
-;;; Copyright © 2020, 2022 Giacomo Leidi <goodoldpaul@HIDDEN>
+;;; Copyright © 2020, 2022, 2024 Giacomo Leidi <goodoldpaul@HIDDEN>
 ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@HIDDEN>
 ;;; Copyright © 2021 Greg Hogan <code@HIDDEN>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@HIDDEN>
@@ -8663,6 +8663,35 @@ (define-public python-fastapi-csrf-protect
 pattern.")
     (license license:expat)))
 
+(define-public python-fastapi-pagination
+  (package
+    (name "python-fastapi-pagination")
+    (version "0.12.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/uriyyo/fastapi-pagination")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0qkcphjk1qy680v1hkmqbs4p7srvx020wy39b97anrn9dyyi5ah6"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; Tests depend on python-cassandra
+     `(#:tests? #f))
+    (native-inputs
+     (list poetry))
+    (propagated-inputs (list python-fastapi
+                             python-pydantic))
+    (home-page "https://github.com/uriyyo/fastapi-pagination")
+    (synopsis "FastAPI pagination library")
+    (description "@code{fastapi-pagination} is a Python library designed to
+simplify pagination in FastAPI applications.  It provides a set of utility
+functions and data models to help you paginate your database queries and
+return paginated responses to your clients.")
+    (license license:expat)))
+
 (define-public python-pyactiveresource
   (package
     (name "python-pyactiveresource")

base-commit: 19db1551dc6f6180d2cda9084c2dec37bf4923c9
-- 
2.41.0





Acknowledgement sent to Giacomo Leidi <goodoldpaul@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#68492; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.