gnu: python-smart-open: Set version.

* gnu/packages/python-web.scm (python-smart-open):
  [arguments] <phases>: Add 'set-version.
  [native-inputs]: Add python-setuptools-scm.

Change-Id: I724175db61c9438f14e11c4ced53a777a567f2dc
This commit is contained in:
Sharlatan Hellseher 2025-07-20 23:03:39 +01:00
parent f5a97f8e83
commit 5b31003983
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -10201,7 +10201,12 @@ library for Python.")
"--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")))
"--ignore=tests/test_gcs.py")
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'set-version
(lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
(propagated-inputs
(list python-azure-common
python-azure-core
@ -10219,6 +10224,7 @@ library for Python.")
python-pytest-rerunfailures
python-responses
python-setuptools
python-setuptools-scm
python-wheel))
(home-page "https://github.com/piskvorky/smart_open")
(synopsis "Utilities for streaming large files")