Commit graph

1297 commits

Author SHA1 Message Date
Ricardo Wurmus
3f918321ad
gnu: python-prisma: Use Pydantic 2.
* gnu/packages/databases.scm (python-prisma)[propagated-inputs]: Replace
python-pydantic with python-pydantic-2.

Change-Id: I35016e36bab36d68caaa2a6833c2052ccd92d0b5
2025-02-27 09:59:50 +01:00
jgart
40e83f8f72
gnu: python-peewee: Update to 3.17.9.
* gnu/packages/databases.scm (python-peewee): Update to 3.17.9.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I9bf350fe9366b53963d244495b22f07883a69fb5
2025-02-20 12:51:56 -06:00
Efraim Flashner
66daf46b41
gnu: Fix some misspellings.
Change-Id: I316652aff7418af4b8e83bea24638b1513f8aa97
2025-02-19 11:21:47 +02:00
Sharlatan Hellseher
1ce964ef9c
gnu: python-dogpile-cache: Update to 1.3.4.
* gnu/packages/databases.scm (python-dogpile-cache): Update to 1.3.4.
[build-system]: Swap to pyproject-build-system.
[propagated-inputs]: Add python-typing-extensions.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I782c7697b845c6fb446e49aafb52d34ca824bf0c
2025-02-10 08:47:24 +00:00
Sharlatan Hellseher
8f49a27b36
gnu: python-dogpile.cache: Rename variable.
* gnu/packages/databases.scm: (python-dogpile.cache): Rename variable to
python-dogpile-cache.
* gnu/packages/openstack.scm (python-openstacksdk) [propagated-inputs]:
Replace python-dogpile.cache with python-dogpile-cache.

Change-Id: I015c9ec38c14f9899caba05e86ff3f1a03b5c4d5
2025-02-10 08:41:21 +00:00
Sharlatan Hellseher
75437dbb76
Merge remote-tracking branch 'origin/go-team'
Change-Id: I3672a7dc248a41b1a83e4c488523f62cf1806710
2025-01-26 20:55:06 +00:00
Felix Gruber
65b9bf2647
gnu: python-sqlite-utils: Update to 3.38.
* gnu/packages/databases.scm (python-sqlite-utils): Update to 3.38.

Change-Id: I16347a6b1cb6326d5aaad03a72c3d626477f9280
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-25 22:18:08 +00:00
Sharlatan Hellseher
4919b8aefb
gnu: go-github-com-couchbase-gomemcached: Move to golang-xyz.
* gnu/packages/databases.scm (go-github-com-couchbase-gomemcached): Move
from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I62b77bffa9f6e673ebcedc58599c7e2a0e827f4c
2025-01-22 21:49:44 +00:00
Sharlatan Hellseher
789c1cf9fc
gnu: go-github-com-couchbase-gomemcached: Update to 0.3.2.
* gnu/packages/databases.scm (go-github-com-couchbase-gomemcached): Update to 0.3.2.
[arguments] <test-flags>: Skip one tests.
<test-subdirs>: Limit to project root, some submodule requires BSL
licensed dependencies.
[propagated-inputs]: Add go-github-com-pkg-errors.

Change-Id: I661df8055f678f9f05add9785ab827ae11bd1b9e
2025-01-22 21:48:22 +00:00
Sharlatan Hellseher
c79fb232a9
gnu: go-github-com-gomodule-redigo: Move to golang-xyz.
* gnu/packages/databases.scm (go-github-com-gomodule-redigo): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I747da14647b1b32756b9f6a4dd0f840e908fcede
2025-01-21 23:47:52 +00:00
Sharlatan Hellseher
d4ba1e30e2
gnu: go-github-com-gomodule-redigo: Update to 1.9.2.
* gnu/packages/databases.scm (go-github-com-gomodule-redigo): Update to 1.9.2.
[arguments] <skip-build?>: No go files in project's root.
<import-path>: Set to project's root.
<unpack-path>: Remove as redundant.
<test-flags>: Skip all tests requiring redis CLI and running redis
service.
<phases>: Add 'remove-examples.
[native-inputs]: Remove redis.

Change-Id: Ia87d118ddebc712d7c91d83c3bb707271c86ec16
2025-01-21 23:47:52 +00:00
Sharlatan Hellseher
98f7346225
gnu: go-github-com-bradfitz-gomemcache: Move to golang-xyz.
* gnu/packages/databases.scm (go-github-com-bradfitz-gomemcache): Move
from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I0592af69046c5b9aa85f6a3ec0efc56ffe5f1004
2025-01-21 23:47:49 +00:00
Sharlatan Hellseher
98f1850f59
gnu: go-github-com-bradfitz-gomemcache: Update to 0.0.0-20230905024940-24af94b03874.
* gnu/packages/databases.scm (go-github-com-bradfitz-gomemcache): Update to 0.0.0-20230905024940-24af94b03874.
[source] <snippet>: Remove it as issue is resolved upstream.
[arguments] <skip-build?>: No go files in project's root.
<import-path>: Set to project's root.
<unpack-path>: Remove as redundant.

Change-Id: I64e002e6e76900f9299839e92fde2c22d3963368
2025-01-21 23:47:49 +00:00
Sharlatan Hellseher
52d33f6eff
gnu: Remove go-gopkg-in-mgo-v2.
Not in use by any other packages in Guix. Unmaintained according to
project's about, see <https://github.com/go-mgo/mgo/pull/574>.

* gnu/packages/databases.scm (go-gopkg-in-mgo-v2): Delete variable.

Change-Id: Idc1e064e20a3263fc62f478bf4fe69b7b39a4dcb
2025-01-21 23:47:47 +00:00
Sharlatan Hellseher
4f18939278
gnu: sqls: Fix build.
* gnu/packages/databases.scm (sqls): [arguments] <test-subdirs>: Exclude
"internal/handler" which requires database connection.

Change-Id: I470981f040d2a0dc08d91f1239bbb0eb5ee98b0f
2025-01-21 23:42:12 +00:00
Ricardo Wurmus
0e028beceb
gnu: python-psycopg: Update to 3.2.4.
* gnu/packages/databases.scm (python-psycopg): Update to 3.2.4.
[build-system]: Use pyproject-build-system.
[arguments]: Simplify phases; restore 'sanity-check.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Iec2949c7e01e0dff2893181c3a49e8e3a3319446
2025-01-20 21:38:02 +01:00
宋文武
5e1e8bc10d
gnu: python-alembic: Use python-sqlalchemy-2.
* gnu/packages/databases.scm (python-alembic)[propagated-inputs]:
Replace python-sqlalchemy with python-sqlalchemy-2.

Change-Id: I49ad961eac3bcba5eaee05083e5299f17a8fae33
2025-01-20 21:37:58 +01:00
Ricardo Wurmus
eee88d70aa
gnu: python-hiredis: Update to 3.1.0.
* gnu/packages/patches/python-hiredis-fix-header.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
* gnu/packages/databases.scm (python-hiredis): Update to 3.1.0.
[source]: Remove patch.
[arguments]: Remove.

Change-Id: I095c89329e4c42316398c7fccc86e1dee0affaea
2025-01-20 21:37:54 +01:00
宋文武
a6f6f5a993
gnu: Remove python-pyodbc-c.
Last updated 7 years ago, doesn't work with current python, with error:
  undefined symbol: PyUnicode_GetMax

* gnu/packages/databases.scm (python-pyodbc-c): Remove variable.

Change-Id: If51b6589c33129c7097e3219a4c96cb8d95a0edf
2025-01-20 21:37:52 +01:00
Ricardo Wurmus
355bdf406b
gnu: datasette: Update to 1.0a16.
* gnu/packages/databases.scm (datasette): Update to 1.0a16.
[arguments]: Enable almost all tests; remove phase 'relax-requirements.
[native-inputs]: Add nss-certs-for-test.

Change-Id: I0b23df8e3d2fadb007f1da21ee9a727228bde43c
2025-01-20 21:37:42 +01:00
Ricardo Wurmus
d9d77f7f98
gnu: python-pypika-tortoise: Add missing input.
* gnu/packages/databases.scm (python-pypika-tortoise)[native-inputs]: Add
python-setuptools.

Change-Id: Ibe96738292a0948cae2add596fe76ee349c9dfeb
2025-01-20 21:37:36 +01:00
gemmaro
2bec2b41af
gnu: python-pylibmc: Fix description.
* gnu/packages/databases.scm (python-pylibmc)[description]:
Fix Texinfo code markup.

Change-Id: I71cff32e5c2c739de26e0473d57f7fc13e669426
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2025-01-16 13:40:38 +08:00
Zheng Junjie
1ca065fe68
gnu: Add missing import.
This is a followup to 696d949dcc.

Change-Id: I27ab43de95f976fc255a3dc9f1b85e906b869e52
2024-12-22 22:39:01 +08:00
Antero Mejr
39ad9e546a
gnu: Add perl-test-postgresql.
* gnu/packages/databases.scm (perl-test-postgresql): New variable.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2024-12-22 13:12:33 +01:00
Antero Mejr
7c28b5bdb1
gnu: Add perl-sql-translator.
* gnu/packages/databases.scm (perl-sql-translator): New variable.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2024-12-22 13:12:32 +01:00
Antero Mejr
ed6b9449a1
gnu: Add perl-dbix-class-timestamp.
* gnu/packages/databases.scm (perl-dbix-class-timestamp): New variable.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2024-12-22 13:12:30 +01:00
Antero Mejr
57c38bb103
gnu: Add perl-dbix-class-dynamicdefault.
* gnu/packages/databases.scm (perl-dbix-class-dynamicdefault): New variable.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2024-12-22 13:12:28 +01:00
Antero Mejr
3463ab9048
gnu: Add perl-dbicx-testdatabase.
* gnu/packages/databases.scm (perl-dbicx-testdatabase): New variable.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2024-12-22 13:12:27 +01:00
Antero Mejr
2e91e486d5
gnu: Add perl-dbix-simple.
* gnu/packages/databases.scm (perl-dbix-simple): New variable.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2024-12-22 13:12:25 +01:00
Antero Mejr
efe027b1e0
gnu: Add perl-dbix-class-deploymenthandler.
* gnu/packages/databases.scm (perl-dbix-class-deploymenthandler): New
variable.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2024-12-22 13:12:21 +01:00
Sharlatan Hellseher
445eaccd76
gnu: python-adbc-driver-manager: Fix buld.
* gnu/packages/databases.scm (python-adbc-driver-manager):
[native-inputs]: Remove python-pytest; add python-setuptools and
python-wheel.

Change-Id: Idda91f087d8169185a02a61ae6b69d5668ae88b3
2024-12-16 13:18:11 +00:00
Ian Eure
356e0ce87f
gnu: python-sqlalchemy-2: Fix build.
* gnu/packages/databases.scm (python-sqlalchemy-2)[native-inputs]: Add
python-wheel.

Change-Id: Ie35026f3049f9103397979cc6d0b8b347584d92d
2024-12-15 19:55:55 +01:00
Sharlatan Hellseher
5aa4f67ed1
gnu: python-redis: Fix build.
* gnu/packages/databases.scm (python-redis)
[arguments]<test-flags>: Refactor with 'string-join' to simplify test
skip procedure.
<phases>: Remove 'relax-requirements.
[native-inputs]: Add python-pytest-cov.

Change-Id: I595dc2bfe856ebac834ac7a80ac3862126c6b284
2024-12-13 23:04:37 +00:00
Sharlatan Hellseher
ad9bb4c5bd
gnu: python-alembic: Update to 1.14.0.
* gnu/packages/databases.scm (python-alembic): Update to 1.14.0.
[arguments]<test-flags>: Skip 4 tests requiring latest python-pytz.
[propagated-inputs]: Add python-typing-extensions.
[native-inputs]: Remove python-pytest-cov; add python-pytest,
python-setuptools, and python-wheel.

Change-Id: Ife6a19416839ad1f94e912f926871db362ab820c
2024-12-13 21:01:42 +00:00
Sharlatan Hellseher
ee4d2d4b52
gnu: python-redis: Fix build.
* gnu/packages/databases.scm (python-redis)
[arguments]<test-flags>: Exclude one failing test.
[native-inputs]: Remove python-pytest-asyncio; add
python-pytest-asyncio-0.23.

Change-Id: I3660d61dfb6bad8311824c85a2ce7b28facd580b
2024-12-13 20:28:25 +00:00
Sharlatan Hellseher
037fbad3e6
gnu: python-pickleshare: Improve package style.
* gnu/packages/databases.scm (python-pickleshare)
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ib53f1d3232112cff000e7413446f42085e945ee9
2024-12-13 20:23:21 +00:00
Sharlatan Hellseher
8e5905025b
gnu: python-pymysql: Adjust inputs.
* gnu/packages/databases.scm (python-pymysql) [native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I56bdbb7f182308fc63a85f3f1868bc245597725d
2024-12-13 20:19:04 +00:00
Nicolas Graves
3c2943b621
gnu: build-system/pyproject: Add missing native-inputs.
* gnu/packages/bioinformatics.scm (python-ega-download-client)
[native-inputs]: Add python-setuptools and python-wheel.

* gnu/packages/databases.scm (datasette)[native-inputs]: Add
python-pip.

* gnu/packages/django.scm (python-django-localflavor,
python-django-contact-form)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/jupyter.scm (python-jupyterlab-server)[native-inputs]:
Add python-wheel.
(python-nbstripout)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/machine-learning.scm (python-captum,
python-linear-operator, python-gpytorch)[native-inputs]: Add
python-setuptools.

* gnu/packages/music.scm (abjad, abjad-ext-rmarkers,
abjed-ext-nauert, python-mutagen)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/package-management.scm
(python-conda-package-handling)[native-inputs]: Add python-setuptools
and python-wheel.
(conda)[native-inputs]: Add python-wheel.

* gnu/packages/python-check.scm (python-pyinstrument,
python-pytest-testmon, python-pytest-trio, python-nbval,
python-pytest-toolbox)[native-inputs]: Add python-setuptools and
python-wheel.
(python-nptyping)[native-inputs]: Add python-setuptools.

* gnu/packages/python-check.scm (python-dask-expr)[native-inputs]:
Add python-setuptools and python-wheel.

* gnu/packages/python-web.scm (parfive, python-aioftp, python-hupper,
python-sanic, python-mechanicalsoup, python-tinycss, python-aiostream,
python-cbor2, gunicorn)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/python-xyz.scm (python-apprise, python-jaraco-classes,
python-sparse, python-shtab, python-pyan3)[native-inputs]: Add
python-setuptools.
(python-jupytext, python-orderedmultidict, python-identify, python-nodeenv,
python-cfgv, python-zarr, python-multipart, python-nbconvert, python-cram,
python-immutables, python-numpydoc, python-cairosvg, python-unidecode,
python-black, python-multidict, python-mpv-jsonipc, python-humanize,
python-cmd2)[native-inputs]: Add python-setuptools and python-wheel.
(python-partd, python-dask, python-zarr)[native-inputs]: Add
python-wheel.
(python-nbconvert)[propagated-inputs]: Add texlive-etoolbox. Remove
duplicate textlive-jknapltx.
(python-isort)[native-inputs]: Add python-pip.

* gnu/packages/simulation.scm (python-fenics-dijitso)[native-inputs]:
Add python-setuptools and python-wheel.

* gnu/packages/sphinx.scm (python-pydata-sphinx-theme,
python-sphinx-autodoc-typehints)[native-inputs]: Add
python-setuptools.

* gnu/packages/syndication.scm (tuir)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/terminals.scm (python-halo)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/time.scm (python-arrow, python-dateutil)
[native-inputs]: Add python-setuptools and python-wheel.

* gnu/packages/version-control.scm (pre-commit)[native-inputs]: Add
python-setuptools and python-wheel.  Remove input labels.

* gnu/packages/virtualization.scm (python-qemu-qmp,
python-transient)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/xorg.scm (python-xcffib)[native-inputs]: Add
python-setuptools and python-wheel.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>

Change-Id: Id61cf8cdc47bd4c2871c0a9c8e9a5bfd51157df0
2024-12-13 20:18:58 +00:00
Nicolas Graves
426af5d4d3
gnu: python-alembic: Move to pyproject-build-system.
* gnu/packages/databases.scm (python-alembic):
  [build-system]: Move to pyproject-build-system.
  [arguments]: Remove field, now uneeded.

Change-Id: I5907ff84412d867d094aae5fb4daa8481eb7f30c
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:49 +00:00
Ricardo Wurmus
a2114bd514
gnu: python-mysqlclient: Add missing inputs.
* gnu/packages/databases.scm (python-mysqlclient)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Id0343382f1ef80b0299641e2b588e1687beeab30
2024-12-13 20:18:34 +00:00
Lars-Dominik Braun
6d97c15911
gnu: Add python-setuptools/python-wheel where necessary.
Changes to pyproject-build-system require explicit dependency on
setuptools/wheel.

Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5
2024-12-13 20:18:25 +00:00
Lars-Dominik Braun
fdc0fefd46
build-system/pyproject: Use python-sans-pip-wrapper as default-python.
Also adds python-setuptools and python-wheel to relevant packages,
either to native-inputs or to propagated inputs if the pkg_resources
Python module is loaded at runtime.

* guix/build-system/pyproject.scm (default-python): Default to
python-sans-pip-wrapper.

Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
2024-12-13 20:15:41 +00:00
Ekaitz Zarraga
a5a540d713
gnu: duckdb: Build with for core extensions.
DuckDB comes with a set of built-in extensions.  This commit enables
those that don't require extra dependencies.

* gnu/packages/databases.scm (duckdb)[arguments]<#:configure-flags>: Add
  BUILD_EXTENSIONS with autocomplete, fts, icu, json, parquet and tpch.

Change-Id: Ibac5efaeec04dcba98af1c497e75632166941fc2
2024-12-09 16:48:22 +01:00
Ricardo Wurmus
dbe1c21122
gnu: python-fakeredis: Update to 2.26.1.
* gnu/packages/databases.scm (python-fakeredis): Update to 2.26.1.
[arguments]: Do not run slow tests; add phases 'poetry-compatibility and
'start-redis.
[propagated-inputs]: Add python-typing-extensions.
[native-inputs]: Add redis.

Change-Id: I18ed122d9e5307d3d723cfc9ef0d51f120b4ccb5
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-03 08:24:56 +08:00
Ricardo Wurmus
01f8ad0c93
gnu: python-redis: Update to 5.2.0.
* gnu/packages/databases.scm (python-redis): Update to 5.2.0.
[arguments]: Update list of tests to skip; add phase 'relax-requirements.
[native-inputs]: Add python-numpy.

Change-Id: I789c511fb4a516e6cdad06dba695af9bb89f562d
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-03 08:24:55 +08:00
Efraim Flashner
767bfcb45c
gnu: redis: Add comment about upcoming license change.
* gnu/packages/databases.scm (redis): Add a note with the package to be
aware of the upcoming non-free license change.

Change-Id: I60ef9bce81b6650d88f567e98c5bcf543a13082e
2024-12-02 13:54:04 +02:00
Hilton Chain
b91b992ed0
gnu: redis: Update to 7.2.6.
* gnu/packages/databases.scm (redis): Update to 7.2.6.
[arguments]<#:phases>: Update failing tests.

Change-Id: Ife107541697fda4f0928497560871f8ffb07d445
2024-12-02 07:42:20 +08:00
Sharlatan Hellseher
d3b010c38c
gnu: Respect --cores build argument in some python packages.
Reported by Greg Hogan <code@greghogan.com> in #74445.

* gnu/packages/astronomy.scm (python-asdf-astropy, python-astropy,
python-photutils, python-poppy, python-regions, python-reproject,
python-sunpy, python-spectral-cube, python-stdatamodels, python-pysiaf,
python-sbpy, python-asdf-coordinates-schemas, python-roman-datamodels,
python-webbpsf, python-yt):
[arguments]<test-flags>: Adjust "-n" or "--numprocess" to respect
"--cores" build argument.

* gnu/packages/check.scm (python-crosshair): Likewise.

* gnu/packages/databases.scm (python-fastparquet, python-pycurl, awscli,
python-s3transfer): Likewise.

* gnu/packages/python-xyz.scm (python-glymur, python-zarr, python-dask):
Likewise.

Change-Id: Ifbc6435e4ad22b0ae822b485bccca41eaa165cc5
2024-11-23 15:55:05 +00:00
David Pflug
2d46a1b470
gnu: postgresql-10: Replace deprecated dependency.
* gnu/packages/databases.scm (postgresql-10): Inherit postgresql-13
instead of 11.

Using the deprecated postgresql-11 package was causing warnings to be
printed on `guix pull`.

Change-Id: I36225ff2a1889f94cd5aabe229ee638793594abf
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-14 15:43:48 +01:00
Nicolas Graves
09bbdc3ead
gnu: postgresql-15: Update to 16.4. [security fixes]
This fixes CVE-2024-7348.

* /gnu/packages/databases.scm
(postgresql-15): Move from here...
(postgresql-16): ... to here.
[version]: Update to 16.4.
[source]: Adapt source and add patch.
[native-inputs]: Add pkg-config.
[inputs]: Add icu4c.
* gnu/packages/patches/postgresql-disable-normalize_exec_path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I57771ebcf462bdeca73eda157274db089816fd12
2024-11-12 17:41:38 +09:00