summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-01-21 11:16:56 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:37 +0100
commit1bf91ac505c93a90088081795369dfa0d1558a71 (patch)
treeaeb947bd666ad323c2e2997c6b83e471aef8ba0a
parente9ddab869d19454c939dd94ea71cb6d334d95469 (diff)
gnu: Drop setting SETUPTOOLS_SCM_PRETEND_VERSION in some packages.
* gnu/packages/astronomy.scm (python-asdf-compression) (python-asdf-fits-schemas, python-cdflib, python-sunkit-spex): * gnu/packages/bioinformatics.scm (python-whatshap, python-mudata) (python-pyfaidx, python-ctxcore, scvelo): * gnu/packages/bootloaders.scm (dtc): * gnu/packages/check.scm (python-pytest-xdist, python-pytest-forked): * gnu/packages/databases.scm (python-fastparquet): * gnu/packages/disk.scm (greaseweazle-host-tools): * gnu/packages/docker.scm (python-docker): * gnu/packages/finance.scm (python-ledgerblue): * gnu/packages/fontutils.scm (python-compreffor) (python-defcon-bootstrap, nototools): * gnu/packages/games.scm (sc-controller): * gnu/packages/machine-learning.scm (python-botorch): * gnu/packages/music.scm (python-pylast): * gnu/packages/package-management.scm (conda): * gnu/packages/python-build.scm (python-exceptiongroup): * gnu/packages/python-science.scm (python-dask-image) (python-distributed, python-osqp): * gnu/packages/python-web.scm (python-branca, python-smart-open): * gnu/packages/python-xyz.scm (python-conda-content-trust) (python-menuinst, python-isort, python-pyclibrary) (python-pyclipper, python-csb43-0.10, python-orgparse) (python-deepmerge, python-scooby, python-uuid6): * gnu/packages/radio.scm (nanovna-saver): * gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints): [arguments]: Remove phases setting SETUPTOOLS_SCM_PRETEND_VERSION. * gnu/packages/python-xyz.scm (python-bagit) [arguments]: Refactor manual 'check phase into #:test-flags. Change-Id: I0713d6603f982a7f956d02fc3b85a384f4dd6ce4 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/astronomy.scm109
-rw-r--r--gnu/packages/bioinformatics.scm39
-rw-r--r--gnu/packages/bootloaders.scm4
-rw-r--r--gnu/packages/check.scm17
-rw-r--r--gnu/packages/databases.scm3
-rw-r--r--gnu/packages/disk.scm3
-rw-r--r--gnu/packages/docker.scm11
-rw-r--r--gnu/packages/finance.scm8
-rw-r--r--gnu/packages/fontutils.scm48
-rw-r--r--gnu/packages/games.scm3
-rw-r--r--gnu/packages/geo.scm3
-rw-r--r--gnu/packages/graph.scm8
-rw-r--r--gnu/packages/graphics.scm7
-rw-r--r--gnu/packages/image-processing.scm8
-rw-r--r--gnu/packages/machine-learning.scm11
-rw-r--r--gnu/packages/music.scm7
-rw-r--r--gnu/packages/package-management.scm3
-rw-r--r--gnu/packages/python-build.scm14
-rw-r--r--gnu/packages/python-check.scm31
-rw-r--r--gnu/packages/python-compression.scm5
-rw-r--r--gnu/packages/python-science.scm55
-rw-r--r--gnu/packages/python-web.scm18
-rw-r--r--gnu/packages/python-xyz.scm283
-rw-r--r--gnu/packages/radio.scm7
-rw-r--r--gnu/packages/sphinx.scm7
-rw-r--r--gnu/packages/ssh.scm7
-rw-r--r--gnu/packages/web.scm7
27 files changed, 52 insertions, 674 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 4210be1910e..2c448463a63 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2303,13 +2303,6 @@ Astropy objects.")
2303 (sha256 2303 (sha256
2304 (base32 "0fd2d5raglp1nwjy0hr3kckk518xrph451zymlw58jgwg5l1vq3m")))) 2304 (base32 "0fd2d5raglp1nwjy0hr3kckk518xrph451zymlw58jgwg5l1vq3m"))))
2305 (build-system pyproject-build-system) 2305 (build-system pyproject-build-system)
2306 (arguments
2307 (list
2308 #:phases
2309 #~(modify-phases %standard-phases
2310 (add-before 'build 'set-version
2311 (lambda _
2312 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
2313 (native-inputs 2306 (native-inputs
2314 (list python-numpy 2307 (list python-numpy
2315 python-pytest 2308 python-pytest
@@ -2384,12 +2377,7 @@ implementation package such as asdf-astropy.")
2384 (build-system pyproject-build-system) 2377 (build-system pyproject-build-system)
2385 (arguments 2378 (arguments
2386 (list 2379 (list
2387 #:tests? #f ; cycle with python-asdf 2380 #:tests? #f)) ; cycle with python-asdf
2388 #:phases
2389 #~(modify-phases %standard-phases
2390 (add-before 'build 'set-version
2391 (lambda _
2392 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "0.0.1"))))))
2393 (native-inputs 2381 (native-inputs
2394 (list python-setuptools 2382 (list python-setuptools
2395 python-setuptools-scm 2383 python-setuptools-scm
@@ -3877,9 +3865,6 @@ bad pixel tracking throughout the reduction process.")
3877 (lambda _ 3865 (lambda _
3878 (substitute* "pyproject.toml" 3866 (substitute* "pyproject.toml"
3879 ((" --cov=cdflib --cov-report=xml") "")))) 3867 ((" --cov=cdflib --cov-report=xml") ""))))
3880 (add-before 'build 'set-env-version
3881 (lambda _
3882 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
3883 (add-before 'check 'set-home-env 3868 (add-before 'check 'set-home-env
3884 (lambda _ 3869 (lambda _
3885 (setenv "HOME" (getcwd))))))) 3870 (setenv "HOME" (getcwd)))))))
@@ -4188,14 +4173,7 @@ lens models possibly obtained from different modeling codes.")
4188 (sha256 4173 (sha256
4189 (base32 "0rnp1myhilkcr7mnv6x3cmxqjn0adgmb89crszn536qphsisyc35")))) 4174 (base32 "0rnp1myhilkcr7mnv6x3cmxqjn0adgmb89crszn536qphsisyc35"))))
4190 (build-system pyproject-build-system) 4175 (build-system pyproject-build-system)
4191 (arguments 4176 ;; tests: 51 passed
4192 (list
4193 ;; tests: 51 passed
4194 #:phases
4195 #~(modify-phases %standard-phases
4196 (add-before 'build 'set-env-version
4197 (lambda _
4198 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
4199 (native-inputs 4177 (native-inputs
4200 (list python-pytest 4178 (list python-pytest
4201 python-scipy 4179 python-scipy
@@ -4546,9 +4524,6 @@ help you search, obtain and use DKIST data as part of your Python software.")
4546 ;; tests: 257 passed, 9 xfailed 4524 ;; tests: 257 passed, 9 xfailed
4547 #:phases 4525 #:phases
4548 #~(modify-phases %standard-phases 4526 #~(modify-phases %standard-phases
4549 (add-before 'build 'set-env-version
4550 (lambda _
4551 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
4552 (add-before 'check 'build-extensions 4527 (add-before 'check 'build-extensions
4553 (lambda _ 4528 (lambda _
4554 ;; XXX: "drizzle/tests/data" is not part of the final package 4529 ;; XXX: "drizzle/tests/data" is not part of the final package
@@ -4874,14 +4849,7 @@ tools for astronomers.")
4874 (sha256 4849 (sha256
4875 (base32 "0g548pca43iwpq1641w3jzrb3rk2kqjf5gcjbcymfpdif1982zv2")))) 4850 (base32 "0g548pca43iwpq1641w3jzrb3rk2kqjf5gcjbcymfpdif1982zv2"))))
4876 (build-system pyproject-build-system) 4851 (build-system pyproject-build-system)
4877 (arguments 4852 ;; tests: 163 passed, 3 skipped, 4 xfailed
4878 (list
4879 ;; tests: 163 passed, 3 skipped, 4 xfailed
4880 #:phases
4881 #~(modify-phases %standard-phases
4882 (add-after 'unpack 'set-env-version
4883 (lambda _
4884 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
4885 (native-inputs 4853 (native-inputs
4886 (list python-cython 4854 (list python-cython
4887 python-numpy 4855 python-numpy
@@ -4949,14 +4917,6 @@ exitinction laws found in the literature.")
4949 (sha256 4917 (sha256
4950 (base32 "0lj8vb3b2s7m56bs4am6856w8vdlyi4p86gj7hlkncfngsgx1f8v")))) 4918 (base32 "0lj8vb3b2s7m56bs4am6856w8vdlyi4p86gj7hlkncfngsgx1f8v"))))
4951 (build-system pyproject-build-system) 4919 (build-system pyproject-build-system)
4952 (arguments
4953 (list
4954 #:phases
4955 #~(modify-phases %standard-phases
4956 (add-before 'build 'set-env-version
4957 (lambda _
4958 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
4959 #$(version-major+minor+point version)))))))
4960 (native-inputs 4920 (native-inputs
4961 (list python-pytest 4921 (list python-pytest
4962 python-setuptools 4922 python-setuptools
@@ -5459,9 +5419,6 @@ across many files.")
5459 (substitute* "pyproject.toml" 5419 (substitute* "pyproject.toml"
5460 ;; ipython>=4.0,<9.0 5420 ;; ipython>=4.0,<9.0
5461 ((">=4.0,<9\\.0") ">=4.0")))) 5421 ((">=4.0,<9\\.0") ">=4.0"))))
5462 (add-before 'build 'set-env-version
5463 (lambda _
5464 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
5465 (add-before 'check 'prepare-x 5422 (add-before 'check 'prepare-x
5466 (lambda _ 5423 (lambda _
5467 (system "Xvfb &") 5424 (system "Xvfb &")
@@ -6626,9 +6583,6 @@ supports only the basic features of the original.")
6626 #:tests? #f 6583 #:tests? #f
6627 #:phases 6584 #:phases
6628 #~(modify-phases %standard-phases 6585 #~(modify-phases %standard-phases
6629 (add-after 'unpack 'set-version
6630 (lambda _
6631 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
6632 (add-after 'unpack 'relax-requirements 6586 (add-after 'unpack 'relax-requirements
6633 (lambda _ 6587 (lambda _
6634 (substitute* "pyproject.toml" 6588 (substitute* "pyproject.toml"
@@ -6985,10 +6939,7 @@ Astronomy.")
6985 (substitute* "pyproject.toml" 6939 (substitute* "pyproject.toml"
6986 (("'ipywidgets',") "") 6940 (("'ipywidgets',") "")
6987 (("'jupyter',") "") 6941 (("'jupyter',") "")
6988 (("'notebook',") "")))) 6942 (("'notebook',") "")))))))
6989 (add-before 'build 'set-version
6990 (lambda _
6991 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
6992 (native-inputs 6943 (native-inputs
6993 (list python-cython 6944 (list python-cython
6994 python-hatch-vcs 6945 python-hatch-vcs
@@ -7845,9 +7796,6 @@ N-Chilada and RAMSES AMR outputs.")
7845 (substitute* "pyproject.toml" 7796 (substitute* "pyproject.toml"
7846 ((".*pypeit_install_ql_calibs.*") "") 7797 ((".*pypeit_install_ql_calibs.*") "")
7847 ((".*pypeit_ql_multislit.*") "")))) 7798 ((".*pypeit_ql_multislit.*") ""))))
7848 (add-after 'unpack 'set-version
7849 (lambda _
7850 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
7851 (add-after 'install 'include-package-data 7799 (add-after 'install 'include-package-data
7852 ;; XXX: PyPI archive provides pypeit/data but during build from 7800 ;; XXX: PyPI archive provides pypeit/data but during build from
7853 ;; Git it's ignored for some reason, add it manually. 7801 ;; Git it's ignored for some reason, add it manually.
@@ -8182,11 +8130,7 @@ natively in Siril.")
8182 (add-after 'unpack 'relax-requirements 8130 (add-after 'unpack 'relax-requirements
8183 (lambda _ 8131 (lambda _
8184 (substitute* "pyproject.toml" 8132 (substitute* "pyproject.toml"
8185 (("scipy.* < 1.15") "scipy")))) 8133 (("scipy < 1.15") "scipy")))))))
8186 (add-before 'build 'set-version
8187 (lambda _
8188 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
8189 #$(version-major+minor+point version)))))))
8190 (native-inputs 8134 (native-inputs
8191 (list nss-certs-for-test 8135 (list nss-certs-for-test
8192 python-hatch-vcs 8136 python-hatch-vcs
@@ -8247,9 +8191,6 @@ memory usage, improving performance and run in parallel with MPI.")
8247 (lambda _ 8191 (lambda _
8248 (substitute* "setup.py" 8192 (substitute* "setup.py"
8249 (("'numpy<2'") "'numpy'")))) 8193 (("'numpy<2'") "'numpy'"))))
8250 (add-before 'build 'set-version
8251 (lambda _
8252 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "2.0.0")))
8253 (add-before 'check 'set-env-data-path 8194 (add-before 'check 'set-env-data-path
8254 (lambda _ 8195 (lambda _
8255 (setenv "PYSYN_CDBS" (string-append #$output "/crds"))))))) 8196 (setenv "PYSYN_CDBS" (string-append #$output "/crds")))))))
@@ -8296,9 +8237,6 @@ spectra, and data.")
8296 #~(list "--pyargs" "pyvo") 8237 #~(list "--pyargs" "pyvo")
8297 #:phases 8238 #:phases
8298 #~(modify-phases %standard-phases 8239 #~(modify-phases %standard-phases
8299 (add-before 'build 'set-version
8300 (lambda _
8301 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
8302 (add-after 'install 'include-package-data 8240 (add-after 'install 'include-package-data
8303 ;; FIXME: Check why pyproject-build-system ignores coping some 8241 ;; FIXME: Check why pyproject-build-system ignores coping some
8304 ;; package data files during build/install phases. 8242 ;; package data files during build/install phases.
@@ -8819,11 +8757,7 @@ pipelines.")
8819 #:phases 8757 #:phases
8820 #~(modify-phases %standard-phases 8758 #~(modify-phases %standard-phases
8821 ;; XXX: Up to the next release. 8759 ;; XXX: Up to the next release.
8822 (delete 'sanity-check) 8760 (delete 'sanity-check))))
8823 (add-before 'build 'set-version
8824 (lambda _
8825 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
8826 #$(version-major+minor+point version)))))))
8827 (native-inputs 8761 (native-inputs
8828 (list nss-certs-for-test 8762 (list nss-certs-for-test
8829 python-ci-watson 8763 python-ci-watson
@@ -9020,13 +8954,7 @@ well as ephemerides services
9020 (build-system pyproject-build-system) 8954 (build-system pyproject-build-system)
9021 (arguments 8955 (arguments
9022 (list 8956 (list
9023 #:test-flags #~(list "test.py") 8957 #:test-flags #~(list "test.py")))
9024 #:phases
9025 #~(modify-phases %standard-phases
9026 (add-after 'unpack 'set-version
9027 (lambda _
9028 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
9029 #$(package-version this-package)))))))
9030 (native-inputs 8958 (native-inputs
9031 (list python-cython 8959 (list python-cython
9032 python-pytest 8960 python-pytest
@@ -9513,9 +9441,6 @@ owners/operators, academia and other entities.")
9513 "-k" "not test_init_line_list") 9441 "-k" "not test_init_line_list")
9514 #:phases 9442 #:phases
9515 #~(modify-phases %standard-phases 9443 #~(modify-phases %standard-phases
9516 (add-after 'unpack 'set-version
9517 (lambda _
9518 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
9519 (add-before 'check 'set-home 9444 (add-before 'check 'set-home
9520 (lambda _ 9445 (lambda _
9521 ;; Relax matplotlib warning: ... because the default path 9446 ;; Relax matplotlib warning: ... because the default path
@@ -9711,7 +9636,6 @@ about the underlying principles, see
9711 #~(modify-phases %standard-phases 9636 #~(modify-phases %standard-phases
9712 (add-after 'unpack 'preparations 9637 (add-after 'unpack 'preparations
9713 (lambda _ 9638 (lambda _
9714 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
9715 ;; Use our own libraries in place of bundles. 9639 ;; Use our own libraries in place of bundles.
9716 (setenv "USE_SYSTEM_QD" "1")))))) 9640 (setenv "USE_SYSTEM_QD" "1"))))))
9717 (native-inputs 9641 (native-inputs
@@ -9770,8 +9694,7 @@ spherical polygons that represent arbitrary regions of the sky.")
9770 (display 9694 (display
9771 (string-append "__version__ = \"" 9695 (string-append "__version__ = \""
9772 #$(package-version this-package) 9696 #$(package-version this-package)
9773 "\"")))) 9697 "\"")))))))))
9774 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
9775 (native-inputs 9698 (native-inputs
9776 (list python-cython 9699 (list python-cython
9777 python-extension-helpers 9700 python-extension-helpers
@@ -10172,13 +10095,7 @@ Telescope Science Institute} image array manipulation functions.")
10172 (arguments 10095 (arguments
10173 (list 10096 (list
10174 #:test-flags 10097 #:test-flags
10175 #~(list "--pyargs" "stsci.imagestats") 10098 #~(list "--pyargs" "stsci.imagestats")))
10176 #:phases
10177 #~(modify-phases %standard-phases
10178 (add-after 'unpack 'set-version
10179 (lambda _
10180 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
10181 #$(version-major+minor+point version)))))))
10182 (native-inputs 10099 (native-inputs
10183 (list python-pytest 10100 (list python-pytest
10184 python-setuptools 10101 python-setuptools
@@ -10531,13 +10448,7 @@ and @code{astropy}.")
10531 (list 10448 (list
10532 ;; TODO: tests require some remove data, findout how to run bare minmal 10449 ;; TODO: tests require some remove data, findout how to run bare minmal
10533 ;; unit tests withou it. 10450 ;; unit tests withou it.
10534 #:tests? #f 10451 #:tests? #f))
10535 #:phases
10536 #~(modify-phases %standard-phases
10537 (add-before 'build 'set-version
10538 (lambda _
10539 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
10540 #$(version-major+minor+point version)))))))
10541 (native-inputs 10452 (native-inputs
10542 (list python-setuptools 10453 (list python-setuptools
10543 python-setuptools-scm)) 10454 python-setuptools-scm))
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a79af0c5d0e..e49b5131293 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4419,9 +4419,6 @@ files.")
4419 "and not test_matrix")) 4419 "and not test_matrix"))
4420 #:phases 4420 #:phases
4421 #~(modify-phases %standard-phases 4421 #~(modify-phases %standard-phases
4422 (add-after 'unpack 'pretend-version
4423 (lambda _
4424 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$base-version)))
4425 (replace 'check 4422 (replace 'check
4426 (lambda* (#:key tests? test-flags #:allow-other-keys) 4423 (lambda* (#:key tests? test-flags #:allow-other-keys)
4427 (when tests? 4424 (when tests?
@@ -6073,13 +6070,6 @@ with MOFA+ in Python.")
6073 (base32 6070 (base32
6074 "17s1w3746d35pcwr97ynhr7s5hfk76vsfcinwyqynx9k3xxi9br4")))) 6071 "17s1w3746d35pcwr97ynhr7s5hfk76vsfcinwyqynx9k3xxi9br4"))))
6075 (build-system pyproject-build-system) 6072 (build-system pyproject-build-system)
6076 (arguments
6077 (list
6078 #:phases
6079 #~(modify-phases %standard-phases
6080 (add-after 'unpack 'pretend-version
6081 (lambda _
6082 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
6083 (propagated-inputs 6073 (propagated-inputs
6084 (list python-anndata python-h5py python-pandas)) 6074 (list python-anndata python-h5py python-pandas))
6085 (native-inputs 6075 (native-inputs
@@ -6972,9 +6962,6 @@ accessing bigWig files.")
6972 "--deselect=schema_salad/tests/test_makedoc.py::test_detect_changes_in_html") 6962 "--deselect=schema_salad/tests/test_makedoc.py::test_detect_changes_in_html")
6973 #:phases 6963 #:phases
6974 #~(modify-phases %standard-phases 6964 #~(modify-phases %standard-phases
6975 (add-before 'build 'set-version
6976 (lambda _
6977 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
6978 (add-after 'unpack 'relax-requirements 6965 (add-after 'unpack 'relax-requirements
6979 (lambda _ 6966 (lambda _
6980 ;; Mistune dependency is too strict mistune>=3,<3.1 . 6967 ;; Mistune dependency is too strict mistune>=3,<3.1 .
@@ -7240,10 +7227,6 @@ documents.")
7240 (lambda _ 7227 (lambda _
7241 (substitute* "setup.py" 7228 (substitute* "setup.py"
7242 (("== 1.5.1") "> 1.5.1")))) ; prov 7229 (("== 1.5.1") "> 1.5.1")))) ; prov
7243 (add-after 'unpack 'set-version
7244 (lambda _
7245 ;; Set exact version.
7246 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
7247 (add-after 'unpack 'patch-tests 7230 (add-after 'unpack 'patch-tests
7248 (lambda _ 7231 (lambda _
7249 (substitute* '("tests/subgraph/env-tool2.cwl" 7232 (substitute* '("tests/subgraph/env-tool2.cwl"
@@ -19833,9 +19816,6 @@ implementation differs in these ways:
19833 "test_qc_metrics_no_log1p[dask_array_sparse]"))) 19816 "test_qc_metrics_no_log1p[dask_array_sparse]")))
19834 #:phases 19817 #:phases
19835 #~(modify-phases %standard-phases 19818 #~(modify-phases %standard-phases
19836 (add-after 'unpack 'set-version
19837 (lambda _
19838 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
19839 (add-before 'check 'pre-check 19819 (add-before 'check 'pre-check
19840 (lambda _ 19820 (lambda _
19841 ;; Numba needs a writable dir to cache functions. 19821 ;; Numba needs a writable dir to cache functions.
@@ -20294,12 +20274,7 @@ bgzipped text file that contains a pair of genomic coordinates per line.")
20294 (arguments 20274 (arguments
20295 (list 20275 (list
20296 ;; tests: 107 failed, 54 passed, 8 skipped, 7 xfailed, 14 errors 20276 ;; tests: 107 failed, 54 passed, 8 skipped, 7 xfailed, 14 errors
20297 #:tests? #f ;most of them need remote data 20277 #:tests? #f)) ;most of them need remote data
20298 #:phases
20299 #~(modify-phases %standard-phases
20300 (add-before 'build 'set-version
20301 (lambda _
20302 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
20303 (native-inputs 20278 (native-inputs
20304 (list python-biopython 20279 (list python-biopython
20305 python-fsspec 20280 python-fsspec
@@ -22007,15 +21982,6 @@ updated much more frequently.")
22007 (base32 21982 (base32
22008 "0nv4lc46cnzpg5gcdxrsv7b4srmkq55zl3rcadw5pn3yyz5fzd2k")))) 21983 "0nv4lc46cnzpg5gcdxrsv7b4srmkq55zl3rcadw5pn3yyz5fzd2k"))))
22009 (build-system pyproject-build-system) 21984 (build-system pyproject-build-system)
22010 (arguments
22011 (list
22012 #:phases
22013 #~(modify-phases %standard-phases
22014 (add-before 'build 'pretend-version
22015 ;; The version string is usually derived via setuptools-scm, but
22016 ;; it doesn't work without the .git directory.
22017 (lambda _
22018 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
22019 (propagated-inputs 21985 (propagated-inputs
22020 (list python-cytoolz 21986 (list python-cytoolz
22021 python-frozendict 21987 python-frozendict
@@ -24353,9 +24319,6 @@ aligner.")
24353 #~(list "tests/core") 24319 #~(list "tests/core")
24354 #:phases 24320 #:phases
24355 #~(modify-phases %standard-phases 24321 #~(modify-phases %standard-phases
24356 (add-before 'build 'set-version
24357 (lambda _
24358 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
24359 ;; Numba needs a writable dir to cache functions. 24322 ;; Numba needs a writable dir to cache functions.
24360 (add-before 'check 'set-numba-cache-dir 24323 (add-before 'check 'set-numba-cache-dir
24361 (lambda _ 24324 (lambda _
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index a2376657627..d7d05de6522 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -801,10 +801,6 @@ The SUBDIR argument defaults to \"efi/Guix\", as it is also the case for
801 #~(modify-phases %standard-phases 801 #~(modify-phases %standard-phases
802 (add-after 'unpack 'preparations 802 (add-after 'unpack 'preparations
803 (lambda _ 803 (lambda _
804 ;; The version string is usually derived via setuptools-scm, but
805 ;; without the git metadata available this fails.
806 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
807
808 ;; Needed by setup.py. 804 ;; Needed by setup.py.
809 (setenv "DESTDIR" "/") 805 (setenv "DESTDIR" "/")
810 806
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 273d461d8fb..f6d05d334f9 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2097,15 +2097,7 @@ timeout has been exceeded.")
2097 (build-system pyproject-build-system) 2097 (build-system pyproject-build-system)
2098 (arguments 2098 (arguments
2099 ;; See <https://github.com/pytest-dev/pytest-forked/issues/88>. 2099 ;; See <https://github.com/pytest-dev/pytest-forked/issues/88>.
2100 (list #:tests? #f 2100 (list #:tests? #f))
2101 #:phases
2102 #~(modify-phases %standard-phases
2103 (add-before 'build 'pretend-version
2104 ;; The version string is usually derived via setuptools-scm,
2105 ;; but without the git metadata available, the version string
2106 ;; is set to '0.0.0'.
2107 (lambda _
2108 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
2109 (native-inputs 2101 (native-inputs
2110 ;; XXX: The bootstrap variant of Pytest is used to ensure the 2102 ;; XXX: The bootstrap variant of Pytest is used to ensure the
2111 ;; 'hypothesis' plugin is not in the environment (due to 2103 ;; 'hypothesis' plugin is not in the environment (due to
@@ -2504,12 +2496,7 @@ executed.")
2504 "trigger_warning_about_no_current_" 2496 "trigger_warning_about_no_current_"
2505 "event_loop_being_set") 2497 "event_loop_being_set")
2506 "test_warns_when_scope_argument_is_present") 2498 "test_warns_when_scope_argument_is_present")
2507 " and not ")) 2499 " and not "))))
2508 #:phases
2509 #~(modify-phases %standard-phases
2510 (add-after 'unpack 'set-version
2511 (lambda _
2512 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
2513 (native-inputs 2500 (native-inputs
2514 (list python-setuptools 2501 (list python-setuptools
2515 python-setuptools-scm)) 2502 python-setuptools-scm))
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index a5a43635844..7a3afc13ed3 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -5539,9 +5539,6 @@ other traditional Python scientific computing packages.")
5539 (lambda _ 5539 (lambda _
5540 (substitute* "setup.py" 5540 (substitute* "setup.py"
5541 (("^.*\"git\", \"status\".*$") "")))) 5541 (("^.*\"git\", \"status\".*$") ""))))
5542 (add-before 'build 'set-version
5543 (lambda _
5544 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
5545 (add-before 'check 'remove-local-source 5542 (add-before 'check 'remove-local-source
5546 (lambda _ 5543 (lambda _
5547 (copy-recursively "fastparquet/test" "test") 5544 (copy-recursively "fastparquet/test" "test")
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index a0efdb22000..07c8f3c74c8 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -861,9 +861,6 @@ and can dramatically shorten the lifespan of the drive if left unchecked.")
861 #:tests? #f ;XXX: root access is required, see: <scripts/tests/test.sh> 861 #:tests? #f ;XXX: root access is required, see: <scripts/tests/test.sh>
862 #:phases 862 #:phases
863 #~(modify-phases %standard-phases 863 #~(modify-phases %standard-phases
864 (add-before 'build 'setuptools-version
865 (lambda _
866 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
867 (add-after 'install 'install-udev-rules 864 (add-after 'install 'install-udev-rules
868 (lambda _ 865 (lambda _
869 (install-file "scripts/49-greaseweazle.rules" 866 (install-file "scripts/49-greaseweazle.rules"
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index 18a198c82c4..17d62c891d3 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -215,16 +215,7 @@ projects.")
215 (arguments 215 (arguments
216 (list 216 (list
217 ;; Integration tests need a running Docker daemon. 217 ;; Integration tests need a running Docker daemon.
218 #:test-flags #~(list "--ignore" "tests/integration") 218 #:test-flags #~(list "--ignore" "tests/integration")))
219 #:phases
220 #~(modify-phases %standard-phases
221 (add-before 'build 'pretend-version
222 ;; The version string is usually derived via setuptools-scm,
223 ;; but without the git metadata available, the version string
224 ;; is set to '0.0.0'.
225 (lambda _
226 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
227 #$(package-version this-package)))))))
228 (native-inputs (list python-hatch-vcs python-hatchling python-pytest)) 219 (native-inputs (list python-hatch-vcs python-hatchling python-pytest))
229 (inputs 220 (inputs
230 (list python-requests python-urllib3)) 221 (list python-requests python-urllib3))
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 69506e9eb73..f6aa118b3f5 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1225,13 +1225,7 @@ of Bitcoin BIP-0039.")
1225 (build-system pyproject-build-system) 1225 (build-system pyproject-build-system)
1226 (arguments 1226 (arguments
1227 (list 1227 (list
1228 #:tests? #f 1228 #:tests? #f))
1229 #:phases
1230 #~(modify-phases %standard-phases
1231 (add-before 'build 'pretend-version
1232 (lambda _
1233 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
1234 #$version))))))
1235 (native-inputs (list python-setuptools python-setuptools-scm python-wheel)) 1229 (native-inputs (list python-setuptools python-setuptools-scm python-wheel))
1236 (propagated-inputs (list python-bleak 1230 (propagated-inputs (list python-bleak
1237 python-pyelftools 1231 python-pyelftools
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 3f24ffc2cf3..d507a79399c 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -541,12 +541,7 @@ Kit for OpenType (AFDKO) @command{tx} tool.")
541 (build-system pyproject-build-system) 541 (build-system pyproject-build-system)
542 (arguments 542 (arguments
543 (list 543 (list
544 #:test-flags #~(list "--pyargs" "compreffor") 544 #:test-flags #~(list "--pyargs" "compreffor")))
545 #:phases
546 #~(modify-phases %standard-phases
547 (add-after 'unpack 'set-version
548 (lambda _
549 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
550 (native-inputs 545 (native-inputs
551 (list python-cython 546 (list python-cython
552 python-pytest 547 python-pytest
@@ -650,13 +645,6 @@ to generate OpenType font binaries from Unified Font Objects (UFOs).")
650 (sha256 645 (sha256
651 (base32 "0g8vpwn4flg0rj7ar8wl9xlpjhcgiz01p56fzkjdlf2jqb36akyy")))) 646 (base32 "0g8vpwn4flg0rj7ar8wl9xlpjhcgiz01p56fzkjdlf2jqb36akyy"))))
652 (build-system pyproject-build-system) 647 (build-system pyproject-build-system)
653 (arguments
654 (list
655 #:phases
656 #~(modify-phases %standard-phases
657 (add-after 'unpack 'set-version
658 (lambda _
659 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
660 (propagated-inputs (list python-fonttools-minimal)) 648 (propagated-inputs (list python-fonttools-minimal))
661 (native-inputs 649 (native-inputs
662 (list python-pytest 650 (list python-pytest
@@ -781,10 +769,7 @@ process. FontParts is the successor of RoboFab.")
781 (substitute* "freetype/raw.py" 769 (substitute* "freetype/raw.py"
782 (("ctypes.util.find_library\\('freetype'\\)") 770 (("ctypes.util.find_library\\('freetype'\\)")
783 (format #f "'~a/~a'" #$(this-package-input "freetype") 771 (format #f "'~a/~a'" #$(this-package-input "freetype")
784 "lib/libfreetype.so"))))) 772 "lib/libfreetype.so"))))))))
785 (add-before 'build 'set-version
786 (lambda _
787 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
788 (native-inputs 773 (native-inputs
789 (list python-pytest 774 (list python-pytest
790 python-setuptools 775 python-setuptools
@@ -812,15 +797,6 @@ high-level API is bound.")
812 (base32 797 (base32
813 "193h5ixq9p9m2kwz8srfw61rzgqg6gishlndqm759cymwax0cibi")))) 798 "193h5ixq9p9m2kwz8srfw61rzgqg6gishlndqm759cymwax0cibi"))))
814 (build-system pyproject-build-system) 799 (build-system pyproject-build-system)
815 (arguments
816 (list
817 #:phases
818 #~(modify-phases %standard-phases
819 (add-before 'build 'pretend-version
820 ;; The version string is usually derived via setuptools-scm, but
821 ;; without the git metadata available this fails.
822 (lambda _
823 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
824 (native-inputs 800 (native-inputs
825 (list python-setuptools-scm 801 (list python-setuptools-scm
826 python-setuptools 802 python-setuptools
@@ -894,9 +870,6 @@ different scripts and languages.")
894 (list 870 (list
895 #:phases 871 #:phases
896 #~(modify-phases %standard-phases 872 #~(modify-phases %standard-phases
897 (add-after 'unpack 'set-version
898 (lambda _
899 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
900 (add-after 'unpack 'unbundle-opentype-sanitizer 873 (add-after 'unpack 'unbundle-opentype-sanitizer
901 (lambda* (#:key inputs #:allow-other-keys) 874 (lambda* (#:key inputs #:allow-other-keys)
902 (substitute* "setup.py" 875 (substitute* "setup.py"
@@ -1141,12 +1114,7 @@ tools can generate partial instances.
1141 (build-system pyproject-build-system) 1114 (build-system pyproject-build-system)
1142 (arguments 1115 (arguments
1143 (list 1116 (list
1144 #:test-backend #~'unittest 1117 #:test-backend #~'unittest))
1145 #:phases
1146 #~(modify-phases %standard-phases
1147 (add-after 'unpack 'set-version
1148 (lambda _
1149 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
1150 (native-inputs (list python-setuptools python-setuptools-scm unzip)) 1118 (native-inputs (list python-setuptools python-setuptools-scm unzip))
1151 (home-page "https://github.com/unified-font-object/ufoNormalizer") 1119 (home-page "https://github.com/unified-font-object/ufoNormalizer")
1152 (synopsis "Script to normalize @acronym{UFO, Unified Font Object} data") 1120 (synopsis "Script to normalize @acronym{UFO, Unified Font Object} data")
@@ -1998,13 +1966,6 @@ API-compatible with defcon.")
1998 (sha256 1966 (sha256
1999 (base32 "1zx4xas6qcpp54d1vcfy5wjv17aazkpfmb7hkjy99g47xsi6crrh")))) 1967 (base32 "1zx4xas6qcpp54d1vcfy5wjv17aazkpfmb7hkjy99g47xsi6crrh"))))
2000 (build-system pyproject-build-system) 1968 (build-system pyproject-build-system)
2001 (arguments
2002 (list
2003 #:phases
2004 #~(modify-phases %standard-phases
2005 (add-after 'unpack 'set-version
2006 (lambda _
2007 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
2008 (propagated-inputs (list python-fontpens-bootstrap python-fonttools)) 1969 (propagated-inputs (list python-fontpens-bootstrap python-fonttools))
2009 (native-inputs 1970 (native-inputs
2010 (list python-pytest 1971 (list python-pytest
@@ -2050,9 +2011,6 @@ UFO3 as described by the UFO font format.")
2050 (list 2011 (list
2051 #:phases 2012 #:phases
2052 #~(modify-phases %standard-phases 2013 #~(modify-phases %standard-phases
2053 (add-before 'build 'pretend-version
2054 (lambda _
2055 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
2056 (replace 'check 2014 (replace 'check
2057 (lambda* (#:key tests? #:allow-other-keys) 2015 (lambda* (#:key tests? #:allow-other-keys)
2058 (with-directory-excursion "tests" 2016 (with-directory-excursion "tests"
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 367a63e7c06..6c7f09090f7 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -13114,9 +13114,6 @@ Jongg tiles from the playing field by taking one matching pair at a time.")
13114 ;; Installing udev rules errors out. Install them manually later 13114 ;; Installing udev rules errors out. Install them manually later
13115 (substitute* "setup.py" 13115 (substitute* "setup.py"
13116 ((".*lib/udev.*") "")))) 13116 ((".*lib/udev.*") ""))))
13117 (add-before 'build 'set-version
13118 (lambda _
13119 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
13120 (add-after 'unpack 'remove-bundled-libraries 13117 (add-after 'unpack 'remove-bundled-libraries
13121 (lambda _ 13118 (lambda _
13122 (delete-file "scc/lib/jsonencoder.py") 13119 (delete-file "scc/lib/jsonencoder.py")
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 63940be3ec9..0081aba0f4e 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -2786,9 +2786,6 @@ from multiple records.")
2786 ;; dask[array]>=2025.1.0 # github.com/SciTools/iris/issues/6264 2786 ;; dask[array]>=2025.1.0 # github.com/SciTools/iris/issues/6264
2787 ;; TODO: Update python-dask to >=2025.1.0 to fix referenced bug. 2787 ;; TODO: Update python-dask to >=2025.1.0 to fix referenced bug.
2788 ((">=2025.1.0") "")))) 2788 ((">=2025.1.0") ""))))
2789 (add-after 'unpack 'set-version
2790 (lambda _
2791 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
2792 (add-after 'unpack 'delete-failing-test-files 2789 (add-after 'unpack 'delete-failing-test-files
2793 (lambda _ 2790 (lambda _
2794 (with-directory-excursion "lib/iris/tests" 2791 (with-directory-excursion "lib/iris/tests"
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 6f1dc1088c1..b7219629e5e 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -394,7 +394,6 @@ graphs in Python.")
394 #~(modify-phases %standard-phases 394 #~(modify-phases %standard-phases
395 (add-after 'unpack 'find-igraph 395 (add-after 'unpack 'find-igraph
396 (lambda _ 396 (lambda _
397 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
398 (substitute* "setup.py" 397 (substitute* "setup.py"
399 (("/usr/include/igraph") 398 (("/usr/include/igraph")
400 (string-append #$(this-package-input "igraph") 399 (string-append #$(this-package-input "igraph")
@@ -694,13 +693,6 @@ of millions of nodes (as long as they can fit in memory).")
694 (sha256 693 (sha256
695 (base32 "0p46g8drpnsciphy3iagrkagzh8hi3l5xmdab00q9z812bwdb951")))) 694 (base32 "0p46g8drpnsciphy3iagrkagzh8hi3l5xmdab00q9z812bwdb951"))))
696 (build-system pyproject-build-system) 695 (build-system pyproject-build-system)
697 (arguments
698 (list
699 #:phases
700 #~(modify-phases %standard-phases
701 (add-before 'build 'pretend-version
702 (lambda _
703 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
704 (native-inputs 696 (native-inputs
705 (list pkg-config 697 (list pkg-config
706 python-ddt 698 python-ddt
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index c936daecd0f..e8ce191c922 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1241,12 +1241,7 @@ basic geometries.")
1241 "test_Q_difference" 1241 "test_Q_difference"
1242 "test_Q_intersection" 1242 "test_Q_intersection"
1243 "test_Q_union" 1243 "test_Q_union"
1244 "test_Q_xor"))) 1244 "test_Q_xor")))))
1245 #:phases
1246 #~(modify-phases %standard-phases
1247 (add-after 'unpack 'set-version
1248 (lambda _
1249 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
1250 (propagated-inputs (list python-fonttools-minimal python-pyclipper)) 1245 (propagated-inputs (list python-fonttools-minimal python-pyclipper))
1251 (native-inputs 1246 (native-inputs
1252 (list python-defcon-bootstrap 1247 (list python-defcon-bootstrap
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index be822e76837..cd1fe633d57 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -1960,14 +1960,6 @@ purposes.")
1960 (sha256 1960 (sha256
1961 (base32 "0z7nwnvqh3hbbccf7v56398aiiwqs68kyrgc5vsmmh1cp4pwrgnb")))) 1961 (base32 "0z7nwnvqh3hbbccf7v56398aiiwqs68kyrgc5vsmmh1cp4pwrgnb"))))
1962 (build-system pyproject-build-system) 1962 (build-system pyproject-build-system)
1963 (arguments
1964 (list #:phases
1965 #~(modify-phases %standard-phases
1966 ;; LookupError: Error getting the version from source `vcs`:
1967 ;; setuptools-scm was unable to detect version for <...>
1968 (add-after 'unpack 'pretend-version
1969 (lambda _
1970 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
1971 (native-inputs 1963 (native-inputs
1972 (list python-pytest 1964 (list python-pytest
1973 python-hatchling 1965 python-hatchling
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 0762804baa7..1720cd2d59a 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -6591,16 +6591,7 @@ linear algebra routines needed for structured matrices (or operators).")
6591 " and not test_emsemble_map_saas" 6591 " and not test_emsemble_map_saas"
6592 " and not test_negative_fixed_features") 6592 " and not test_negative_fixed_features")
6593 ;; Requires optional 'pfns' dependency. 6593 ;; Requires optional 'pfns' dependency.
6594 "--ignore=test_community/") 6594 "--ignore=test_community/")))
6595 #:phases
6596 #~(modify-phases %standard-phases
6597 (add-before 'build 'pretend-version
6598 ;; The version string is usually derived via setuptools-scm,
6599 ;; but without the git metadata available, the version string
6600 ;; is set to '0.0.0'.
6601 (lambda _
6602 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
6603 #$(package-version this-package)))))))
6604 (propagated-inputs (list python-gpytorch 6595 (propagated-inputs (list python-gpytorch
6605 python-linear-operator 6596 python-linear-operator
6606 python-multipledispatch 6597 python-multipledispatch
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index ef143270f7a..1fadfdaa560 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4186,13 +4186,6 @@ Standard Recording Code} (ISRCs) from audio CDs and submit them to
4186 (sha256 4186 (sha256
4187 (base32 "1i3mgxhrr3nbfrg3ppv6qvf3py0p46wa2h36nnfjw2m5bhjd6rhx")))) 4187 (base32 "1i3mgxhrr3nbfrg3ppv6qvf3py0p46wa2h36nnfjw2m5bhjd6rhx"))))
4188 (build-system pyproject-build-system) 4188 (build-system pyproject-build-system)
4189 (arguments
4190 (list
4191 #:phases
4192 #~(modify-phases %standard-phases
4193 (add-after 'unpack 'set-version
4194 (lambda _
4195 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
4196 (native-inputs 4189 (native-inputs
4197 (list python-pytest 4190 (list python-pytest
4198 python-flaky 4191 python-flaky
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 095c45f7809..c303dc6c148 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -1590,9 +1590,6 @@ manage (install/update) them for you.")
1590 (substitute* "conda/base/constants.py" 1590 (substitute* "conda/base/constants.py"
1591 (("DEFAULT_SOLVER: Final = \"libmamba\"") 1591 (("DEFAULT_SOLVER: Final = \"libmamba\"")
1592 "DEFAULT_SOLVER: Final = \"classic\"")))) 1592 "DEFAULT_SOLVER: Final = \"classic\""))))
1593 (add-before 'build 'set-version
1594 (lambda _
1595 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
1596 (add-before 'check 'pre-check 1593 (add-before 'check 'pre-check
1597 (lambda _ 1594 (lambda _
1598 ;; TODO: Package libsolv, libmamba, and conda-libmamba-solver: 1595 ;; TODO: Package libsolv, libmamba, and conda-libmamba-solver:
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index be107be6ff0..77cbef14ed8 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -1352,12 +1352,7 @@ reflected in the package visible to Python, without needing a reinstall.")
1352 (arguments 1352 (arguments
1353 (list 1353 (list
1354 #:tests? #f ;to keep dependencies to a minimum 1354 #:tests? #f ;to keep dependencies to a minimum
1355 #:build-backend "setuptools.build_meta" 1355 #:build-backend "setuptools.build_meta"))
1356 #:phases
1357 #~(modify-phases %standard-phases
1358 (add-before 'build 'set-version
1359 (lambda _
1360 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
1361 (native-inputs 1356 (native-inputs
1362 (list python-flit-scm)) 1357 (list python-flit-scm))
1363 (propagated-inputs 1358 (propagated-inputs
@@ -1777,13 +1772,6 @@ module with a few extra procedures.")
1777 (sha256 1772 (sha256
1778 (base32 "12bj9za1yp0yn0ppya6a4kwgmh7hvmw64x7ivp4y0sbv20r0vfdq")))) 1773 (base32 "12bj9za1yp0yn0ppya6a4kwgmh7hvmw64x7ivp4y0sbv20r0vfdq"))))
1779 (build-system pyproject-build-system) 1774 (build-system pyproject-build-system)
1780 (arguments
1781 (list
1782 #:phases
1783 #~(modify-phases %standard-phases
1784 (add-after 'unpack 'set-version
1785 (lambda _
1786 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
1787 (native-inputs 1775 (native-inputs
1788 (list python-pytest-bootstrap 1776 (list python-pytest-bootstrap
1789 python-setuptools-bootstrap 1777 python-setuptools-bootstrap
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 8235b1f13b5..1f268616620 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2222,9 +2222,6 @@ Changes over @code{nose}:
2222 (list 2222 (list
2223 #:phases 2223 #:phases
2224 #~(modify-phases %standard-phases 2224 #~(modify-phases %standard-phases
2225 (add-after 'unpack 'set-version
2226 (lambda _
2227 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
2228 ;; Patch based on 2225 ;; Patch based on
2229 ;; https://github.com/aio-libs/pytest-aiohttp/pull/115/files 2226 ;; https://github.com/aio-libs/pytest-aiohttp/pull/115/files
2230 (add-after 'unpack 'create-pytest-ini 2227 (add-after 'unpack 'create-pytest-ini
@@ -2520,12 +2517,7 @@ failures per test.")
2520 (build-system pyproject-build-system) 2517 (build-system pyproject-build-system)
2521 (arguments 2518 (arguments
2522 (list 2519 (list
2523 #:tests? #f ;tests require network access 2520 #:tests? #f)) ;tests require network access
2524 #:phases
2525 #~(modify-phases %standard-phases
2526 (add-before 'build 'set-version
2527 (lambda _
2528 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
2529 (native-inputs 2521 (native-inputs
2530 (list python-pytest-bootstrap 2522 (list python-pytest-bootstrap
2531 python-setuptools-scm 2523 python-setuptools-scm
@@ -3088,13 +3080,6 @@ applicative benchmarking purposes.")
3088 (sha256 3080 (sha256
3089 (base32 "0ikwiwp9ycgg7px78nxdkqvg7j97krb6vzqlb8fq8fvbwrj4q4v2")))) 3081 (base32 "0ikwiwp9ycgg7px78nxdkqvg7j97krb6vzqlb8fq8fvbwrj4q4v2"))))
3090 (build-system pyproject-build-system) 3082 (build-system pyproject-build-system)
3091 (arguments
3092 (list
3093 #:phases
3094 #~(modify-phases %standard-phases
3095 (add-after 'unpack 'set-version
3096 (lambda _
3097 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
3098 (native-inputs (list python-pytest python-setuptools python-setuptools-scm 3083 (native-inputs (list python-pytest python-setuptools python-setuptools-scm
3099 python-setuptools-declarative-requirements 3084 python-setuptools-declarative-requirements
3100 python-wheel)) 3085 python-wheel))
@@ -3120,13 +3105,6 @@ import them in their actual tests to use them.")
3120 (sha256 3105 (sha256
3121 (base32 "151xx48dahbh7yx2a9cr9f2iy2i6f7s3zsm4zn5apvgl9qmjhkk7")))) 3106 (base32 "151xx48dahbh7yx2a9cr9f2iy2i6f7s3zsm4zn5apvgl9qmjhkk7"))))
3122 (build-system pyproject-build-system) 3107 (build-system pyproject-build-system)
3123 (arguments
3124 (list
3125 #:phases
3126 #~(modify-phases %standard-phases
3127 (add-after 'unpack 'set-version
3128 (lambda _
3129 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
3130 (propagated-inputs (list python-pytest)) 3108 (propagated-inputs (list python-pytest))
3131 (native-inputs 3109 (native-inputs
3132 (list git-minimal 3110 (list git-minimal
@@ -3262,13 +3240,6 @@ access to test session metadata.")
3262 (sha256 3240 (sha256
3263 (base32 "0rq4mb1ycs3l1mpl682ybycvywmf4cp3vlrv9r1a9d2cb6qdwz8r")))) 3241 (base32 "0rq4mb1ycs3l1mpl682ybycvywmf4cp3vlrv9r1a9d2cb6qdwz8r"))))
3264 (build-system pyproject-build-system) 3242 (build-system pyproject-build-system)
3265 (arguments
3266 (list
3267 #:phases
3268 #~(modify-phases %standard-phases
3269 (add-before 'build 'set-version
3270 (lambda _
3271 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
3272 (native-inputs 3243 (native-inputs
3273 (list python-hatch-vcs 3244 (list python-hatch-vcs
3274 python-hatchling 3245 python-hatchling
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index 570e487b2e3..e4f0fbbc51d 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -1068,10 +1068,7 @@ generator")
1068 #~(modify-phases %standard-phases 1068 #~(modify-phases %standard-phases
1069 (add-after 'unpack 'use-system-zopfli 1069 (add-after 'unpack 'use-system-zopfli
1070 (lambda _ 1070 (lambda _
1071 (setenv "USE_SYSTEM_ZOPFLI" "1"))) 1071 (setenv "USE_SYSTEM_ZOPFLI" "1"))))))
1072 (add-before 'build 'set-version
1073 (lambda _
1074 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
1075 (native-inputs 1072 (native-inputs
1076 (list python-pytest 1073 (list python-pytest
1077 python-setuptools 1074 python-setuptools
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 1f958613ead..118355d8ec1 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -326,9 +326,6 @@ possibility to differentiate functions that contain matrix functions as
326 (lambda _ 326 (lambda _
327 (substitute* "pyproject.toml" 327 (substitute* "pyproject.toml"
328 (("--doctest-modules") "")))) 328 (("--doctest-modules") ""))))
329 (add-before 'build 'set-version
330 (lambda _
331 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
332 ;; Numba needs a writable dir to cache functions. 329 ;; Numba needs a writable dir to cache functions.
333 (add-before 'check 'set-numba-cache-dir 330 (add-before 'check 'set-numba-cache-dir
334 (lambda _ 331 (lambda _
@@ -735,16 +732,7 @@ but have now been adjusted using the viscm tool to be perceptually uniform.")
735 " and not test_extended_overplotting[png]" 732 " and not test_extended_overplotting[png]"
736 " and not test_reverse_overplotting[png]" 733 " and not test_reverse_overplotting[png]"
737 " and not test_arviz[png]" 734 " and not test_arviz[png]"
738 " and not test_range_fig_arg[png]")) 735 " and not test_range_fig_arg[png]"))))
739 #:phases
740 #~(modify-phases %standard-phases
741 (add-before 'build 'pretend-version
742 ;; XXX: Make sure you're either building from a fully intact git
743 ;; repository or PyPI tarballs. Most other sources (such as GitHub's
744 ;; tarballs, a git checkout without the .git folder) don't contain
745 ;; the necessary metadata and will not work.
746 (lambda _
747 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
748 (propagated-inputs 736 (propagated-inputs
749 (list python-matplotlib)) 737 (list python-matplotlib))
750 (native-inputs 738 (native-inputs
@@ -864,9 +852,6 @@ optimization problems in Python.")
864 (lambda _ 852 (lambda _
865 (substitute* "pyproject.toml" 853 (substitute* "pyproject.toml"
866 ((".*--cov-config=pyproject.toml.*") "")))) 854 ((".*--cov-config=pyproject.toml.*") ""))))
867 (add-before 'build 'set-version
868 (lambda _
869 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
870 (add-before 'check 'remove-local-source 855 (add-before 'check 'remove-local-source
871 (lambda _ 856 (lambda _
872 (delete-file-recursively "dask")))))) 857 (delete-file-recursively "dask"))))))
@@ -924,10 +909,7 @@ run on top of the dynamic task schedulers.")
924 (add-after 'unpack 'fix-pytest-config 909 (add-after 'unpack 'fix-pytest-config
925 (lambda _ 910 (lambda _
926 (substitute* "pyproject.toml" 911 (substitute* "pyproject.toml"
927 (("--flake8") "")))) 912 (("--flake8") "")))))))
928 (add-before 'build 'set-version
929 (lambda _
930 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
931 (native-inputs 913 (native-inputs
932 (list python-pytest 914 (list python-pytest
933 python-pytest-timeout 915 python-pytest-timeout
@@ -1074,10 +1056,7 @@ interoperability offered by HDF5.")
1074 (add-after 'unpack 'fix-pytest-config 1056 (add-after 'unpack 'fix-pytest-config
1075 (lambda _ 1057 (lambda _
1076 (substitute* "pyproject.toml" 1058 (substitute* "pyproject.toml"
1077 (("--cov-config.*") "")))) 1059 (("--cov-config.*") "")))))))
1078 (add-before 'build 'set-version
1079 (lambda _
1080 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
1081 (native-inputs 1060 (native-inputs
1082 (list python-setuptools 1061 (list python-setuptools
1083 python-setuptools-scm-next)) 1062 python-setuptools-scm-next))
@@ -2344,10 +2323,7 @@ web, by sharing data and other research outputs.")
2344 (format #f "SOURCE_DIR ~a" 2323 (format #f "SOURCE_DIR ~a"
2345 (string-append (getcwd) "/osqp"))) 2324 (string-append (getcwd) "/osqp")))
2346 (("GIT_TAG v1.0.0") 2325 (("GIT_TAG v1.0.0")
2347 "")))) 2326 "")))))))
2348 (add-before 'build 'set-version
2349 (lambda _
2350 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
2351 (native-inputs 2327 (native-inputs
2352 (list cmake-minimal 2328 (list cmake-minimal
2353 osqp 2329 osqp
@@ -2794,14 +2770,7 @@ automated with the minimum of fuss and the least effort.")
2794 (sha256 2770 (sha256
2795 (base32 "0v7l6qbxgclz644fq1vmakfasxcdhg1g019b5w47hlxqw8fx0ipl")))) 2771 (base32 "0v7l6qbxgclz644fq1vmakfasxcdhg1g019b5w47hlxqw8fx0ipl"))))
2796 (build-system pyproject-build-system) 2772 (build-system pyproject-build-system)
2797 (arguments 2773 ;; tests: 190 passed, 1 xfailed, 28 warnings
2798 (list
2799 ;; tests: 190 passed, 1 xfailed, 28 warnings
2800 #:phases
2801 #~(modify-phases %standard-phases
2802 (add-before 'build 'set-version
2803 (lambda _
2804 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
2805 (native-inputs 2774 (native-inputs
2806 (list python-hatch-vcs 2775 (list python-hatch-vcs
2807 python-hatchling 2776 python-hatchling
@@ -3260,13 +3229,7 @@ the following purposes in mind:
3260 ;; tests: 1013 passed, 105 warnings 3229 ;; tests: 1013 passed, 105 warnings
3261 #:test-flags 3230 #:test-flags
3262 #~(list "--durations=10" ;to help in spotting long running tests 3231 #~(list "--durations=10" ;to help in spotting long running tests
3263 "--numprocesses" (number->string (min 4 (parallel-job-count)))) 3232 "--numprocesses" (number->string (min 4 (parallel-job-count))))))
3264 #:phases
3265 #~(modify-phases %standard-phases
3266 (add-before 'build 'set-version
3267 (lambda _
3268 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
3269 #$(version-major+minor version)))))))
3270 (propagated-inputs 3233 (propagated-inputs
3271 (list python-ecos 3234 (list python-ecos
3272 python-joblib 3235 python-joblib
@@ -5477,12 +5440,6 @@ multiple-axes, polar charts, and bubble charts.")
5477 'infix))) 5440 'infix)))
5478 #:phases 5441 #:phases
5479 #~(modify-phases %standard-phases 5442 #~(modify-phases %standard-phases
5480 (add-before 'build 'pretend-version
5481 ;; The version string is usually derived via setuptools-scm, but
5482 ;; without the git metadata available, the version string is set to
5483 ;; '999'.
5484 (lambda _
5485 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
5486 (add-before 'check 'pre-check 5443 (add-before 'check 'pre-check
5487 (lambda* (#:key inputs outputs #:allow-other-keys) 5444 (lambda* (#:key inputs outputs #:allow-other-keys)
5488 ;; The data files are referenced by the tests but they are not 5445 ;; The data files are referenced by the tests but they are not
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9bd3b7300e0..6d710663d9a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9227,16 +9227,7 @@ library to create slugs from unicode strings while keeping it DRY.")
9227 ;; This file requires Selenium. 9227 ;; This file requires Selenium.
9228 (list #:test-flags #~(list "--ignore" "tests/test_iframe.py" 9228 (list #:test-flags #~(list "--ignore" "tests/test_iframe.py"
9229 ;; This test passes but is very slow. 9229 ;; This test passes but is very slow.
9230 "-k" "not test_color_brewer_extendability") 9230 "-k" "not test_color_brewer_extendability")))
9231 #:phases
9232 #~(modify-phases %standard-phases
9233 (add-before 'build 'pretend-version
9234 ;; The version string is usually derived via setuptools-scm,
9235 ;; but without the git metadata available, the version string
9236 ;; is set to '0.0.0'.
9237 (lambda _
9238 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
9239 #$(package-version this-package)))))))
9240 (propagated-inputs (list python-jinja2)) 9231 (propagated-inputs (list python-jinja2))
9241 (native-inputs 9232 (native-inputs
9242 (list python-numpy 9233 (list python-numpy
@@ -12137,12 +12128,7 @@ Python.")
12137 "--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri_contains_question_mark" 12128 "--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri_contains_question_mark"
12138 "--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri_contains_slash" 12129 "--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri_contains_slash"
12139 "--deselect=tests/test_smart_open.py::ParseUriTest::test_scheme" 12130 "--deselect=tests/test_smart_open.py::ParseUriTest::test_scheme"
12140 "--ignore=tests/test_gcs.py") 12131 "--ignore=tests/test_gcs.py")))
12141 #:phases
12142 #~(modify-phases %standard-phases
12143 (add-before 'build 'set-version
12144 (lambda _
12145 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
12146 (propagated-inputs 12132 (propagated-inputs
12147 (list python-azure-common 12133 (list python-azure-common
12148 python-azure-core 12134 python-azure-core
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ad012f8aab0..7090dca3c1d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -692,10 +692,7 @@ templates language.")
692 (add-after 'unpack 'fix-pytest-config 692 (add-after 'unpack 'fix-pytest-config
693 (lambda _ 693 (lambda _
694 (substitute* "setup.cfg" 694 (substitute* "setup.cfg"
695 (("--cov.*") "")))) 695 (("--cov.*") "")))))))
696 (add-before 'build 'set-version
697 (lambda _
698 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
699 (native-inputs 696 (native-inputs
700 (list python-hatch-vcs 697 (list python-hatch-vcs
701 python-hatchling 698 python-hatchling
@@ -1765,12 +1762,7 @@ for Python.")
1765 (build-system pyproject-build-system) 1762 (build-system pyproject-build-system)
1766 (arguments 1763 (arguments
1767 (list 1764 (list
1768 #:tests? #f ;tests need conda 1765 #:tests? #f)) ;tests need conda
1769 #:phases
1770 #~(modify-phases %standard-phases
1771 (add-before 'build 'pretend-version
1772 (lambda _
1773 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
1774 (native-inputs 1766 (native-inputs
1775 (list python-setuptools 1767 (list python-setuptools
1776 python-setuptools-scm)) 1768 python-setuptools-scm))
@@ -5046,15 +5038,6 @@ module and then similar looking characters are removed.")
5046 (sha256 5038 (sha256
5047 (base32 "07m4c87pavpdak1lx4bvdz43y2wwzm6fc54x947cssgwqz8mw3zp")))) 5039 (base32 "07m4c87pavpdak1lx4bvdz43y2wwzm6fc54x947cssgwqz8mw3zp"))))
5048 (build-system pyproject-build-system) 5040 (build-system pyproject-build-system)
5049 (arguments
5050 (list
5051 #:phases
5052 #~(modify-phases %standard-phases
5053 (add-before 'build 'pretend-version
5054 ;; Indicate version to setuptools-scm
5055 (lambda _
5056 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
5057 #$(package-version this-package)))))))
5058 (native-inputs (list python-pytest 5041 (native-inputs (list python-pytest
5059 python-setuptools 5042 python-setuptools
5060 python-setuptools-scm 5043 python-setuptools-scm
@@ -6185,12 +6168,7 @@ your Python package version as a calendar version.")
6185 ;; package for in Guix. 6168 ;; package for in Guix.
6186 "--ignore=test/test_interface_canalystii.py" 6169 "--ignore=test/test_interface_canalystii.py"
6187 ;; These tests fail with "OSError: [Errno 19] No such device". 6170 ;; These tests fail with "OSError: [Errno 19] No such device".
6188 "-k" "not BasicTestUdpMulticastBusIPv") 6171 "-k" "not BasicTestUdpMulticastBusIPv")))
6189 #:phases
6190 #~(modify-phases %standard-phases
6191 (add-after 'unpack 'set-version
6192 (lambda _
6193 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
6194 (propagated-inputs (list python-packaging python-wrapt)) 6172 (propagated-inputs (list python-packaging python-wrapt))
6195 (native-inputs 6173 (native-inputs
6196 (list ;; python-canalystii ; Not packed yet 6174 (list ;; python-canalystii ; Not packed yet
@@ -6458,17 +6436,6 @@ of primitive data types like @code{char}, @code{int}, etc.")
6458 (sha256 6436 (sha256
6459 (base32 "0ldqdsvkvy7vmplyiqcfqqwbh8v88ha98hgdrnlm09g4qbylh5d4")))) 6437 (base32 "0ldqdsvkvy7vmplyiqcfqqwbh8v88ha98hgdrnlm09g4qbylh5d4"))))
6460 (build-system pyproject-build-system) 6438 (build-system pyproject-build-system)
6461 (arguments
6462 (list
6463 #:phases
6464 ;; TODO: Build documentation, it's failing with error:
6465 ;; importlib.metadata.PackageNotFoundError: No package metadata was
6466 ;; found for cantools.
6467 ;; See: https://github.com/eerimoq/cantools/issues/190.
6468 #~(modify-phases %standard-phases
6469 (add-before 'build 'set-version
6470 (lambda _
6471 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
6472 (native-inputs 6439 (native-inputs
6473 (list python-freezegun 6440 (list python-freezegun
6474 python-parameterized 6441 python-parameterized
@@ -7687,14 +7654,7 @@ defined.")
7687 (list "not test_only_pyproject" 7654 (list "not test_only_pyproject"
7688 "test_no_setup_py" 7655 "test_no_setup_py"
7689 "test_limited_api") 7656 "test_limited_api")
7690 " and not ")) 7657 " and not "))))
7691 #:phases
7692 #~(modify-phases %standard-phases
7693 ;; LookupError: setuptools-scm was unable to detect version for
7694 ;; /tmp/guix-build-python-extension-helpers-1.2.0.drv-0/source.
7695 (add-before 'build 'set-version
7696 (lambda _
7697 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
7698 (native-inputs 7658 (native-inputs
7699 (list python-pytest 7659 (list python-pytest
7700 python-setuptools-scm)) 7660 python-setuptools-scm))
@@ -7864,16 +7824,6 @@ processing tasks.")
7864 (base32 7824 (base32
7865 "0ij0fk4w0jyyj44ij3i2j1nfa0d7dk783w9r25cpwjkpn690xqfx")))) 7825 "0ij0fk4w0jyyj44ij3i2j1nfa0d7dk783w9r25cpwjkpn690xqfx"))))
7866 (build-system pyproject-build-system) 7826 (build-system pyproject-build-system)
7867 (arguments
7868 (list
7869 #:phases
7870 #~(modify-phases %standard-phases
7871 (add-before 'build 'pretend-version
7872 ;; The version string is usually derived via setuptools-scm, but
7873 ;; without the git metadata available, the version string is set to
7874 ;; '999'.
7875 (lambda _
7876 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
7877 (propagated-inputs 7827 (propagated-inputs
7878 (list python-matplotlib python-numpy python-pandas python-scipy)) 7828 (list python-matplotlib python-numpy python-pandas python-scipy))
7879 (native-inputs 7829 (native-inputs
@@ -8984,14 +8934,6 @@ logic-free templating system Mustache.")
8984 (sha256 8934 (sha256
8985 (base32 "02q03smvfz6x8v45s6qcgh1r2plpcam7ra24ikgqlmq005w7nhv3")))) 8935 (base32 "02q03smvfz6x8v45s6qcgh1r2plpcam7ra24ikgqlmq005w7nhv3"))))
8986 (build-system pyproject-build-system) 8936 (build-system pyproject-build-system)
8987 (arguments
8988 (list
8989 #:phases
8990 #~(modify-phases %standard-phases
8991 (add-after 'unpack 'set-version
8992 (lambda _
8993 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
8994 #$(assoc-ref properties 'upstream-version)))))))
8995 (native-inputs (list python-hatchling python-hatch-vcs python-pytest)) 8937 (native-inputs (list python-hatchling python-hatch-vcs python-pytest))
8996 (inputs (list python-html5lib 8938 (inputs (list python-html5lib
8997 python-markdown 8939 python-markdown
@@ -9595,13 +9537,6 @@ to deprecate classes, functions or methods.")
9595 (sha256 9537 (sha256
9596 (base32 "0c5qp69qfkfcp8lfmfh0a2rcb1azsrlrc525qd8blnkrmz2mmayz")))) 9538 (base32 "0c5qp69qfkfcp8lfmfh0a2rcb1azsrlrc525qd8blnkrmz2mmayz"))))
9597 (build-system pyproject-build-system) 9539 (build-system pyproject-build-system)
9598 (arguments
9599 (list
9600 #:phases
9601 #~(modify-phases %standard-phases
9602 (add-after 'unpack 'set-version
9603 (lambda _
9604 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
9605 (propagated-inputs 9540 (propagated-inputs
9606 (list python-pyjwt 9541 (list python-pyjwt
9607 python-pynacl 9542 python-pynacl
@@ -10086,16 +10021,6 @@ for visual regression testing purposes.")
10086 (sha256 10021 (sha256
10087 (base32 "1z9d660jnv72jn8qzpa9hddpv5f953js8i75hfhkcw68vmdfndnr")))) 10022 (base32 "1z9d660jnv72jn8qzpa9hddpv5f953js8i75hfhkcw68vmdfndnr"))))
10088 (build-system pyproject-build-system) 10023 (build-system pyproject-build-system)
10089 (arguments
10090 (list
10091 #:phases
10092 #~(modify-phases %standard-phases
10093 (add-before 'build 'pretend-version
10094 ;; The version string is usually derived via setuptools-scm, but
10095 ;; without the git metadata available, the version string is set to
10096 ;; '0.0.0'.
10097 (lambda _
10098 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
10099 (native-inputs (list python-pytest 10024 (native-inputs (list python-pytest
10100 python-setuptools 10025 python-setuptools
10101 python-setuptools-scm 10026 python-setuptools-scm
@@ -10146,13 +10071,6 @@ via the SCP1 protocol, as implemented by the OpenSSH @command{scp} program.")
10146 (sha256 10071 (sha256
10147 (base32 "1pcnhib881p0vgm0s8jj6inzzs98raz70sc2z6m6wlgrj9ivv5jj")))) 10072 (base32 "1pcnhib881p0vgm0s8jj6inzzs98raz70sc2z6m6wlgrj9ivv5jj"))))
10148 (build-system pyproject-build-system) 10073 (build-system pyproject-build-system)
10149 (arguments
10150 (list
10151 #:phases
10152 #~(modify-phases %standard-phases
10153 (add-after 'unpack 'set-version
10154 (lambda _
10155 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
10156 (propagated-inputs (list python-jaraco-context)) 10074 (propagated-inputs (list python-jaraco-context))
10157 (native-inputs 10075 (native-inputs
10158 (list python-path 10076 (list python-path
@@ -12103,12 +12021,6 @@ comparison.
12103 " and not ")) 12021 " and not "))
12104 #:phases 12022 #:phases
12105 #~(modify-phases %standard-phases 12023 #~(modify-phases %standard-phases
12106 (add-before 'build 'pretend-version
12107 ;; The version string is usually derived via setuptools-scm, but
12108 ;; without the git metadata available, the version string is set to
12109 ;; '0.0.0'.
12110 (lambda _
12111 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
12112 (add-after 'unpack 'patch-commands 12024 (add-after 'unpack 'patch-commands
12113 (lambda _ 12025 (lambda _
12114 (substitute* "lib/matplotlib/tests/test_animation.py" 12026 (substitute* "lib/matplotlib/tests/test_animation.py"
@@ -12848,13 +12760,6 @@ Python list with elements of type @code{PIL.Image} (from the
12848 (sha256 12760 (sha256
12849 (base32 "0hpnb63xp8yaflah3i1z5azh6mg36rz0liy27km47417w2q72v0c")))) 12761 (base32 "0hpnb63xp8yaflah3i1z5azh6mg36rz0liy27km47417w2q72v0c"))))
12850 (build-system pyproject-build-system) 12762 (build-system pyproject-build-system)
12851 (arguments
12852 (list
12853 #:phases
12854 #~(modify-phases %standard-phases
12855 (add-after 'unpack 'set-version
12856 (lambda _
12857 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
12858 (native-inputs 12763 (native-inputs
12859 (list pybind11 12764 (list pybind11
12860 python-attrs 12765 python-attrs
@@ -14401,12 +14306,7 @@ releases.")
14401 (list 14306 (list
14402 #:test-flags 14307 #:test-flags
14403 ;; Ignore doctests. 14308 ;; Ignore doctests.
14404 #~(list "--ignore-glob=jaraco/vcs/*.py") 14309 #~(list "--ignore-glob=jaraco/vcs/*.py")))
14405 #:phases
14406 #~(modify-phases %standard-phases
14407 (add-after 'unpack 'set-version
14408 (lambda _
14409 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
14410 (propagated-inputs (list python-jaraco-classes 14310 (propagated-inputs (list python-jaraco-classes
14411 python-jaraco-path 14311 python-jaraco-path
14412 python-jaraco-versioning 14312 python-jaraco-versioning
@@ -14440,13 +14340,6 @@ Python.")
14440 (sha256 14340 (sha256
14441 (base32 "12svnpa5sl3r5lci9bybzy5gb8pd4clfkl65x5hsap00ada2w91r")))) 14341 (base32 "12svnpa5sl3r5lci9bybzy5gb8pd4clfkl65x5hsap00ada2w91r"))))
14442 (build-system pyproject-build-system) 14342 (build-system pyproject-build-system)
14443 (arguments
14444 (list
14445 #:phases
14446 #~(modify-phases %standard-phases
14447 (add-after 'unpack 'set-version
14448 (lambda _
14449 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
14450 (propagated-inputs (list python-packaging)) 14343 (propagated-inputs (list python-packaging))
14451 (native-inputs 14344 (native-inputs
14452 (list python-pytest python-setuptools python-setuptools-scm)) 14345 (list python-pytest python-setuptools python-setuptools-scm))
@@ -17043,14 +16936,6 @@ reading and writing MessagePack data.")
17043 (sha256 16936 (sha256
17044 (base32 "1rxjgzh0p069ncsr2986rn32vhdqyq35irbqg2559jh18456mkca")))) 16937 (base32 "1rxjgzh0p069ncsr2986rn32vhdqyq35irbqg2559jh18456mkca"))))
17045 (build-system pyproject-build-system) 16938 (build-system pyproject-build-system)
17046 (arguments
17047 (list
17048 #:phases
17049 #~(modify-phases %standard-phases
17050 (add-after 'unpack 'pretend-version
17051 (lambda _
17052 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
17053 #$(package-version this-package)))))))
17054 (native-inputs (list python-cython-0 python-pytest python-setuptools-scm 16939 (native-inputs (list python-cython-0 python-pytest python-setuptools-scm
17055 python-setuptools)) 16940 python-setuptools))
17056 (home-page "https://github.com/fonttools/openstep-plist") 16941 (home-page "https://github.com/fonttools/openstep-plist")
@@ -17707,12 +17592,7 @@ is binding LibSass.")
17707 ;; the network and fail. 17592 ;; the network and fail.
17708 "and not test_pkg_imported " 17593 "and not test_pkg_imported "
17709 "and not test_pkg_loaded_from_alternate_index " 17594 "and not test_pkg_loaded_from_alternate_index "
17710 "and not test_pkg_loaded_from_url ")) 17595 "and not test_pkg_loaded_from_url "))))
17711 #:phases
17712 #~(modify-phases %standard-phases
17713 (add-before 'build 'pretend-version
17714 (lambda _
17715 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
17716 (native-inputs 17596 (native-inputs
17717 (list python-nbformat 17597 (list python-nbformat
17718 python-pygments 17598 python-pygments
@@ -19195,10 +19075,6 @@ friendly JSON encoder, decorators for retries and logging.")
19195 ;; tests: 466 passed, 614 skipped, 4 xfailed, 11 xpassed, 1 warning 19075 ;; tests: 466 passed, 614 skipped, 4 xfailed, 11 xpassed, 1 warning
19196 #:phases 19076 #:phases
19197 #~(modify-phases %standard-phases 19077 #~(modify-phases %standard-phases
19198 (add-before 'build 'set-verion
19199 (lambda _
19200 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
19201 #$(version-major+minor+point version))))
19202 (add-before 'check 'pre-check 19078 (add-before 'check 'pre-check
19203 (lambda _ 19079 (lambda _
19204 ;; Unset PYTHONDONTWRITEBYTECODE to match the expectations of a 19080 ;; Unset PYTHONDONTWRITEBYTECODE to match the expectations of a
@@ -19737,12 +19613,7 @@ for the module to work under Python 3.3.")
19737 "test_iter_lines_error" 19613 "test_iter_lines_error"
19738 "test_quoting" 19614 "test_quoting"
19739 "test_copy_move_delete") 19615 "test_copy_move_delete")
19740 " and not ")) 19616 " and not "))))
19741 #:phases
19742 #~(modify-phases %standard-phases
19743 (add-before 'build 'set-version
19744 (lambda _
19745 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
19746 (native-inputs 19617 (native-inputs
19747 (list procps 19618 (list procps
19748 python-psutil 19619 python-psutil
@@ -24375,16 +24246,11 @@ package attempts to address the shortcomings of @code{isodate}.")
24375 "test_requirements_finder" 24246 "test_requirements_finder"
24376 "test_sort_configurable_sort_issue_1732" 24247 "test_sort_configurable_sort_issue_1732"
24377 "test_sort_imports_error_handling") 24248 "test_sort_imports_error_handling")
24378 " and not ")) 24249 " and not "))))
24379 ;; TODO: Package example plugins separately, available in PyPI: 24250 ;; TODO: Package example plugins separately, available in PyPI:
24380 ;; - example_isort_formatting_plugin 24251 ;; - example_isort_formatting_plugin
24381 ;; - example_isort_sorting_plugin 24252 ;; - example_isort_sorting_plugin
24382 ;; - example_shared_isort_profile 24253 ;; - example_shared_isort_profile
24383 #:phases
24384 #~(modify-phases %standard-phases
24385 (add-before 'build 'pretend-version
24386 (lambda _
24387 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
24388 (native-inputs 24254 (native-inputs
24389 (list python-colorama 24255 (list python-colorama
24390 python-hatch-vcs 24256 python-hatch-vcs
@@ -24978,16 +24844,7 @@ and integration into other projects.")
24978 "12qfqha70vhc8pclq0kzv7xk0i44ramnlkphybv7419vdl4aay40")))) 24844 "12qfqha70vhc8pclq0kzv7xk0i44ramnlkphybv7419vdl4aay40"))))
24979 (build-system pyproject-build-system) 24845 (build-system pyproject-build-system)
24980 (arguments 24846 (arguments
24981 (list #:phases 24847 (list #:test-flags #~(list "test.py")))
24982 #~(modify-phases %standard-phases
24983 (add-before 'build 'pretend-version
24984 (lambda _
24985 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
24986 #$(package-version this-package))))
24987 (replace 'check
24988 (lambda* (#:key tests? #:allow-other-keys)
24989 (when tests?
24990 (invoke "pytest" "-vv" "test.py")))))))
24991 (native-inputs 24848 (native-inputs
24992 (list python-pytest python-setuptools python-setuptools-scm python-wheel)) 24849 (list python-pytest python-setuptools python-setuptools-scm python-wheel))
24993 (home-page "https://libraryofcongress.github.io/bagit-python/") 24850 (home-page "https://libraryofcongress.github.io/bagit-python/")
@@ -25679,13 +25536,6 @@ Rust Python extensions implemented with @code{PyO3} or @code{rust-cpython}.")
25679 (sha256 25536 (sha256
25680 (base32 "1sza6n2fg8zml0v1s5zwzrlsb79s2abn1n4pr1l8r15al4g9z0c6")))) 25537 (base32 "1sza6n2fg8zml0v1s5zwzrlsb79s2abn1n4pr1l8r15al4g9z0c6"))))
25681 (build-system pyproject-build-system) 25538 (build-system pyproject-build-system)
25682 (arguments
25683 (list
25684 #:phases
25685 #~(modify-phases %standard-phases
25686 (add-after 'unpack 'set-version
25687 (lambda _
25688 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "0.2.2"))))))
25689 (native-inputs 25539 (native-inputs
25690 (list python-pytest 25540 (list python-pytest
25691 python-setuptools 25541 python-setuptools
@@ -25718,9 +25568,6 @@ definitions to simplify the use of C bindings.")
25718 (list 25568 (list
25719 #:phases 25569 #:phases
25720 #~(modify-phases %standard-phases 25570 #~(modify-phases %standard-phases
25721 (add-after 'unpack 'set-version
25722 (lambda _
25723 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
25724 (add-before 'build 'cythonize-sources 25571 (add-before 'build 'cythonize-sources
25725 (lambda _ 25572 (lambda _
25726 (with-directory-excursion "src/pyclipper" 25573 (with-directory-excursion "src/pyclipper"
@@ -27727,12 +27574,7 @@ values. Partd excels at shuffling operations.")
27727 "test_gist_public_one_file" 27574 "test_gist_public_one_file"
27728 ;; Test hangs 27575 ;; Test hangs
27729 "test_processes") 27576 "test_processes")
27730 " and not ")) 27577 " and not "))))
27731 #:phases
27732 #~(modify-phases %standard-phases
27733 (add-before 'build 'set-version
27734 (lambda _
27735 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
27736 (propagated-inputs 27578 (propagated-inputs
27737 (list python-aiohttp python-libarchive-c python-requests python-tqdm)) 27579 (list python-aiohttp python-libarchive-c python-requests python-tqdm))
27738 (native-inputs 27580 (native-inputs
@@ -28421,16 +28263,7 @@ Python 2 or 3.")
28421 ;; Requires geodatasets package. 28263 ;; Requires geodatasets package.
28422 " and not test_timedynamic_geo_json" 28264 " and not test_timedynamic_geo_json"
28423 ;; AssertionError. 28265 ;; AssertionError.
28424 " and not test_minimap")) 28266 " and not test_minimap"))))
28425 #:phases
28426 #~(modify-phases %standard-phases
28427 (add-before 'build 'pretend-version
28428 ;; The version string is usually derived via setuptools-scm,
28429 ;; but without the git metadata available, the version string
28430 ;; is set to '0.0.0'.
28431 (lambda _
28432 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
28433 #$(package-version this-package)))))))
28434 (propagated-inputs 28267 (propagated-inputs
28435 (list python-branca 28268 (list python-branca
28436 python-jinja2 28269 python-jinja2
@@ -29639,13 +29472,6 @@ we can stop writing custom parsers for syslog-type records.")
29639 (sha256 29472 (sha256
29640 (base32 "0vfakncq87s6g67mqihjf32xarphd75c03ammvgavladz0pqhlg4")))) 29473 (base32 "0vfakncq87s6g67mqihjf32xarphd75c03ammvgavladz0pqhlg4"))))
29641 (build-system pyproject-build-system) 29474 (build-system pyproject-build-system)
29642 (arguments
29643 (list
29644 #:phases
29645 #~(modify-phases %standard-phases
29646 (add-after 'unpack 'set-version
29647 (lambda _
29648 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
29649 (propagated-inputs (list python-json-logger)) 29475 (propagated-inputs (list python-json-logger))
29650 (native-inputs (list python-mock python-pytest python-setuptools 29476 (native-inputs (list python-mock python-pytest python-setuptools
29651 python-setuptools-scm)) 29477 python-setuptools-scm))
@@ -29882,13 +29708,6 @@ information for your operating system.")
29882 (sha256 29708 (sha256
29883 (base32 "1wkgbwr0hdvafbhbqjibca06rxqbp95gg6rfd3ba6rkgl4g85i5z")))) 29709 (base32 "1wkgbwr0hdvafbhbqjibca06rxqbp95gg6rfd3ba6rkgl4g85i5z"))))
29884 (build-system pyproject-build-system) 29710 (build-system pyproject-build-system)
29885 (arguments
29886 (list
29887 #:phases
29888 #~(modify-phases %standard-phases
29889 (add-after 'unpack 'set-version
29890 (lambda _
29891 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
29892 (propagated-inputs 29711 (propagated-inputs
29893 (list python-canonicaljson 29712 (list python-canonicaljson
29894 python-pynacl 29713 python-pynacl
@@ -30104,13 +29923,6 @@ happened, and what caused it.")
30104 (sha256 29923 (sha256
30105 (base32 "01x14j1pliyxvcx8hlwlwfchn893ddkxxpxbyqhyh6hjyag2ammd")))) 29924 (base32 "01x14j1pliyxvcx8hlwlwfchn893ddkxxpxbyqhyh6hjyag2ammd"))))
30106 (build-system pyproject-build-system) 29925 (build-system pyproject-build-system)
30107 (arguments
30108 (list
30109 #:phases
30110 #~(modify-phases %standard-phases
30111 (add-after 'unpack 'set-version
30112 (lambda _
30113 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
30114 (native-inputs 29926 (native-inputs
30115 (list nss-certs-for-test 29927 (list nss-certs-for-test
30116 python-certifi 29928 python-certifi
@@ -30277,9 +30089,6 @@ cryptographically signed ones).")
30277 (list 30089 (list
30278 #:phases 30090 #:phases
30279 #~(modify-phases %standard-phases 30091 #~(modify-phases %standard-phases
30280 (add-after 'unpack 'set-version
30281 (lambda _
30282 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
30283 (add-after 'unpack 'relax-requirements 30092 (add-after 'unpack 'relax-requirements
30284 (lambda _ 30093 (lambda _
30285 (delete-file "pytest.ini") 30094 (delete-file "pytest.ini")
@@ -33080,13 +32889,6 @@ worry whether all dependencies that use LooseVersion have migrated.")
33080 (sha256 32889 (sha256
33081 (base32 "07a1gkvc5p3qi55vczhicz3k5bs1c6jdkw6vrrnxrygg357fabh5")))) 32890 (base32 "07a1gkvc5p3qi55vczhicz3k5bs1c6jdkw6vrrnxrygg357fabh5"))))
33082 (build-system pyproject-build-system) 32891 (build-system pyproject-build-system)
33083 (arguments
33084 (list
33085 #:phases
33086 #~(modify-phases %standard-phases
33087 (add-before 'build 'set-version
33088 (lambda _
33089 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
33090 (native-inputs 32892 (native-inputs
33091 (list python-pytest 32893 (list python-pytest
33092 python-setuptools 32894 python-setuptools
@@ -33289,14 +33091,7 @@ a Python program in an customizable and pythonic way.")
33289 (sha256 33091 (sha256
33290 (base32 "030lncdmrcvzgp8v1jw04snnplqxlwf3vikzd0a3jbk5sgrp2cih")))) 33092 (base32 "030lncdmrcvzgp8v1jw04snnplqxlwf3vikzd0a3jbk5sgrp2cih"))))
33291 (build-system pyproject-build-system) 33093 (build-system pyproject-build-system)
33292 (arguments 33094 ;; tests: 15102 passed, 36 skipped, 5489 warnings
33293 (list
33294 ;; tests: 15102 passed, 36 skipped, 5489 warnings
33295 #:phases
33296 #~(modify-phases %standard-phases
33297 (add-after 'unpack 'set-version
33298 (lambda _
33299 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
33300 (native-inputs 33095 (native-inputs
33301 (list python-lxml 33096 (list python-lxml
33302 python-pytest 33097 python-pytest
@@ -33326,6 +33121,7 @@ spreadsheet), CSV, TSV, XLS, XLSX (Microsoft Excel spreadsheet), and YAML.")
33326 (inherit python-csb43) 33121 (inherit python-csb43)
33327 (name "python-csb43") 33122 (name "python-csb43")
33328 (version "0.10.1") 33123 (version "0.10.1")
33124 ;; tests: 15493 passed, 37 skipped, 7447 warnings
33329 (source 33125 (source
33330 (origin 33126 (origin
33331 (method git-fetch) 33127 (method git-fetch)
@@ -33334,15 +33130,7 @@ spreadsheet), CSV, TSV, XLS, XLSX (Microsoft Excel spreadsheet), and YAML.")
33334 (commit version))) 33130 (commit version)))
33335 (file-name (git-file-name name version)) 33131 (file-name (git-file-name name version))
33336 (sha256 33132 (sha256
33337 (base32 "0frxcclz7scpndrr7ygqy6k41bcwgwam26yk7n1cnwyim2wkaykd")))) 33133 (base32 "0frxcclz7scpndrr7ygqy6k41bcwgwam26yk7n1cnwyim2wkaykd"))))))
33338 (arguments
33339 (list
33340 ;; tests: 15493 passed, 37 skipped, 7447 warnings
33341 #:phases
33342 #~(modify-phases %standard-phases
33343 (add-after 'unpack 'set-version
33344 (lambda _
33345 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))))
33346 33134
33347(define-public python-febelfin-coda 33135(define-public python-febelfin-coda
33348 (package 33136 (package
@@ -33702,13 +33490,7 @@ Python @code{set} interface.")
33702 "--deselect=src/orgparse/tests/test_data.py::test_data[01_attributes]" 33490 "--deselect=src/orgparse/tests/test_data.py::test_data[01_attributes]"
33703 "--deselect=src/orgparse/tests/test_data.py::test_data[03_repeated_tasks]" 33491 "--deselect=src/orgparse/tests/test_data.py::test_data[03_repeated_tasks]"
33704 "--deselect=src/orgparse/tests/test_data.py::test_data[04_logbook]" 33492 "--deselect=src/orgparse/tests/test_data.py::test_data[04_logbook]"
33705 "--deselect=src/orgparse/tests/test_misc.py::test_level_0_timestamps") 33493 "--deselect=src/orgparse/tests/test_misc.py::test_level_0_timestamps")))
33706 #:phases
33707 #~(modify-phases %standard-phases
33708 (add-after 'unpack 'set-version
33709 (lambda _
33710 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
33711 #$version))))))
33712 (native-inputs (list python-hatchling python-hatch-vcs python-pytest)) 33494 (native-inputs (list python-hatchling python-hatch-vcs python-pytest))
33713 (home-page "https://github.com/karlicoss/orgparse") 33495 (home-page "https://github.com/karlicoss/orgparse")
33714 (synopsis "Emacs Org mode parser in Python") 33496 (synopsis "Emacs Org mode parser in Python")
@@ -34816,13 +34598,6 @@ other.")
34816 (sha256 34598 (sha256
34817 (base32 "06hagzg8ccmjzqvszdxb52jgx5il8a1jdz41n4dpkyyjsfg7fi2b")))) 34599 (base32 "06hagzg8ccmjzqvszdxb52jgx5il8a1jdz41n4dpkyyjsfg7fi2b"))))
34818 (build-system pyproject-build-system) 34600 (build-system pyproject-build-system)
34819 (arguments
34820 (list
34821 #:phases
34822 #~(modify-phases %standard-phases
34823 (add-before 'build 'set-version
34824 (lambda _
34825 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
34826 (native-inputs 34601 (native-inputs
34827 (list python-setuptools-scm 34602 (list python-setuptools-scm
34828 python-pytest 34603 python-pytest
@@ -34922,12 +34697,7 @@ written in C.")
34922 ;; FileNotFoundError: [Errno 2] No such file or directory: 'time' 34697 ;; FileNotFoundError: [Errno 2] No such file or directory: 'time'
34923 "--deselect=tests/test_scooby.py::test_import_time" 34698 "--deselect=tests/test_scooby.py::test_import_time"
34924 ;; Errored 34699 ;; Errored
34925 "--deselect=tests/test_scooby.py::test_cli") 34700 "--deselect=tests/test_scooby.py::test_cli")))
34926 #:phases
34927 #~(modify-phases %standard-phases
34928 (add-after 'unpack 'set-version
34929 (lambda _
34930 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
34931 (native-inputs 34701 (native-inputs
34932 (list python-beautifulsoup4 34702 (list python-beautifulsoup4
34933 python-numpy 34703 python-numpy
@@ -39089,13 +38859,6 @@ parsing UK postcodes.")
39089 (sha256 38859 (sha256
39090 (base32 "0m1sixmqynlalsw50af5mv5q4gpz2052d1p2ig9hr7yqmdvqcz6p")))) 38860 (base32 "0m1sixmqynlalsw50af5mv5q4gpz2052d1p2ig9hr7yqmdvqcz6p"))))
39091 (build-system pyproject-build-system) 38861 (build-system pyproject-build-system)
39092 (arguments
39093 (list
39094 #:phases
39095 #~(modify-phases %standard-phases
39096 (add-after 'unpack 'set-version
39097 (lambda _
39098 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
39099 (native-inputs 38862 (native-inputs
39100 (list python-freezegun 38863 (list python-freezegun
39101 python-hatch-fancy-pypi-readme 38864 python-hatch-fancy-pypi-readme
@@ -39339,12 +39102,7 @@ multiple Unicode code points, e.g. \"G\" + acute-accent)
39339 (build-system pyproject-build-system) 39102 (build-system pyproject-build-system)
39340 (arguments 39103 (arguments
39341 (list 39104 (list
39342 #:tests? #f ;requires network 39105 #:tests? #f)) ;requires network
39343 #:phases
39344 #~(modify-phases %standard-phases
39345 (add-after 'unpack 'set-version
39346 (lambda _
39347 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
39348 (native-inputs 39106 (native-inputs
39349 (list python-setuptools 39107 (list python-setuptools
39350 python-setuptools-scm)) 39108 python-setuptools-scm))
@@ -39717,12 +39475,7 @@ which make common patterns shorter and easier.")
39717 #:test-flags 39475 #:test-flags
39718 ;; Test is time based: AssertionError: 13987034766.015247 != 39476 ;; Test is time based: AssertionError: 13987034766.015247 !=
39719 ;; 13987034766.01471 within 3 places (0.000537872314453125 difference) 39477 ;; 13987034766.01471 within 3 places (0.000537872314453125 difference)
39720 #~(list "--deselect=test/test_uuid6.py::UUIDTests::test_time") 39478 #~(list "--deselect=test/test_uuid6.py::UUIDTests::test_time")))
39721 #:phases
39722 #~(modify-phases %standard-phases
39723 (add-after 'unpack 'set-version
39724 (lambda _
39725 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
39726 (native-inputs 39479 (native-inputs
39727 (list python-pytest 39480 (list python-pytest
39728 python-setuptools 39481 python-setuptools
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index eb9bccfc5d0..2d6e4354b0c 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -2223,12 +2223,7 @@ modes:
2223 (inputs 2223 (inputs
2224 (list python-numpy python-pyqt-6 python-pyserial python-scipy)) 2224 (list python-numpy python-pyqt-6 python-pyserial python-scipy))
2225 (arguments 2225 (arguments
2226 (list #:tests? #f 2226 (list #:tests? #f))
2227 #:phases
2228 #~(modify-phases %standard-phases
2229 (add-after 'unpack 'set-version
2230 (lambda _
2231 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
2232 (home-page "https://github.com/NanoVNA-Saver/nanovna-saver") 2227 (home-page "https://github.com/NanoVNA-Saver/nanovna-saver")
2233 (synopsis "GUI for NanoVNA devices") 2228 (synopsis "GUI for NanoVNA devices")
2234 (description 2229 (description
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 7af7a88f6e1..ee3e9ec09bc 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1386,12 +1386,7 @@ enabled web server.")
1386 ;; website. 1386 ;; website.
1387 #~(list "--deselect=tests/test_sphinx_autodoc_typehints.py::test_format_annotation" 1387 #~(list "--deselect=tests/test_sphinx_autodoc_typehints.py::test_format_annotation"
1388 ;; Assertions are not equal. 1388 ;; Assertions are not equal.
1389 "--deselect=tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union") 1389 "--deselect=tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union")))
1390 #:phases
1391 #~(modify-phases %standard-phases
1392 (add-before 'build 'set-version
1393 (lambda _
1394 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
1395 (native-inputs 1390 (native-inputs
1396 (list python-hatch-vcs 1391 (list python-hatch-vcs
1397 python-hatchling 1392 python-hatchling
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 0e8076b34b4..bd765cf12d5 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -887,13 +887,6 @@ need OpenSSH binaries to be installed.")
887 (sha256 887 (sha256
888 (base32 "1igcjjsaa2x4zbdwzrybv077kghjair3ighs9jdmgsa7wj66pcaf")))) 888 (base32 "1igcjjsaa2x4zbdwzrybv077kghjair3ighs9jdmgsa7wj66pcaf"))))
889 (build-system pyproject-build-system) 889 (build-system pyproject-build-system)
890 (arguments
891 (list
892 #:phases
893 #~(modify-phases %standard-phases
894 (add-before 'build 'set-version
895 (lambda _
896 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
897 (native-inputs 890 (native-inputs
898 (list python-importlib-metadata 891 (list python-importlib-metadata
899 python-mock-ssh-server 892 python-mock-ssh-server
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 533c7e1880c..78fa46a20e1 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -7680,12 +7680,7 @@ Instagram and YouTube.")
7680 ;; exit status 2. 7680 ;; exit status 2.
7681 "--deselect=tests/test_linkchecker.py::TestLinkchecker::test_linkchecker" 7681 "--deselect=tests/test_linkchecker.py::TestLinkchecker::test_linkchecker"
7682 ;; FileNotFoundError: [Errno 2] No such file or directory: 'msgfmt' 7682 ;; FileNotFoundError: [Errno 2] No such file or directory: 'msgfmt'
7683 "--deselect=tests/test_po.py::TestPo::test_pos") 7683 "--deselect=tests/test_po.py::TestPo::test_pos")))
7684 #:phases
7685 #~(modify-phases %standard-phases
7686 (add-after 'unpack 'set-version
7687 (lambda _
7688 (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
7689 (native-inputs 7684 (native-inputs
7690 (list python-hatch-vcs 7685 (list python-hatch-vcs
7691 python-hatchling 7686 python-hatchling