This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new f5a97f8e83 gnu: python-smart-open: Update to 7.3.0.
f5a97f8e83 is described below

commit f5a97f8e8366c771f951e3f94709fdc28ca592f9
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sun Jul 20 22:53:45 2025 +0100

    gnu: python-smart-open: Update to 7.3.0.
    
    * gnu/packages/python-web.scm (python-smart-open): Update to 7.3.0.
      [source]: Switch to git-fetch containing tests.
      [build-system]: Use pyproject.
      [arguments] <test-flags>: Skipp integration tests and the ones
      requiring python-google-cloud-storage due to guix/guix#1436 issue.
      <phases>: Use default 'check.
      [propagated-inputs]: Remove python-google-cloud-storage; add
      python-paramiko, python-wrapt, and python-zstandard.
      [native-inputs]: Remove python-flask, python-flask-cors,
      python-graphql-core, python-paramiko, and python-pathlib2; add
      python-numpy, python-setuptools, and python-wheel.
    
    Change-Id: I789206a8d771959f433ae56ab4b642c8e4d23117
---
 gnu/packages/python-web.scm | 47 ++++++++++++++++++++++++++-------------------
 1 file changed, 27 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3345238b01..72a85100c7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -10180,39 +10180,46 @@ library for Python.")
 (define-public python-smart-open
   (package
     (name "python-smart-open")
-    (version "6.0.0")
+    (version "7.3.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "smart_open" version))
+       (method git-fetch)       ;no tests in PyPI archive
+       (uri (git-reference
+              (url "https://github.com/piskvorky/smart_open";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1c12ilanx9hgpcc5chjkaqnx1hx14iazyindy7syvjhbdywhc0fn"))))
-    (build-system python-build-system)
+        (base32 "1jk3dj0j7idv94g1ga5wyvybakj4l150g26cbsjkrjfpy017vxab"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:tests? #false ;none included
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest")))))))
+     (list
+      #:test-flags
+      #~(list "--ignore=ci_helpers/"
+              "--ignore=integration-tests/"
+              ;; FIXME: Enable when guix/guix#1436 is resolved.
+              "--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri"
+              
"--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri_contains_question_mark"
+              
"--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri_contains_slash"
+              "--deselect=tests/test_smart_open.py::ParseUriTest::test_scheme"
+              "--ignore=tests/test_gcs.py")))
     (propagated-inputs
      (list python-azure-common
            python-azure-core
            python-azure-storage-blob
            python-boto3
-           python-google-cloud-storage
-           python-requests))
+           ;; python-google-cloud-storage ;see guix/guix#1436
+           python-paramiko
+           python-requests
+           python-wrapt
+           python-zstandard))
     (native-inputs
-     (list python-flask
-           python-flask-cors
-           python-graphql-core
+     (list python-numpy
            python-moto
-           python-paramiko
-           python-pathlib2
            python-pytest
            python-pytest-rerunfailures
-           python-responses))
+           python-responses
+           python-setuptools
+           python-wheel))
     (home-page "https://github.com/piskvorky/smart_open";)
     (synopsis "Utilities for streaming large files")
     (description

Reply via email to