all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#71608] [PATCH 0/2] Update python-wtforms (and add split out python-wtforms-sqlalchemy)
@ 2024-06-17  6:47 Ben Sturmfels via Guix-patches via
  2024-06-17  6:49 ` [bug#71608] [PATCH 1/2] gnu: python-wtforms: Update to 3.1.2 Ben Sturmfels via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ben Sturmfels via Guix-patches via @ 2024-06-17  6:47 UTC (permalink / raw)
  To: 71608
  Cc: Ben Sturmfels, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Sharlatan Hellseher, Tanguy Le Carrour, jgart

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#71608] [PATCH 1/2] gnu: python-wtforms: Update to 3.1.2
  2024-06-17  6:47 [bug#71608] [PATCH 0/2] Update python-wtforms (and add split out python-wtforms-sqlalchemy) Ben Sturmfels via Guix-patches via
@ 2024-06-17  6:49 ` Ben Sturmfels via Guix-patches via
  2024-06-17  6:49 ` [bug#71608] [PATCH 2/2] gnu: Add python-wtforms-sqlalchemy Ben Sturmfels via Guix-patches via
  2024-06-17 22:29 ` bug#71608: [PATCH 0/2] Update python-wtforms (and add split out python-wtforms-sqlalchemy) jgart via Guix-patches via
  2 siblings, 0 replies; 4+ messages in thread
From: Ben Sturmfels via Guix-patches via @ 2024-06-17  6:49 UTC (permalink / raw)
  To: 71608
  Cc: Ben Sturmfels, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Sharlatan Hellseher, Tanguy Le Carrour, jgart

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#71608] [PATCH 2/2] gnu: Add python-wtforms-sqlalchemy
  2024-06-17  6:47 [bug#71608] [PATCH 0/2] Update python-wtforms (and add split out python-wtforms-sqlalchemy) Ben Sturmfels via Guix-patches via
  2024-06-17  6:49 ` [bug#71608] [PATCH 1/2] gnu: python-wtforms: Update to 3.1.2 Ben Sturmfels via Guix-patches via
@ 2024-06-17  6:49 ` Ben Sturmfels via Guix-patches via
  2024-06-17 22:29 ` bug#71608: [PATCH 0/2] Update python-wtforms (and add split out python-wtforms-sqlalchemy) jgart via Guix-patches via
  2 siblings, 0 replies; 4+ messages in thread
From: Ben Sturmfels via Guix-patches via @ 2024-06-17  6:49 UTC (permalink / raw)
  To: 71608
  Cc: Ben Sturmfels, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Sharlatan Hellseher, Tanguy Le Carrour, jgart

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#71608: [PATCH 0/2] Update python-wtforms (and add split out python-wtforms-sqlalchemy)
  2024-06-17  6:47 [bug#71608] [PATCH 0/2] Update python-wtforms (and add split out python-wtforms-sqlalchemy) Ben Sturmfels via Guix-patches via
  2024-06-17  6:49 ` [bug#71608] [PATCH 1/2] gnu: python-wtforms: Update to 3.1.2 Ben Sturmfels via Guix-patches via
  2024-06-17  6:49 ` [bug#71608] [PATCH 2/2] gnu: Add python-wtforms-sqlalchemy Ben Sturmfels via Guix-patches via
@ 2024-06-17 22:29 ` jgart via Guix-patches via
  2 siblings, 0 replies; 4+ messages in thread
From: jgart via Guix-patches via @ 2024-06-17 22:29 UTC (permalink / raw)
  To: 71608-done; +Cc: ben

Hi,

Thanks for contributing to GNU Guix! 

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

all best,

jgart




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-17 22:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17  6:47 [bug#71608] [PATCH 0/2] Update python-wtforms (and add split out python-wtforms-sqlalchemy) Ben Sturmfels via Guix-patches via
2024-06-17  6:49 ` [bug#71608] [PATCH 1/2] gnu: python-wtforms: Update to 3.1.2 Ben Sturmfels via Guix-patches via
2024-06-17  6:49 ` [bug#71608] [PATCH 2/2] gnu: Add python-wtforms-sqlalchemy Ben Sturmfels via Guix-patches via
2024-06-17 22:29 ` bug#71608: [PATCH 0/2] Update python-wtforms (and add split out python-wtforms-sqlalchemy) jgart via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.