diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-20 23:03:39 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-20 23:03:51 +0100 |
commit | 5b31003983a230741d12da2e30e6c57b06d5faa5 (patch) | |
tree | 9db7f6058c8fc9745f5c80861e31c70ec06072db /gnu/packages/python-web.scm | |
parent | f5a97f8e8366c771f951e3f94709fdc28ca592f9 (diff) |
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
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r-- | gnu/packages/python-web.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 72a85100c7..7702c56eab 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -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") |