1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00
Commit graph

322 commits

Author SHA1 Message Date
Evgeny Pisemsky
40cd5e511c
gnu: python-django-compressor: Run tests against installed package.
* gnu/packages/django.scm (python-django-compressor): Run tests against
installed package.
[arguments] <phases>: Remove 'add-missing-init-files; add 'fix-setup.py.

Change-Id: Idd810376921d1802adb9355c52edcd1a8584eef7
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-05-16 21:21:54 +01:00
Sharlatan Hellseher
e417d6fe81
Merge remote-tracking branch 'origin/python-team'
Change-Id: I08cf47c4ee8c4019615ba45cef4cca1bd362d31b
2025-04-19 16:49:36 +01:00
Sharlatan Hellseher
d5fc8668f4
gnu: python-django-compressor: Include package data.
It's a follow up of commit 0879cb6f66.

* gnu/packages/django.scm (python-django-compressor):
[phases]{add-missing-init-files}: Adjust setup.py to include package
data files.

Change-Id: Ic6d8380ec07a01badabaf596888ba0455ff416f8
2025-04-19 12:56:20 +01:00
Sharlatan Hellseher
0879cb6f66
gnu: python-django-compressor: Fix Python package data.
Reported in #76211: Incomplete python-django-compressor package.

The built package missed "compressor/templates/compressor" directory
completely, after an investigation of upstream source it was noticed
that setup.py implemented a custom function searching "package_data"
files based on "__init__.py" which are not present in
"compressor/templates" and "compressor/templates/compressor"; this
change creates them.

* gnu/packages/django.scm (python-django-compressor) [arguments]
<phases>: Add 'add-missing-init-files.

Reported-by: Evgeny Pisemsky <mail@pisemsky.site>
Change-Id: Icf117c00471a40f918ddda4780cc96d7be311970
2025-04-17 23:23:40 +01:00
Sharlatan Hellseher
8335f7b441
gnu: python-django-compressor: Fix indentation.
* gnu/packages/django.scm (python-django-compressor): Fix indentation.

Change-Id: I8e05c49a075cf394de2ddaa74d5bca519fbee8e2
2025-04-17 23:23:40 +01:00
Nicolas Graves
303f7ced33
gnu: Remove python-django-3.2.
* gnu/packages/django.scm (python-django-3.2): Delete variable.

Change-Id: Iebc9809999473c2f99d35a78aba8f3f8fbf6b14e
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:34 +02:00
Nicolas Graves
01c5ceeb46
gnu: python-django-rq: Update to 3.0.0.
* gnu/packages/django.scm (python-django-rq): Update to 3.0.0.
[arguments]{test-flags}: Ignore failing tests.
{phases}: Replace 'check phase replacement by a simpler 'pre-check
configuration phase.
[native-inputs]: Add python-pytest, python-pytest-django.
[propagated-inputs]: Add python-redis, python-pyaml.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:29 +02:00
jgart
cf307632b1
gnu: python-django-filter: Update to 25.1.
* gnu/packages/django.scm (python-django-filter): Update to 25.1.

Change-Id: I874d61715bc7217d8ba2b3799ca4020942a67cbc
2025-02-24 00:38:45 -06:00
jgart
cd20619cfc
gnu: python-django-sekizai: Update to 4.1.0.
* gnu/packages/django.scm (python-django-sekizai): Update to 4.1.0.
[propagated-inputs]: Remove python-six.

Change-Id: Iaf66f0c6e88d9f880577f9ebdb2c9b8478211704
2025-02-19 22:25:32 -06:00
jgart
b4dc7bce15
gnu: python-django-classy-tags: Update to 4.1.0.
* gnu/packages/django.scm (python-django-classy-tags): Update to 4.1.0.
[build-system]: Use pyproject-build-system.
[arguments]: Enable tests.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ie5d035d677c57c78b8a3b8af0001605eb69beacf
2025-02-19 22:25:23 -06:00
jgart
6225c0ebb0
gnu: python-django-picklefield: Update to 3.2.0.
* gnu/packages/django.scm (python-django-picklefield): Update to 3.2.0.

Change-Id: I7cb795cd58fe50c87110d7116811c256ed19a799
2025-02-19 21:40:48 -06:00
jgart
ebc6c74437
gnu: python-dj-database-url: Update to 2.3.0.
* gnu/packages/django.scm (python-dj-database-url): Update to 2.3.0.
[source]: Update pypi-uri.

Change-Id: Ie60ca0837a070e53bfead1668f205e2005072b96
2025-02-19 21:37:55 -06:00
jgart
af4778c09c
gnu: python-django-netfields: Update to 1.3.2.
* gnu/packages/django.scm (python-django-netfields): Update to 1.3.2.

Change-Id: I4e82c33595cac9f1ebbd374362e2bfdb49cc6602
2025-02-19 21:30:50 -06:00
jgart
fc93e59cf6
gnu: python-django-gravatar2: Update to 1.4.5.
* gnu/packages/django.scm (python-django-gravatar2): Update to 1.4.5.

Change-Id: I6f366596efaf289fd3684dcfbbd8daf14ee24eff
2025-02-19 16:34:10 -06:00
jgart
9fc0fa9e92
gnu: python-django-cache-url: Update to 3.4.5.
* gnu/packages/django.scm (python-django-cache-url): Update to 3.4.5.

Change-Id: I25d6850c4dcfec035585ba3d46269e5dc7384dcc
2025-02-19 15:04:47 -06:00
Efraim Flashner
66daf46b41
gnu: Fix some misspellings.
Change-Id: I316652aff7418af4b8e83bea24638b1513f8aa97
2025-02-19 11:21:47 +02:00
Sharlatan Hellseher
85fb1c6f1d
gnu: python-django-haystack: Enable tests.
* gnu/packages/django.scm (python-django-haystack): Use G-Expressions.
[arguments] <phases>: Use custom 'check. Remove 'set-gdal-lib-path
having it makes all tests to fail.
[inputs]: Remove gdal.

Change-Id: Ic7b70f731cd805b2aedfc94fe9a13cb37c7ff930
2025-01-20 21:38:02 +01:00
Ricardo Wurmus
e5a67a42a8
gnu: python-django-q2: Add missing inputs.
* gnu/packages/django.scm (python-django-q2)[propagated-inputs]: Add
python-blessed, python-boto3, python-croniter, python-django-q-rollbar,
python-django-q-sentry, python-django-redis, python-hiredis,
python-importlib-metadata, python-iron-mq, python-psutil, python-pymongo,
python-redis, and python-setproctitle.
[native-inputs]: Add python-pytest.

Change-Id: If0bfa8d218a5230c739d535feed107e716e88983
2025-01-20 21:37:55 +01:00
Ricardo Wurmus
7bcc581fda
gnu: Add python-django-q-rollbar.
* gnu/packages/django.scm (python-django-q-rollbar): New variable.

Change-Id: I6a47fa6a65abfe6fec63f7c860ce0841cccaa462
2025-01-20 21:37:55 +01:00
Ricardo Wurmus
5af69ae4a4
gnu: Add python-django-q-sentry.
* gnu/packages/django.scm (python-django-q-sentry): New variable.

Change-Id: Iaa23ed584b6528aee52d842e0b4b88ff2ffff09f
2025-01-20 21:37:55 +01:00
Ricardo Wurmus
025bd7d311
gnu: python-django-compressor: Update to 4.5.1.
* gnu/packages/django.scm (python-django-compressor): Update to 4.5.1.
[build-system]: Use pyproject-build-system.
[arguments]: Add phases 'relax-requirements and 'skip-bad-test; simplify
'check phase; enable tests.
[propagated-inputs]: Add python-django and python-django-sekizai.
[native-inputs]: Remove python-django-sekizai and python-mock; add
python-setuptools and python-wheel.

Change-Id: I3f528e3ac1eed971ee39494a4f49fedf14d6449d
2025-01-20 21:37:54 +01:00
Sharlatan Hellseher
5f17e6b462
gnu: Add python-django-q2.
* gnu/packages/django.scm (python-django-q2): New variable.

Change-Id: Ia96caca56b08903f4e8e49105baf4af430697cfc
2025-01-20 21:37:53 +01:00
Sharlatan Hellseher
ba4619f5ab
gnu: python-django-q: Update to 1.3.9.
* gnu/packages/django.scm (python-django-q): Update to 1.3.9. Fix build.
Adjust indentation.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ia633b4420ecf3915566e6c3d984496afc9fd3130
2025-01-20 21:37:53 +01:00
Ricardo Wurmus
89656f8933
gnu: python-django-allauth: Update to 65.3.1.
* gnu/packages/django.scm (python-django-allauth): Update to 65.3.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add 'pre-check phase.
[propagated-inputs]: Add python-asgiref, python-django, python-fido2,
python-pyjwt, python-qrcode, and python-python3-saml.
[native-inputs]: Remove python-mock; add tzdata-for-tests, python-pytest,
python-pytest-django, python-setuptools, and python-wheel.

Change-Id: I7a119bd288d5e78379be524882195702ab06dcb9
2025-01-20 21:37:49 +01:00
Ricardo Wurmus
ce87b1333b
gnu: python-django-redis: Update to 5.4.0.
* gnu/packages/django.scm (python-django-redis): Update to 5.4.0.
[arguments]: Disable a few tests; add phase 'start-redis; remove custom 'check
phase.
[native-inputs]: Add python-pytest, python-pytest-cov, python-pytest-django,
and python-pytest-mock.

Change-Id: I7f1d8a02c5a782efe3261ac066eaf28a709c83ae
2025-01-20 21:37:46 +01:00
Ricardo Wurmus
5c2032eedf
gnu: python-django-simple-math-captcha: Update to 2.0.0.
* gnu/packages/django.scm (python-django-simple-math-captcha): Update to
2.0.0.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'compatibility; run tests conditionally.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I93a7e5f351a8d15941a6c29cca72708c81f677a3
2025-01-20 21:37:46 +01:00
Ricardo Wurmus
bd5f42dc03
gnu: python-django-tagging: Update to 0.5.1.
* gnu/packages/django.scm (python-django-tagging): Update to 0.5.1.
[source]: Fetch git repository of maintained fork.
[build-system]: Use pyproject-build-system.
[arguments]: Disable tests; run tests conditionally.
[home-page]: Update to location of fork.
[native-inputs]: Add python-setuptools, python-wheel, and tzdata-for-tests.

Change-Id: I0ca1f0400d9807113a73833a05ffb97eacc5ddd2
2025-01-20 21:37:46 +01:00
Ricardo Wurmus
0d35427c44
gnu: python-django-statici18n: Update to 2.6.0.
* gnu/packages/django.scm (python-django-statici18n): Update to 2.6.0.
[build-system]: Use pyproject-build-system.
[arguments]: Run tests conditionally.
[native-inputs]: Add python-setuptools and python-wheel.
[propagated-inputs]: Drop labels.

Change-Id: Iad2af67f46883d7e6603180873b2616a15b6ee80
2025-01-20 21:37:46 +01:00
Ricardo Wurmus
04dee06860
gnu: python-django-sortedm2m: Update to 4.0.0.
* gnu/packages/django.scm (python-django-sortedm2m): Update to 4.0.0.
[source]: Fetch git repository.
[arguments]: Disable tests.
[propagated-inputs]: Add python-psycopg2.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I74d9242b4d2f372e108f30e25c76985cd5f661e9
2025-01-20 21:37:46 +01:00
Ricardo Wurmus
eb2db374ba
gnu: python-django-rq: Use pyproject-build-system.
* gnu/packages/django.scm (python-django-rq)[build-system]: Use
pyproject-build-system.
[arguments]: Run tests conditionally.
[native-inputs]: Add python-setuptools, python-wheel, and tzdata-for-tests.

Change-Id: Ibe8ca4d8fcd11029be6ab36de7b4826f60f97fd6
2025-01-20 21:37:45 +01:00
Ricardo Wurmus
c44b5f8601
gnu: python-django-redis: Use pyproject-build-system.
* gnu/packages/django.scm (python-django-redis)[build-system]: Use
pyproject-build-system.
[arguments]: Run tests conditionally.
[native-inputs]: Add python-setuptools and python-wheel.
[description]: Complete sentence.

Change-Id: I8bb6416529068332046133c71159d02a50932ccb
2025-01-20 21:37:45 +01:00
Ricardo Wurmus
e103044a73
gnu: python-django-pipeline: Update to 4.0.0.
* gnu/packages/django.scm (python-django-pipeline): Update to 4.0.0.
[build-system]: Use pyproject-build-system.
[propagated-inputs]: Add python-jsmin and python-css-html-js-minify.
[native-inputs]: Add python-coveralls, python-setuptools, python-tox, and
python-wheel; remove python-jsmin and python-css-html-js-minify.

Change-Id: I97d84351c4dac2976f1fab33608dfd9ea8bfcc91
2025-01-20 21:37:45 +01:00
Ricardo Wurmus
91ea847a16
gnu: python-django-jinja: Update to 2.11.0.
* gnu/packages/django.scm (python-django-jinja): Update to 2.11.0.
[build-system]: Use pyproject-build-system.
[arguments]: Simplify 'check phase.
[native-inputs]: Add python-setuptools, python-wheel, and tzdata-for-tests.

Change-Id: I19567d6de55b2c683f7748baac028df3d2ad1b33
2025-01-20 21:37:45 +01:00
Ricardo Wurmus
220ef69e26
gnu: python-django-assets: Disable bad tests.
* gnu/packages/django.scm (python-django-assets)[build-system]: Use
pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.
[arguments]: Disable two tests.

Change-Id: I59c96700a5addb43f7083072c6a23ac18a973475
2025-01-20 21:37:45 +01:00
Ricardo Wurmus
c0d4e4d9dc
gnu: python-django-debug-toolbar: Disable broken test.
* gnu/packages/django.scm (python-django-debug-toolbar)[build-system]: Use
pyproject-build-system; disable one test.
[native-inputs]: Add python-setuptools, python-wheel, and tzdata-for-tests.
[description]: Complete sentence.

Change-Id: Id6338302fd62c8a9244a8a5a429279d283467149
2025-01-20 21:37:45 +01:00
Ricardo Wurmus
4753d8f61b
gnu: python-django-filter: Update to 24.3.
* gnu/packages/django.scm (python-django-filter): Update to 24.3.
[build-system]: Use pyproject-build-system.
[arguments]: Make tests conditional.
[native-inputs]: Remove python-django-crispy-forms and python-mock; add
python-flit-core and tzdata-for-tests.

Change-Id: I0a7273747d53013c7aef5c1674d957223c399e21
2025-01-20 21:37:45 +01:00
Ricardo Wurmus
d19bd45ce9
gnu: python-django-haystack: Update to 3.3.0.
* gnu/packages/django.scm (python-django-haystack): Update to 3.3.0.
[build-system]: Use pyproject-build-system.
[arguments]: Adjust; remove phase 'loosen-verion-restrictions.
[propagated-inputs]: Add python-packaging.
[native-inputs]: Remove gdal, python-mock, and python-nose; add
python-setuptools and python-wheel.
[inputs]: Add gdal.

Change-Id: Ib9cfb2231ec79e26474e8123cbde2ea4598590da
2025-01-20 21:37:45 +01:00
Ricardo Wurmus
29bbaa4aa4
gnu: python-easy-thumbnails: Update to 2.10.
* gnu/packages/django.scm (python-easy-thumbnails): Update to 2.10.
[build-system]: Use pyproject-build-system.
[arguments]: Add test flags.
[native-inputs]: Add python-pytest, python-pytest-django, python-setuptools,
python-testfixtures, and python-wheel.

Change-Id: I25637c41ece3bde77fd36bccdbce2e3c21b62603
2025-01-20 21:37:45 +01:00
Ricardo Wurmus
e6207c76b5
gnu: python-django-rest-framework: Update to 3.15.2.
* gnu/packages/django.scm (python-django-rest-framework): Update to 3.15.2.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I8c834e8022e9d77f1cbd5b6bde0cbbc65583fe60
2025-01-20 21:37:44 +01:00
Ricardo Wurmus
81e00a1c4c
gnu: python-django-taggit: Update to 6.1.0.
* gnu/packages/django.scm (python-django-taggit): Update to 6.1.0.
[source]: Fetch git repository.
[build-system]: Use pyproject-build-system.
[propagated-inputs]: Remove python-isort.
[native-inputs]: Remove python-mock and python-pytest; add
python-django-rest-framework, python-setuptools, python-wheel, and
tzdata-for-tests.

Change-Id: Ic419f0753b2628075c8005db4edd4c06c318595a
2025-01-20 21:37:44 +01:00
Ricardo Wurmus
e85a9c3e48
gnu: python-django: Set default to 4.2.
* gnu/packages/django.scm (python-django): Point to python-django-4.2.

Change-Id: I191a6b9aaed3b4a6eb87fd11d3b427714b4f8868
2025-01-20 21:37:43 +01:00
Sharlatan Hellseher
e0198ae01a
gnu: python-django-4.2: Adjust inputs.
* gnu/packages/django.scm (python-django-4.2) [native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ie949aaf8ea006fa4e87105fed9c80a71507ed01a
2024-12-13 20:19:00 +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
2139b3724d
gnu: python-django-localflavor: Move to pyproject-build-system.
* gnu/packages/django.scm (python-django-localflavor):
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:phases>: Rewrite check phase replacement.
             <#:test-flags>: Use it.
  [native-inputs]: Remove them. Not needed with the check phase
  rewrite.

Change-Id: Ie50baab2cb102585ee25e3264e00eebe370f4cb2
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:48 +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
Nicolas Graves
249db21652
gnu: python-django-4.2: Update to 4.2.16. [security fixes]
This fixes CVE-2024-24680, CVE-2024-41989, CVE-2024-41990,
CVE-2024-41991, CVE-2024-42005, CVE-2024-45230, CVE-2024-45231,
CVE-2023-43665 and CVE-2023-46695.

* gnu/packages/django.scm (python-django-4.2): Update to 4.2.16.
[properties]: Add lint-hidden-cve property.
2024-11-04 23:51:17 +08:00
Nicolas Graves
474b583e7a
gnu: python-django-4.2: Simpler unittest skip.
* gnu/packages/django.scm (python-django-4.2): Simpler unittest skip.

Signed-off-by: jgart <jgart@dismail.de>
2024-06-30 22:03:33 -05:00
Nicolas Graves
bfa5b66b02
gnu: python-django-4.2: Use pyproject-build-system.
* gnu/packages/django.scm (python-django-4.2):
[build-system] Use pyproject-build-system.

Signed-off-by: jgart <jgart@dismail.de>
2024-06-30 22:03:32 -05:00
Nicolas Graves
1c21ecff8c
gnu: python-django-4.2: Add --failfast to test-flags.
* gnu/packages/django.scm (python-django-4.2): Add --failfast to test-flags.

Signed-off-by: jgart <jgart@dismail.de>
2024-06-30 22:03:31 -05:00
Nicolas Graves
85725446d6
gnu: python-django-4.2: Comment formatting.
* gnu/packages/django.scm (python-django-4.2): Comment formatting.

Signed-off-by: jgart <jgart@dismail.de>
2024-06-30 22:03:30 -05:00