diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-20 22:53:45 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-20 22:54:00 +0100 |
| commit | f5a97f8e8366c771f951e3f94709fdc28ca592f9 (patch) | |
| tree | 8233840496d5f1d2de8609f6387d7697a8c18af2 /gnu/packages/python-web.scm | |
| parent | 0dca067d27803b88effee139ab32b3a36191c623 (diff) | |
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
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 47 |
1 files changed, 27 insertions, 20 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 3345238b013..72a85100c70 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -10180,39 +10180,46 @@ library for Python.") | |||
| 10180 | (define-public python-smart-open | 10180 | (define-public python-smart-open |
| 10181 | (package | 10181 | (package |
| 10182 | (name "python-smart-open") | 10182 | (name "python-smart-open") |
| 10183 | (version "6.0.0") | 10183 | (version "7.3.0") |
| 10184 | (source | 10184 | (source |
| 10185 | (origin | 10185 | (origin |
| 10186 | (method url-fetch) | 10186 | (method git-fetch) ;no tests in PyPI archive |
| 10187 | (uri (pypi-uri "smart_open" version)) | 10187 | (uri (git-reference |
| 10188 | (url "https://github.com/piskvorky/smart_open") | ||
| 10189 | (commit (string-append "v" version)))) | ||
| 10190 | (file-name (git-file-name name version)) | ||
| 10188 | (sha256 | 10191 | (sha256 |
| 10189 | (base32 "1c12ilanx9hgpcc5chjkaqnx1hx14iazyindy7syvjhbdywhc0fn")))) | 10192 | (base32 "1jk3dj0j7idv94g1ga5wyvybakj4l150g26cbsjkrjfpy017vxab")))) |
| 10190 | (build-system python-build-system) | 10193 | (build-system pyproject-build-system) |
| 10191 | (arguments | 10194 | (arguments |
| 10192 | `(#:tests? #false ;none included | 10195 | (list |
| 10193 | #:phases | 10196 | #:test-flags |
| 10194 | (modify-phases %standard-phases | 10197 | #~(list "--ignore=ci_helpers/" |
| 10195 | (replace 'check | 10198 | "--ignore=integration-tests/" |
| 10196 | (lambda* (#:key tests? #:allow-other-keys) | 10199 | ;; FIXME: Enable when guix/guix#1436 is resolved. |
| 10197 | (when tests? | 10200 | "--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri" |
| 10198 | (invoke "pytest"))))))) | 10201 | "--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri_contains_question_mark" |
| 10202 | "--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri_contains_slash" | ||
| 10203 | "--deselect=tests/test_smart_open.py::ParseUriTest::test_scheme" | ||
| 10204 | "--ignore=tests/test_gcs.py"))) | ||
| 10199 | (propagated-inputs | 10205 | (propagated-inputs |
| 10200 | (list python-azure-common | 10206 | (list python-azure-common |
| 10201 | python-azure-core | 10207 | python-azure-core |
| 10202 | python-azure-storage-blob | 10208 | python-azure-storage-blob |
| 10203 | python-boto3 | 10209 | python-boto3 |
| 10204 | python-google-cloud-storage | 10210 | ;; python-google-cloud-storage ;see guix/guix#1436 |
| 10205 | python-requests)) | 10211 | python-paramiko |
| 10212 | python-requests | ||
| 10213 | python-wrapt | ||
| 10214 | python-zstandard)) | ||
| 10206 | (native-inputs | 10215 | (native-inputs |
| 10207 | (list python-flask | 10216 | (list python-numpy |
| 10208 | python-flask-cors | ||
| 10209 | python-graphql-core | ||
| 10210 | python-moto | 10217 | python-moto |
| 10211 | python-paramiko | ||
| 10212 | python-pathlib2 | ||
| 10213 | python-pytest | 10218 | python-pytest |
| 10214 | python-pytest-rerunfailures | 10219 | python-pytest-rerunfailures |
| 10215 | python-responses)) | 10220 | python-responses |
| 10221 | python-setuptools | ||
| 10222 | python-wheel)) | ||
| 10216 | (home-page "https://github.com/piskvorky/smart_open") | 10223 | (home-page "https://github.com/piskvorky/smart_open") |
| 10217 | (synopsis "Utilities for streaming large files") | 10224 | (synopsis "Utilities for streaming large files") |
| 10218 | (description | 10225 | (description |
