unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59764] [PATCH 0/8] Update searx and dependencies
@ 2022-12-02  5:56 kiasoc5 via Guix-patches via
  2022-12-02  5:59 ` [bug#59764] [PATCH 1/8] gnu: Add python-lxml-4.9 kiasoc5 via Guix-patches via
  0 siblings, 1 reply; 9+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-12-02  5:56 UTC (permalink / raw)
  To: 59764; +Cc: kiasoc5

New python-lxml version added, and a single failing test in 
python-werkzeug is disabled for now (other distros disable the entire 
file containing that test).

kiasoc5 (8):
   gnu: Add python-lxml-4.9.
   gnu: Add python-greenlet.
   gnu: Add python-ephemeral-port-reserve.
   gnu: python-flask: Update to 2.2.2.
   gnu: python-werkzeug: Update to 2.2.2.
   gnu: python-markupsafe: Update to 2.1.1.
   gnu: python-jinja2: Update to 3.1.2.
   gnu: searx: Update to 1.1.0.

  gnu/packages/python-web.scm | 41 +++++++++++++++++++++++++++++++------
  gnu/packages/python-xyz.scm | 30 +++++++++++++++++++++++----
  gnu/packages/search.scm     | 13 ++++++------
  gnu/packages/xml.scm        | 12 +++++++++++
  4 files changed, 80 insertions(+), 16 deletions(-)


base-commit: 4781f0458de7419606b71bdf0fe56bca83ace910
-- 
2.38.1





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

* [bug#59764] [PATCH 1/8] gnu: Add python-lxml-4.9.
  2022-12-02  5:56 [bug#59764] [PATCH 0/8] Update searx and dependencies kiasoc5 via Guix-patches via
@ 2022-12-02  5:59 ` kiasoc5 via Guix-patches via
  2022-12-02  5:59   ` [bug#59764] [PATCH 2/8] gnu: Add python-greenlet kiasoc5 via Guix-patches via
                     ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-12-02  5:59 UTC (permalink / raw)
  To: 59764; +Cc: kiasoc5

* gnu/packages/xml.scm (python-lxml-4.9): New variable.
---
 gnu/packages/xml.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 770bac3670..141c047b02 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -2536,6 +2536,18 @@ (define-public python-lxml-4.7
         (base32
          "090viyanaki4q7w7i000xl0qh4in52bkl3qal55sz2bbm8w3hqd1"))))))
 
+(define-public python-lxml-4.9
+  (package
+    (inherit python-lxml)
+    (version "4.9.1")
+    (source
+     (origin
+       (inherit (package-source python-lxml))
+       (uri (pypi-uri "lxml" version))
+       (sha256
+        (base32
+         "0grczyrrq2rbwhvpri15cyhv330s494vbz3js3jky8xp5c2rnx7y"))))))
+
 (define-public python-untangle
   ;; The latest tagged release is from 2014; use the latest commit.
   (let ((revision "1")
-- 
2.38.1





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

* [bug#59764] [PATCH 2/8] gnu: Add python-greenlet.
  2022-12-02  5:59 ` [bug#59764] [PATCH 1/8] gnu: Add python-lxml-4.9 kiasoc5 via Guix-patches via
@ 2022-12-02  5:59   ` kiasoc5 via Guix-patches via
  2022-12-02  5:59   ` [bug#59764] [PATCH 3/8] gnu: Add python-ephemeral-port-reserve kiasoc5 via Guix-patches via
                     ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-12-02  5:59 UTC (permalink / raw)
  To: 59764; +Cc: kiasoc5

* gnu/packages/python-xyz.scm (python-greenlet): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 17fbd9de9e..2e1db8a252 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12370,6 +12370,28 @@ (define-public python-curio
 tasks, sockets, files, locks, and queues.")
     (license license:bsd-3)))
 
+(define-public python-greenlet
+(package
+  (name "python-greenlet")
+  (version "2.0.1")
+  (source (origin
+            (method url-fetch)
+            (uri (pypi-uri "greenlet" version))
+            (sha256
+             (base32
+              "0rqgxp1fai0fcyv46nd1389mxvk3ccixgdkwws70xnk08ib05rj2"))))
+  (build-system python-build-system)
+  (native-inputs (list python-objgraph python-psutil))
+  (home-page "https://greenlet.readthedocs.io/")
+  (synopsis "Lightweight in-process concurrent programming")
+  (description
+    "This package provides greenlets for Python.  greenlets are lightweight
+coroutines for in-process sequential concurrent programming.  They are
+frequently used with frameworks such as gevent to provide higher-level
+abstractions and asynchronous I/O.  They are analagous to threads or Python's
+built-in coroutines.")
+  (license license:expat)))
+
 (define-public python-tables
   (package
     (name "python-tables")
-- 
2.38.1





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

* [bug#59764] [PATCH 3/8] gnu: Add python-ephemeral-port-reserve.
  2022-12-02  5:59 ` [bug#59764] [PATCH 1/8] gnu: Add python-lxml-4.9 kiasoc5 via Guix-patches via
  2022-12-02  5:59   ` [bug#59764] [PATCH 2/8] gnu: Add python-greenlet kiasoc5 via Guix-patches via
@ 2022-12-02  5:59   ` kiasoc5 via Guix-patches via
  2022-12-02  5:59   ` [bug#59764] [PATCH 4/8] gnu: python-flask: Update to 2.2.2 kiasoc5 via Guix-patches via
                     ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-12-02  5:59 UTC (permalink / raw)
  To: 59764; +Cc: kiasoc5

* gnu/packages/python-web.scm (python-ephemeral-port-reserve): New variable.
---
 gnu/packages/python-web.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4f3a587c6a..944fb4c781 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5577,6 +5577,26 @@ (define-public python-port-for
 association.")
     (license license:expat)))
 
+(define-public python-ephemeral-port-reserve
+  (package
+    (name "python-ephemeral-port-reserve")
+    (version "1.1.4")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "ephemeral_port_reserve" version))
+              (sha256
+               (base32
+                "1chl9hil7ggz6l4sfhmp0l2j55qcskbc3pj9360b0309jwndmxxq"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/Yelp/ephemeral-port-reserve/")
+    (synopsis
+     "Find an unused port, reliably.")
+    (description
+     "@code{ephemeral-port-reserve} provides a reliable and race-free
+implementation of the ``port 0 trick'': bind to an ephemeral port, force it into
+the TIME_WAIT state, and unbind it.")
+    (license license:expat)))
+
 (define-public python-livereload
   (package
     (name "python-livereload")
-- 
2.38.1





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

* [bug#59764] [PATCH 4/8] gnu: python-flask: Update to 2.2.2.
  2022-12-02  5:59 ` [bug#59764] [PATCH 1/8] gnu: Add python-lxml-4.9 kiasoc5 via Guix-patches via
  2022-12-02  5:59   ` [bug#59764] [PATCH 2/8] gnu: Add python-greenlet kiasoc5 via Guix-patches via
  2022-12-02  5:59   ` [bug#59764] [PATCH 3/8] gnu: Add python-ephemeral-port-reserve kiasoc5 via Guix-patches via
@ 2022-12-02  5:59   ` kiasoc5 via Guix-patches via
  2022-12-02  5:59   ` [bug#59764] [PATCH 5/8] gnu: python-werkzeug: " kiasoc5 via Guix-patches via
                     ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-12-02  5:59 UTC (permalink / raw)
  To: 59764; +Cc: kiasoc5

* gnu/packages/python-web.scm (python-flask): Update to 2.2.2.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 944fb4c781..9164c2e096 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3435,13 +3435,13 @@ (define-public python-webtest
 (define-public python-flask
   (package
     (name "python-flask")
-    (version "2.1.1")
+    (version "2.2.2")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Flask" version))
               (sha256
                (base32
-                "1j0rjly2yhbm566lq2s8543fs7fz86f77abps539djcfalzbvjd8"))))
+                "0ayadjqn8lky9rmly7r33sm589fkysld56vjjqplibf4346lab34"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
-- 
2.38.1





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

* [bug#59764] [PATCH 5/8] gnu: python-werkzeug: Update to 2.2.2.
  2022-12-02  5:59 ` [bug#59764] [PATCH 1/8] gnu: Add python-lxml-4.9 kiasoc5 via Guix-patches via
                     ` (2 preceding siblings ...)
  2022-12-02  5:59   ` [bug#59764] [PATCH 4/8] gnu: python-flask: Update to 2.2.2 kiasoc5 via Guix-patches via
@ 2022-12-02  5:59   ` kiasoc5 via Guix-patches via
  2022-12-02  5:59   ` [bug#59764] [PATCH 6/8] gnu: python-markupsafe: Update to 2.1.1 kiasoc5 via Guix-patches via
                     ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-12-02  5:59 UTC (permalink / raw)
  To: 59764; +Cc: kiasoc5

* gnu/packages/python-web.scm (python-werkzeug): Update to 2.2.2.
[arguments](phases): Ignore failing test.
[propagated-inputs]: Remove python-requests; add python-markupsafe.
[native-inputs]: Add python-requests, python-ephemeral-port-reserve, python-greenlet,
python-watchdog, and python-cryptography.
---
 gnu/packages/python-web.scm | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9164c2e096..268bba7ec4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4393,14 +4393,14 @@ (define-public python-publicsuffix2
 (define-public python-werkzeug
   (package
     (name "python-werkzeug")
-    (version "2.0.2")
+    (version "2.2.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Werkzeug" version))
        (sha256
         (base32
-         "16nvv9dh37ssf5pkny9yj2li0n6wyzsygh8a9i86r3gfipybcaxa"))))
+         "13qbw3wwyv180sq1mqsh1dfxgdfpmczdfpi17a5hyz6c4a1x98ky"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
@@ -4410,12 +4410,21 @@ (define-public python-werkzeug
              (when tests?
                (add-installed-pythonpath inputs outputs)
                (invoke "python" "-m" "pytest"
+                       ;; Test fails for some reason
+                       "-k not test_exclude_patterns"
                        ;; Test tries to use the network.
                        "-k not test_reloader_sys_path")))))))
     (propagated-inputs
-     (list python-requests))
+     (list python-markupsafe))
     (native-inputs
-     (list python-pytest python-pytest-timeout python-pytest-xprocess))
+     (list python-pytest
+           python-pytest-timeout
+           python-pytest-xprocess
+           python-requests
+           python-ephemeral-port-reserve
+           python-greenlet
+           python-watchdog
+           python-cryptography))
     (home-page "https://palletsprojects.com/p/werkzeug/")
     (synopsis "Utilities for WSGI applications")
     (description "One of the most advanced WSGI utility modules.  It includes a
-- 
2.38.1





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

* [bug#59764] [PATCH 6/8] gnu: python-markupsafe: Update to 2.1.1.
  2022-12-02  5:59 ` [bug#59764] [PATCH 1/8] gnu: Add python-lxml-4.9 kiasoc5 via Guix-patches via
                     ` (3 preceding siblings ...)
  2022-12-02  5:59   ` [bug#59764] [PATCH 5/8] gnu: python-werkzeug: " kiasoc5 via Guix-patches via
@ 2022-12-02  5:59   ` kiasoc5 via Guix-patches via
  2022-12-02  5:59   ` [bug#59764] [PATCH 7/8] gnu: python-jinja2: Update to 3.1.2 kiasoc5 via Guix-patches via
  2022-12-02  5:59   ` [bug#59764] [PATCH 8/8] gnu: searx: Update to 1.1.0 kiasoc5 via Guix-patches via
  6 siblings, 0 replies; 9+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-12-02  5:59 UTC (permalink / raw)
  To: 59764; +Cc: kiasoc5

* gnu/packages/python-xyz.scm (python-markupsafe): Update to 2.1.1.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2e1db8a252..e2da05c57f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4263,14 +4263,14 @@ (define-public python-markdown-it-py
 (define-public python-markupsafe
   (package
     (name "python-markupsafe")
-    (version "2.0.1")
+    (version "2.1.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "MarkupSafe" version))
        (sha256
         (base32
-         "02k2ynmqvvd0z0gakkf8s4idyb606r7zgga41jrkhqmigy06fk2r"))))
+         "0jqxp5sfrc0byp6bk0gwdmildi4mck2gprp42afri3z4r5y1k4bz"))))
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases
-- 
2.38.1





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

* [bug#59764] [PATCH 7/8] gnu: python-jinja2: Update to 3.1.2.
  2022-12-02  5:59 ` [bug#59764] [PATCH 1/8] gnu: Add python-lxml-4.9 kiasoc5 via Guix-patches via
                     ` (4 preceding siblings ...)
  2022-12-02  5:59   ` [bug#59764] [PATCH 6/8] gnu: python-markupsafe: Update to 2.1.1 kiasoc5 via Guix-patches via
@ 2022-12-02  5:59   ` kiasoc5 via Guix-patches via
  2022-12-02  5:59   ` [bug#59764] [PATCH 8/8] gnu: searx: Update to 1.1.0 kiasoc5 via Guix-patches via
  6 siblings, 0 replies; 9+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-12-02  5:59 UTC (permalink / raw)
  To: 59764; +Cc: kiasoc5

* gnu/packages/python-xyz.scm (python-jinja2): Update to 3.1.2.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e2da05c57f..922c9a7591 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4291,14 +4291,14 @@ (define-public python-markupsafe
 (define-public python-jinja2
   (package
     (name "python-jinja2")
-    (version "3.1.1")
+    (version "3.1.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Jinja2" version))
        (sha256
         (base32
-         "1saawzys14l1p4kafs7hkihmnvqjq8fwxjmkjiqx3jq1nm5ys2v4"))))
+         "0lp86yadzf8dph67f6g3yxmvnhrzzi863z58jmsrx2j059q1ld9i"))))
     (build-system python-build-system)
     (arguments
      '(#:phases (modify-phases %standard-phases
-- 
2.38.1





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

* [bug#59764] [PATCH 8/8] gnu: searx: Update to 1.1.0.
  2022-12-02  5:59 ` [bug#59764] [PATCH 1/8] gnu: Add python-lxml-4.9 kiasoc5 via Guix-patches via
                     ` (5 preceding siblings ...)
  2022-12-02  5:59   ` [bug#59764] [PATCH 7/8] gnu: python-jinja2: Update to 3.1.2 kiasoc5 via Guix-patches via
@ 2022-12-02  5:59   ` kiasoc5 via Guix-patches via
  6 siblings, 0 replies; 9+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-12-02  5:59 UTC (permalink / raw)
  To: 59764; +Cc: kiasoc5

* gnu/packages/search.scm (searx): Update to 1.1.0.
[propagated-inputs]: Remove python-idna and python-lxml; add python-brotli,
python-lxml-4.9, and python-setproctitle.
---
 gnu/packages/search.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index 27dc9cd02e..b25903facc 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -259,16 +259,16 @@ (define-public tocc
 (define-public searx
   (package
     (name "searx")
-    (version "1.0.0")
+    (version "1.1.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/searx/searx")
-             (commit version)))
+             (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0ghkx8g8jnh8yd46p4mlbjn2zm12nx27v7qflr4c8xhlgi0px0mh"))))
+        (base32 "070kxivn1nxn3klmnqarr2zldyfpyllpv5cnjdp5kqz19zb20szr"))))
     (build-system python-build-system)
     (arguments
      `(#:tests? #f ;what tests do is make online requests to each engine
@@ -287,17 +287,18 @@ (define-public searx
              (setenv "SEARX_DEBUG" "1"))))))
     (propagated-inputs
      (list python-babel
+           python-brotli
            python-certifi
            python-dateutil
            python-flask
            python-flask-babel
-           python-idna
            python-jinja2
            python-langdetect
-           python-lxml
+           python-lxml-4.9
            python-pygments
            python-pyyaml
-           python-requests))
+           python-requests
+           python-setproctitle))
     (home-page "https://searx.github.io/searx/")
     (synopsis "Privacy-respecting metasearch engine")
     (description "Searx is a privacy-respecting, hackable metasearch engine.")
-- 
2.38.1





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

end of thread, other threads:[~2022-12-02  6:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-02  5:56 [bug#59764] [PATCH 0/8] Update searx and dependencies kiasoc5 via Guix-patches via
2022-12-02  5:59 ` [bug#59764] [PATCH 1/8] gnu: Add python-lxml-4.9 kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 2/8] gnu: Add python-greenlet kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 3/8] gnu: Add python-ephemeral-port-reserve kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 4/8] gnu: python-flask: Update to 2.2.2 kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 5/8] gnu: python-werkzeug: " kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 6/8] gnu: python-markupsafe: Update to 2.1.1 kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 7/8] gnu: python-jinja2: Update to 3.1.2 kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 8/8] gnu: searx: Update to 1.1.0 kiasoc5 via Guix-patches via

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).