GNU bug report logs - #71608
[PATCH 0/2] Update python-wtforms (and add split out python-wtforms-sqlalchemy)

Previous Next

Package: guix-patches;

Reported by: Ben Sturmfels <ben <at> sturm.com.au>

Date: Mon, 17 Jun 2024 06:49:01 UTC

Severity: normal

Tags: patch

Done: "jgart" <jgart <at> dismail.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71608 in the body.
You can then email your comments to 71608 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#71608; Package guix-patches. (Mon, 17 Jun 2024 06:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Sturmfels <ben <at> sturm.com.au>:
New bug report received and forwarded. Copy sent to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org. (Mon, 17 Jun 2024 06:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: guix-patches <at> gnu.org
Cc: Ben Sturmfels <ben <at> sturm.com.au>
Subject: [PATCH 0/2] Update python-wtforms (and add split out
 python-wtforms-sqlalchemy)
Date: Mon, 17 Jun 2024 16:47:56 +1000
The following two patches upgrade python-wtforms and add
python-wtforms-sqlalchemy respectively. python-wtforms-sqlalchemy is a spinoff
of wtform.ext.sqlalchemy when it was removed from wtforms.

These are both need for packaging of GNU MediaGoblin.

Ben Sturmfels (2):
  gnu: python-wtforms: Update to 3.1.2
  gnu: Add python-wtforms-sqlalchemy

 gnu/packages/python-web.scm | 55 ++++++++++++++++++++-----------------
 1 file changed, 30 insertions(+), 25 deletions(-)


base-commit: bd5c61781c13611ed16686513980907c6ee34ae6
-- 
2.45.1





Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#71608; Package guix-patches. (Mon, 17 Jun 2024 06:50:02 GMT) Full text and rfc822 format available.

Message #8 received at 71608 <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: 71608 <at> debbugs.gnu.org
Cc: Ben Sturmfels <ben <at> sturm.com.au>
Subject: [PATCH 1/2] gnu: python-wtforms: Update to 3.1.2
Date: Mon, 17 Jun 2024 16:49:13 +1000
* gnu/packages/python-web.scm (python-wtforms): Update to 3.1.2

Change-Id: Id8119d0536d4d2dfa5c81de37013af68489c5fa5
---
 gnu/packages/python-web.scm | 33 ++++++++-------------------------
 1 file changed, 8 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5ca50fa5a6..fae4b8bf0f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5268,35 +5268,18 @@ (define-public python-bottle
 (define-public python-wtforms
   (package
     (name "python-wtforms")
-    (version "2.3.3")
+    (version "3.1.2")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "WTForms" version))
+       (uri (pypi-uri "wtforms" version))
        (sha256
-        (base32
-         "17427m7p9nn9byzva697dkykykwcp2br3bxvi8vciywlmkh5s6c1"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'delete-bundled-test
-           (lambda _
-             ;; Delete test copied from a third party package that fails
-             ;; with newer SQLAlchemy.  This can be removed for 3.0.
-             ;; See <https://github.com/wtforms/wtforms/issues/696>.
-             (delete-file "tests/ext_sqlalchemy.py")))
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "python" "setup.py" "compile_catalog")
-               (invoke "python" "tests/runtests.py")))))))
-    (native-inputs
-     (list python-dateutil python-sqlalchemy))
-    (propagated-inputs
-     (list python-babel python-email-validator python-markupsafe))
-    (home-page "http://wtforms.simplecodes.com/")
+        (base32 "1fblnkzvs6339glwx8bskdjy7nhn2ap90y9g6b399713sy063mzq"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-hatchling python-pytest))
+    (propagated-inputs (list python-babel python-email-validator
+                             python-markupsafe))
+    (home-page "https://wtforms.readthedocs.io/")
     (synopsis
      "Form validation and rendering library for Python web development")
     (description
-- 
2.45.1





Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#71608; Package guix-patches. (Mon, 17 Jun 2024 06:51:02 GMT) Full text and rfc822 format available.

Message #11 received at 71608 <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: 71608 <at> debbugs.gnu.org
Cc: Ben Sturmfels <ben <at> sturm.com.au>
Subject: [PATCH 2/2] gnu: Add python-wtforms-sqlalchemy
Date: Mon, 17 Jun 2024 16:49:14 +1000
* gnu/packages/python-web.scm (python-wtforms-sqlalchemy): New variable

Change-Id: Ie94c07d055ec42f08db3a18894e7f6184006764f
---
 gnu/packages/python-web.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index fae4b8bf0f..1363e6ccdf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5288,6 +5288,28 @@ (define-public python-wtforms
 available in Django, but is a standalone package.")
     (license license:bsd-3)))
 
+(define-public python-wtforms-sqlalchemy
+  (package
+    (name "python-wtforms-sqlalchemy")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "WTForms-SQLAlchemy" version))
+       (sha256
+        (base32 "1nx4x0ifanlbrzh3f9ns8ihnchlkzf54ilvqmgcgcz2j72vm43rp"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pytest))
+    (propagated-inputs (list python-sqlalchemy python-wtforms))
+    (home-page "https://github.com/wtforms/wtforms-sqlalchemy/")
+    (synopsis "SQLAlchemy tools for WTForms")
+    (description
+     "WTForms-SQLAlchemy is a fork of the @code{wtforms.ext.sqlalchemy}
+package from WTForms.  The package has been renamed to
+@code{wtforms_sqlalchemy} but otherwise should function the same as
+@code{wtforms.ext.sqlalchemy} did.")
+    (license license:bsd-3)))
+
 (define-public python-paste
   (package
     (name "python-paste")
-- 
2.45.1





Reply sent to "jgart" <jgart <at> dismail.de>:
You have taken responsibility. (Mon, 17 Jun 2024 22:30:03 GMT) Full text and rfc822 format available.

Notification sent to Ben Sturmfels <ben <at> sturm.com.au>:
bug acknowledged by developer. (Mon, 17 Jun 2024 22:30:04 GMT) Full text and rfc822 format available.

Message #16 received at 71608-done <at> debbugs.gnu.org (full text, mbox):

From: "jgart" <jgart <at> dismail.de>
To: 71608-done <at> debbugs.gnu.org
Cc: ben <at> sturm.com.au
Subject: Re: [PATCH 0/2] Update python-wtforms (and add split out
 python-wtforms-sqlalchemy)
Date: Mon, 17 Jun 2024 22:29:07 +0000
Hi,

Thanks for contributing to GNU Guix! 

Applied with added periods at the end of commit messages, observing Guix commit style.

all best,

jgart




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 16 Jul 2024 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 343 days ago.

Previous Next


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