1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-28 21:20:29 +02:00
Commit Graph

185084 Commits

Author SHA1 Message Date
Nicolas Graves
453af449ef gnu: zulip-term: Drop phase 'fix-pytest-config.
* gnu/packages/messaging.scm (zulip-term)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: I7198151577706405858346cde4b6a0ad9373effe
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:54 +01:00
Nicolas Graves
791c827e40 gnu: python-graphviz: Refresh phase 'fix-pytest-config.
* gnu/packages/bioinformatics.scm (python-graphviz)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Ifbe98cc5a16da38bfac388a37c0cb5c2e7ffb78d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:54 +01:00
Nicolas Graves
fc11b4cee1 gnu: cpplint: Drop phase 'fix-pytest-config.
* gnu/packages/cpp.scm (cpplint)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: I64bb7e3079947fadc76f9965480e4c4098ae9485
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:54 +01:00
Nicolas Graves
ea0d6eb43f gnu: python-cooler: Drop phase 'fix-pytest-config.
* gnu/packages/bioinformatics.scm (python-cooler)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: Iddad5557655691c11ded0f0a20b1f23b7791b896
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:54 +01:00
Nicolas Graves
45b2c1f3f2 gnu: gdc-client: Drop phase 'fix-pytest-config.
* gnu/packages/bioinformatics.scm (gdc-client)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: I12f5dd5306a4c6d562d03b48837bf4bc1ae8ddda
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:54 +01:00
Nicolas Graves
ad3701a317 gnu: python-pandas-flavor: Improve python-pytest-cov removal.
* gnu/packages/python-science.scm (python-pandas-flavor)[arguments]:
Drop them.

Change-Id: I3c83750eeb95b755c6160fc10b0d34cb8fd9a465
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:54 +01:00
Nicolas Graves
ab003894f6 gnu: python-cdflib: Drop phase 'fix-pytest-config.
* gnu/packages/astronomy.scm (python-cdflib)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: Ife876d242ed3fe602203ee675d158bc4f174c735
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:53 +01:00
Nicolas Graves
4ce2acc39f gnu: python-qtpy: Remove phases argument.
* gnu/packages/qt.scm (python-qtpy)[arguments]<#:phases>: Drop them.

Change-Id: Idc0c8e1064d596fda250fca6ea811597e6901034
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:53 +01:00
Nicolas Graves
4148c2d4bb gnu: python-distributed: Drop phase 'fix-pytest-config.
* gnu/packages/python-science.scm (python-distributed)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Id5312389fdca9f9a456163d649084ef69e1d6a33
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:53 +01:00
Nicolas Graves
0a5849cb47 gnu: python-dask: Drop phase 'fix-pytest-config.
* gnu/packages/python-science.scm (python-dask)[arguments]<#:phases>:
 Drop phase 'fix-pytest-config.

Change-Id: I6eea2cf2b1685b0fdb61afb6c55cda2605056ff1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:53 +01:00
Nicolas Graves
7316f1b13a gnu: python-blurhash: Drop arguments.
* gnu/packages/python-crypto.scm (python-blurhash)[arguments]:
Drop them.

Change-Id: Ib46376553e09b0bdfaa4469f6df6bb0985760a42
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:53 +01:00
Nicolas Graves
9f23012d15 gnu: mbed-tools: Drop phases.
* gnu/packages/embedded.scm (mbed-tools)[arguments]<#:phases>: Drop
them, they are not required anymore.

Change-Id: I470d9ecae2e86defcb144f8c759fd7db819f44f0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:53 +01:00
Nicolas Graves
05a199bca7 gnu: python-mt-940: Drop arguments.
* gnu/packages/finance.scm (python-mt-940)[arguments]: Drop them.

Change-Id: Id379f1477727a30779f5c6d883c8b9636f839dd9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:53 +01:00
Nicolas Graves
bb02fb812f gnu: python-libtmux: Improve python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-libtmux):
[arguments]<#:test-flags>: Use -o instead of -c flag.

Change-Id: Id61657fffe36561954660f561fdf08ca3bdd346b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:53 +01:00
Nicolas Graves
9564e7be42 gnu: python-multidict: Improve python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-multidict):
[arguments] <#:phases>: Drop phase 'fix-pytest-config.
<#:test-flags>: Adapt accordingly.

Change-Id: Iff6ce80523e20dcec92eba70f7ede010d7199054
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:52 +01:00
Nicolas Graves
73a4ba53ac gnu: python-propcache: Improve python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-propcache):
[arguments] <#:phases>: Drop phase 'avoid-pytest-cov-preload.
<#:test-flags>: Adapt accordingly.

Change-Id: I55eadb85860b06bf0567d59d4474c6235741983d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:52 +01:00
Nicolas Graves
1a46a3ce07 gnu: python-aiohttp: Improve python-pytest-cov removal.
* gnu/packages/python-web.scm (python-aiohttp):
[arguments] <#:phases>: Drop phase 'fix-pytest-config.
<#:test-flags>: Adapt accordingly.

Change-Id: I2f2710fd72b2d9c94da4716863c213a8906fe05e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:52 +01:00
Nicolas Graves
31bee5da37 gnu: python-frozenlist: Improve python-pytest-cov removal.
* gnu/packages/python-web.scm (python-frozenlist):
[arguments]<#:test-flags>: Override the problematic option instead of
the whole file.

Change-Id: I06226a457d4a6ad562335141e20fd15cc39a47b4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:52 +01:00
Nicolas Graves
308491b20a gnu: python-cftime: Cleanup python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-cftime):
[arguments]<#:phases>: Drop them.

Change-Id: I25c102e09412686ff26ffeae18128b5cce4cc251
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:52 +01:00
Nicolas Graves
e27f96d587 gnu: python-vsg: Remove pytest plugin inputs.
* gnu/packages/electronics.scm (python-vsg)
[arguments]<#:phases>: Drop modifications.
[inputs]: Remove python-pytest-cov and python-pytest-html, add
python-pytest.

Change-Id: I9d8519112b301a1245634746ee678be0e835cf8a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:52 +01:00
Nicolas Graves
3a96221c79 build-system/pyproject: Ignore selected pytest inputs.
This commit includes squashed changes from
https://codeberg.org/guix/guix/pulls/7220 and
https://codeberg.org/guix/guix/pulls/7338.

* gnu/packages/aux-files/python/pytest_guix.py: New file.
* Makefile.am: Record it.
* guix/build/pyproject-build-system.scm (check): Preload pytest_guix
plugin when available.
* guix/build-system/pyproject.scm (default-pytest-guix-plugin): New
package, generated from pytest_guix.py.
(lower): Add python-pytest-guix argument, and inject it if
python-pytest is in the native-inputs.

Change-Id: I13263b461e9962aad340347657b9c9685db63927
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:52 +01:00
Nicolas Graves
4ae394522c gnu: python-loguru: Remove python-pytest-mypy-plugins.
* gnu/packages/python-xyz.scm (python-loguru)
[arguments]: Add in {test-flags} to skip the concerned test file.
[native-inputs]: Remove python-pytest-mypy-plugins.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:51 +01:00
Nicolas Graves
39ca6bade6 build-system/pyproject: Stop hiding options.
* gnu/packages/python-crypto.scm (python-keyring)
[arguments]<#:test-flags>: Remove arguments hiding coverage options.

* gnu/packages/python-web.scm (python-asgi-lifespan,
python-openapi-schema-validator, python-openapi-spec-validator,
python-openapi-core)[arguments]<#:test-flags>: Remove arguments hiding
coverage options.
(python-openapi-schema-validator, python-openapi-spec-validator)
[arguments]<#:phases>: Remove 'remove-coverage-pytest-options phase.
(python-cssselect2)[arguments]: Remove uneeded field.
(python-quart)[arguments]: Remove uneeded field.
(python-jsonpickle)[arguments]<#:test-flags>: Remove uneeded
test-flags.

* gnu/packages/python-xyz.scm (python-cattrs)
[arguments]<#:phases>: Remove arguments hiding coverage options.
(python-blessed)[arguments]: Remove uneeded field.

python-pytest-cov remove option

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:51 +01:00
Nicolas Graves
50a474d080 build-system/pyproject: Remove python-pytest-mypy inputs.
* gnu/packages/check.scm (python-pytest-perf)[native-inputs]: Remove
python-pytest-mypy.

* gnu/packages/python-xyz.scm (python-portalocker)
[native-inputs]: Remove python-pytest-mypy.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:51 +01:00
Nicolas Graves
de8798eaf1 build-system/pyproject: Remove python-pytest-flake8 native-input.
* gnu/packages/bioinformatics.scm (python-muon)
* gnu/packages/check.scm (python-pytest-perf)
* gnu/packages/dav.scm (radicale)
* gnu/packages/debug.scm (c-vise)
[native-inputs]: Remove python-pytest-flake8.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:51 +01:00
Nicolas Graves
aa6bb28e02 gnu: radicale: Remove python-pytest-isort native-input.
* gnu/packages/dav.scm (radicale)
[native-inputs]: Remove python-pytest-isort.

python-pytest-isort

Change-Id: I2d684c42d66183bd3e9e6f6281210cdcfd3b11b5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:51 +01:00
Nicolas Graves
9160351b94 build-system/pyproject: Remove python-pytest-cov native-input.
* gnu/packages/astronomy.scm (python-wiimatch)
* gnu/packages/audio.scm (python-resampy, python-librosa)
* gnu/packages/backup.scm (borgmatic)
* gnu/packages/bioinformatics.scm
(python-bed-reader, python-pysnptool, python-pairtools)
* gnu/packages/check.scm (python-pytest-nunit, python-pytest-perf)
* gnu/packages/dav.scm (vdirsyncer, radicale)
* gnu/packages/django.scm (python-django-redis)
* gnu/packages/engineering.scm (python-scikit-rf)
* gnu/packages/fediverse.scm (python-mastodon-py)
* gnu/packages/fontutils.scm (psautohint)
* gnu/packages/geo.scm (python-pyogrio)
* gnu/packages/graphviz.scm (python-uqbar)
* gnu/packages/jupyter.scm (python-jupyterlab-server python-nbclient,
python-jupyterlite-core, python-ipydatawidgets)
* gnu/packages/machine-learning.scm
(python-pymanopt, python-tensorly, python-torchmetrics)
* gnu/packages/maths.scm (python-libensemble)
* gnu/packages/music.scm (stargate)
* gnu/packages/python-check.scm (python-atpublic, python-vcrpy)
* gnu/packages/python-compression.scm (python-zipstream-ng)
* gnu/packages/python-science.scm (python-plotnine,
python-pandaparallel, python-pyts, python-pingouin)
* gnu/packages/python-web.scm (python-devpi-process, python-cheroot)
(python-jsonpickle, python-flask-babel, python-url-normalize)
(python-elasticsearch, python-hupper, python-simple-websocket)
(python-apiron, python-huggingface-hub, python-aiosignal, python-ovh)
(python-cbor2, python-zeep, hypercorn, python-warcio)
(python-aioftp, python-oauthlib, python-tinycss2, python-cssselect2)
(python-httpcore, python-wsgiprox, python-venusian, gunicorn)
* gnu/packages/python-xyz.scm (python-janus, python-affine)
(python-contourpy, python-echo, python-rasterio, python-rich-tables)
(python-babel, python-pymarshal, python-portalocker)
(python-expandvars, python-mizani, python-cligj, autokey)
(python-robotframework-pythonlibcore, python-lsp-jsonrpc)
(python-numpydoc, python-pillow, python-manimpango)
(python-cairocffi, python-pubmed-parser, python-sentry-sdk)
(python-prettytable, python-sniffio, python-ipywidgets)
(python-pyproject-api, python-pymemcache, python-async-lru)
(python-numcodecs, python-mwclient, python-cmd2, python-pyan3)
(python-platformdirs, python-multipart, python-shtab, python-scooby)
* gnu/packages/rdf.scm (python-rdflib-6)
* gnu/packages/simulation.scm (python-fenics-dijitso)
* gnu/packages/sphinx.scm (python-sphinx-design)
* gnu/packages/statistics.scm (python-patsy, python-rchitect)
* gnu/packages/task-management.scm (todoman)
* gnu/packages/vpn.scm (sshuttle)
* gnu/packages/web.scm (anonip, python-tibanna)
[native-inputs]: Remove python-pytest-cov.

Change-Id: I32f027794e90333c27fdff5871180779f603846c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:51 +01:00
Nicolas Graves
fd03f11cb7 gnu: python-pytest-perf: Remove python-pytest-black native-input.
* gnu/packages/check.scm (python-pytest-perf)
[native-inputs]: Remove python-pytest-black.

Change-Id: I46a98d059577c366699c634514f1cb364437aca0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:50 +01:00
Nicolas Graves
64c2e5e9d0 gnu: python-wcwidth: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-wcwidth)
[native-inputs]: Remove python-pytest-cov, python-wheel.
[description]: Improve style.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:50 +01:00
Nicolas Graves
4e2625c4f9 gnu: python-watchdog: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-watchdog)
[native-inputs]: Remove python-pytest-cov, python-pytest-timeout.
[description]: Improve style.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:50 +01:00
Nicolas Graves
b549fa3507 gnu: python-numcodecs: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-numcodecs)
[native-inputs]: Remove python-pytest-cov, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:49 +01:00
Nicolas Graves
55d158f776 gnu: python-semver: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-semver)
[native-inputs]: Remove python-pytest-cov, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:49 +01:00
Nicolas Graves
b121e64fcb gnu: python-numpydoc: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-numpydoc)
[native-inputs]: Remove python-pytest-cov and python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:49 +01:00
Nicolas Graves
77ffd25fd8 gnu: python-anytree: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-anytree)[native-inputs]:
Remove python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:49 +01:00
Nicolas Graves
96e8398401 gnu: python-socksio: Remove python-pytest-cov input.
* gnu/packages/python-web.scm (python-socksio)[native-inputs]: Remove
python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:49 +01:00
Nicolas Graves
c65c335437 gnu: python-waitress: Remove python-pytest-cov input.
* gnu/packages/python-web.scm (python-waitress)
[native-inputs]: Remove python-coverage, python-pytest-cov,
python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:49 +01:00
Nicolas Graves
e5b292433f gnu: python-cbor2: Remove python-pytest-cov input.
* gnu/packages/python-web.scm (python-cbor2)[native-inputs]:
Rmove python-pytest-cov, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:49 +01:00
Nicolas Graves
446988855c gnu: python-test2ref: Remove python-pytest-cov input.
* gnu/packages/python-check.scm (python-test2ref
[native-inputs]: Remove python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:48 +01:00
Nicolas Graves
2c624316ea gnu: python-stdnum: Remove python-pytest-cov input.
* gnu/packages/finance.scm (python-stdnum)[native-inputs]:
Remove python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:48 +01:00
Nicolas Graves
db8e712178 gnu: python-arrow: Remove python-pytest-cov requirement.
* gnu/packages/time.scm (python-arrow)[native-inputs]: Remove
python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:48 +01:00
Nicolas Graves
10be8f8a15 gnu: python-propcache: Remove python-pytest-cov requirement.
* gnu/packages/python-web.scm (python-propcache)[arguments]<#:phases>:
Add phase 'avoid-pytest-cov-preload.
[native-inputs]: Remove python-covdefaults, python-pytest-cov,
python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:48 +01:00
Nicolas Graves
0d9a0c120b gnu: python-yarl: Remove python-pytest-cov requirement.
* gnu/packages/python-web.scm (python-yarl)[arguments]<#:phases>: Add
phase 'avoid-pytest-cov-preload.
[native-inputs]: Remove python-covdefaults, python-pytest-cov,
python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:48 +01:00
Nicolas Graves
3a9b85ce6e gnu: python-aiosignal: Remove python-pytest-cov requirement.
* gnu/packages/python-web.scm (python-aiosignal)
[arguments]<#:phases>: Add phase 'avoid-pytest-cov-preload.
[native-inputs]: Remove python-pytest-cov, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:48 +01:00
Nicolas Graves
3c455915ed gnu: python-aiohappyeyeballs: Remove python-pytest-cov input.
* gnu/packages/python-web.scm (python-aiohappyeyeballs)
[native-inputs]: Remove python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:48 +01:00
Nicolas Graves
bac6d10c28 gnu: python-pycountry: Remove coverage input.
* gnu/packages/iso-codes.scm (python-pycountry)
[arguments]<#:phases>: Refresh phase 'fix-pytest-config.

Change-Id: I0ac06cc2d7835ae747a69b71df60374225ab40bd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:47 +01:00
Nicolas Graves
bcecf1b472 gnu: python-docstring-to-markdown: Remove uneeded native-inputs.
* gnu/packages/python-xyz.scm (python-docstring-to-markdown)
[arguments]: Remove field.

Change-Id: I7790a8a12ab60f366b6a7af9a53aca6208e19eee
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:47 +01:00
Nguyễn Gia Phong
53f18b563c gnu: Remove phase done by set-version in pyproject-build-system.
* gnu/packages/astronomy.scm (python-kanon)[arguments]<#:phases>:
  Remove 'relax-requirements and 'set-version.
  (python-stpipe)[arguments]<#:phases>:
  Remove 'set-version.
* gnu/packages/machine-learning.scm
  (python-botorch)[arguments]<#:phases>: Remove 'pretend-version.
* gnu/packages/openstack.scm
  (python-os-testr, python-requestsexceptions)[arguments]<#:phases>:
  Remove 'set-version.
* gnu/packages/package-management.scm
  (python-conda-libmamba-solver)[arguments]<#:phases>:
  Remove 'set-version.
* gnu/packages/patchutils.scm (pwclient)[arguments]<#:phases>:
  Remove 'set-PBR_VERSION.
* gnu/packages/python-check.scm
  (python-aioresponses)[arguments]<#:phases>: Remove 'set-pbr-version.
* gnu/packages/python-science.scm
  (python-modin, python-plotly, python-pytensor)[arguments]<#:phases>:
  Remove 'versioneer.
  (snakemake-5, snakemake-6, snakemake-7)[arguments]<#:phases>:
  Remove 'patch-version.
* gnu/packages/python-web.scm (python-alpaca-py)[arguments]<#:phases>:
  Remove 'set-version.
* gnu/packages/python-xyz.scm
  (python-logical-unification)[arguments]<#:phases>:
  Remove 'versioneer.
  (python-debugpy, python-strenum)[arguments]<#:phases>:
  Remove 'fix-version.
  (python-qstylizer)[arguments]<#:phases>: Remove 'set-pbr-version.
  (python-retry)[arguments]<#:phases>: Remove 'set-version.
* gnu/packages/statistics.scm (python-pymc)[arguments]<#:phases>:
  Remove 'versioneer.

Change-Id: I7b4557c576730e47575305f4f03bfe2523412c6c
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:47 +01:00
Nguyễn Gia Phong
cf95303a49 build: pyproject: set-version: Support more backends.
hatch-vcs also uses the SETUPTOOLS_SCM_PRETEND_VERSION
environment variable, while poetry-dynamic-versioning uses
POETRY_DYNAMIC_VERSIONING_BYPASS.  versioneer, on the other hand,
read from the Python package's ._version.get_versions().

The version scheme for Python packaging is not the same as
(nor compatible with) that of semantic version,
hence stop mentioning the latter in the docstring and comments.

When no relevant Python build backend is detected, regardless
if the source has been obtained from a VCS checkout, it is confusing
to mention any of the backends as unnecessary as a native input.
Moreover, unlike the hatch-vcs, poetry-dynamic-versioning
and setuptools-scm that works transparently with the build backend,
pbr and versioneer are required for building.
The output of the set-version phase has been adjusted accordingly.

* guix/build/pyproject-build-system.scm (set-version):
  Add support for python-hatch-vcs.  Clarify docstring.
  Log the explicit reason for noop cases.

References: https://github.com/ofek/hatch-vcs#version-source-environment-variables
References: https://github.com/mtkennerly/poetry-dynamic-versioning#environment-variables
References: https://github.com/python-versioneer/python-versioneer
References: https://docs.openstack.org/pbr/latest/user/packagers.html#versioning
References: https://packaging.python.org/en/latest/specifications/version-specifiers

Change-Id: I8f499856cb6b026539c96fb828e450a40ba10b79
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:47 +01:00
Nguyễn Gia Phong
44b1ef5971 gnu: python-versioneer: Adjust patch.
* gnu/packages/patches/python-versioneer-guix-support.patch:
  Extract version from the environment variable
  instead of the parent directory name.

Change-Id: Ide050eeb8fbb82c29805fce74d891d62b7e707cb
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:41:47 +01:00
Sharlatan Hellseher
57762eb8de gnu: python-openstep-plist: Update to 0.5.2.
* gnu/packages/python-xyz.scm (python-openstep-plist): Update to 0.5.2.
[native-inputs]: Remove python-cython-0; add python-cython.

Change-Id: I8fa859a2ef0fd156c90773a5aced929b6335214c
2026-04-04 22:41:47 +01:00