Commit graph

370 commits

Author SHA1 Message Date
Nicolas Graves
21085d9a1e
gnu: python-django-svg-image-form-field: Switch to pyproject.
* gnu/packages/django.scm (python-django-svg-image-form-field):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.

Change-Id: I21ec342342881162828aeffeb9dad60db237a6cc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 14:35:42 +01:00
Nicolas Graves
4743a5c42f
gnu: python-django-url-filter: Switch to pyproject.
* gnu/packages/django.scm (python-django-url-filter):
[source]: Move snippet to <#:phases>.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Import from <snippet> in phase
'loosen-requirements. Replace 'check phase by a smaller
'configure-tests phase.
[native-inputs]: Add python-mock, python-setuptools,
python-sqlalchemy.
[home-page]: Standardize use.

Change-Id: I0fd84647d6cc25a04ca75ffea266b23fce61ff70
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 14:35:42 +01:00
Nicolas Graves
b2efdbfdd9
gnu: python-django-netfields: Switch to pyproject.
* gnu/packages/django.scm (python-django-netfields):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags, #:phases>: Configure tests.
[native-inputs]: Add python-pytest, python-pytest-django,
python-setuptools.

Change-Id: I4f984a8511ff6d2447b630eeabc060cc81528f6e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 14:35:41 +01:00
Nicolas Graves
dcb6d77a07
gnu: python-django-logging-json: Update to 1.16.
* gnu/packages/django.scm (python-django-logging-json): Update to 1.16.
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
[native-inputs]: Add python-setuptools.

Change-Id: I37e49c8bdc693a5f127a61e88cd7bfd1af16199d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 14:35:41 +01:00
Nicolas Graves
f53ab0d811
gnu: python-django-override-storage: Update to 0.3.2.
* gnu/packages/django.scm (python-django-override-storage): Update to 0.3.2.
[build-system]: Switch to pyproject-build-system.
[arguments, home-page]: Standardize style.
[native-inputs]: Add python-setuptools.

Change-Id: Ia59452958369ac69687b0243a9a338026a3e624b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 14:35:41 +01:00
Nicolas Graves
9f4fabc011
gnu: python-django-crispy-forms: Update to 2.4.
* gnu/packages/django.scm (python-django-crispy-forms): Update to 2.4.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add bootstrap variants of python-crispy-bootstrap3
and python-crispy-bootstrap4.  Add python-pytest,
python-pytest-django, python-setuptools.

Change-Id: I52f3ef0db0fde966fa4a9598b474ee446ef6eaab
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 14:35:41 +01:00
Nicolas Graves
03c8dab344
gnu: Add python-crispy-bootstrap4.
* gnu/packages/django.scm (python-crispy-bootstrap4): New variable.

Change-Id: Id07709f43fda7623fa71d805804c60888f2415aa
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 14:35:39 +01:00
Nicolas Graves
74c6da3ff4
gnu: Add python-crispy-bootstrap3.
* gnu/packages/django.scm (python-crispy-bootstrap3): New variable.

Change-Id: I7357f70a1e9a23b431aacf470afb86e534c778a7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 14:35:14 +01:00
Nicolas Graves
496caa61df
gnu: python-django-contrib-comments: Update to 2.2.0.
* gnu/packages/django.scm (python-django-contrib-comments): Update to 2.2.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Set <#:test-backend>, <#:test-flags>.
[native-inputs]: Add python-setuptools, tzdata-for-tests.
[propagated-inputs]: Remove python-six.

Change-Id: I4bb4b09790efbd029f6f91702faa9316f268355b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 14:35:14 +01:00
Nicolas Graves
4c6c159bec
gnu: python-django-gravatar2: Switch to pyproject.
* gnu/packages/django.scm (python-django-gravatar2):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Replace 'check phase.
[native-inputs]: Add python-setuptools.

Change-Id: I1f877ef89ebc0728a8e21d33a4e869c0be1f3816
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 14:35:11 +01:00
Sharlatan Hellseher
f6a2a01b36
gnu: python-django-configurations: Skip one test.
* gnu/packages/django.scm (python-django-configurations)[arguments]
<phases>: Add sip-bad-test.

Change-Id: I27fcddd704c17abbab3f35e59c82a5dd342f4d1b
2025-09-25 09:36:50 +01:00
Sharlatan Hellseher
03299bd104
gnu: python-dj-search-url: Disable tests.
* gnu/packages/django.scm (python-dj-search-url)[arguments] <tests?>:
Disable for now.
[native-inputs]: Remove python-wheel.

Change-Id: I219f2346ed992790bdea01bb006ada9ae6bb9022
2025-09-25 09:36:50 +01:00
Sharlatan Hellseher
9631761964
gnu: python-dj-email-url: Disable tests.
* gnu/packages/django.scm (python-dj-email-url)[arguments] <tests?>:
Disable for now.
[native-inputs]: Remove python-wheel.

Change-Id: I495c1f71991af93ab74d623e156c087fea4740f9
2025-09-25 09:36:50 +01:00
Nicolas Graves
c24ac49d7e
gnu: python-django-allauth: Fix tests.
* gnu/packages/django.scm (python-django-allauth):
[source]: Switch to git-fetch.
[arguments]: Improve style.
[inputs]: Add xmlsec-openssl.
[native-inputs]: Remove python-wheel.

Change-Id: I136728a1de889b5ee282f2ded6fec45b412a1c75
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:36:50 +01:00
Nicolas Graves
022ca7dab0
gnu: Remove python-django-assets.
Developpement stopped upstream for years, still uses nose even on the
last commit.

* gnu/packages/django.scm (python-django-assets): Delete variable.

Change-Id: Ibcd383413c01084f6772de48337cc2c10fa41ee2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:36:50 +01:00
Nicolas Graves
58212eea69
gnu: python-django-cache-url: Fix tests.
* gnu/packages/django.scm (python-django-cache-url):
[source]: Switch to git-fetch.
[native-inputs]: Add python-pytest, python-pytest-cov.

Change-Id: I3539a056f2bb8e5e7707decae8dd698510463fae
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:36:49 +01:00
Nicolas Graves
0016aea186
gnu: python-django-auth-ldap: Update to 4.8.0.
* gnu/packages/django.scm (python-django-auth-ldap): Update to 4.8.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Remove 'build and 'install phase replacements.
[native-inputs]: Remove python-wheel, python-setuptools-scm,
python-toml, python-pypa-build, python-pip.

Change-Id: Ife8eb1b63b458ca29f2d69027b86855e1cb8458d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:36:49 +01:00
Nicolas Graves
e3ba868b4e
gnu: python-django-classy-tags: Fix tests.
* gnu/packages/django.scm (python-django-classy-tags):
[source]: Switch to git-fetch.
[arguments]<#:phases>: Replace 'check phase.
[native-inputs]: Remove python-wheel.

Change-Id: I87519f3f893aca4e77587e2fcea1acde3abccd10
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:36:49 +01:00
Nicolas Graves
6561ff2096
gnu: python-django-q-rollbar: Disable tests.
* gnu/packages/django.scm (python-django-q-rollbar)
[arguments]<#:tests?>: Disable them.

Change-Id: Ie23a879180d2bd8284a45790f526b5218926a907
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:36:48 +01:00
Nicolas Graves
a7eaafb763
gnu: python-django-q-sentry: Disable tests.
No tests upstream.

* gnu/packages/django.scm (python-django-q-sentry)
[arguments]<#:tests?>: Disable them.
[native-inputs]: Remove python-wheel.

Change-Id: Ie61f4378fb43cc65d20269967d44def02e0b15a1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:36:48 +01:00
Sharlatan Hellseher
ab99b3551d
gnu: python-django-pipeline: Reduce closure size.
* gnu/packages/django.scm (python-django-pipeline)[native-inputs]:
Remove python-coveralls, python-tox, and python-wheel.

Change-Id: I4d87c3d37982421892ce102fd64f32aef52da6e3
2025-09-25 09:36:42 +01:00
Sharlatan Hellseher
b79fbf27b8
gnu: python-setuptools-next: Set to python-setuptools.
Replace all python-setuptools-next occurrences with python-setuptools.

* gnu/packages/python-build.scm (python-setuptools-next): Set to
python-setuptools.

Change-Id: I9e5e0881310d160ec56be785f2dd2140364fa8e5
2025-09-25 09:36:24 +01:00
Sharlatan Hellseher
25565cb637
gnu: python-brotli: Move to python-compression and switch to pyproject.
Fixes gnu/gnu#1730

python-brotli does not benefit from being inherited from brotli, it's
built from scratch, this change moves it to python-compression as a
stand along package, a collection of Python bindings and swap build
system to pyproject.

* gnu/packages/compression.scm (python-brotli, python-google-brotli):
Move from here ...
* gnu/packages/python-compression.scm: ... to here.
* gnu/packages/django.scm: Add python-compression module.
* gnu/packages/fonts.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/video.scm: Likewise.

Change-Id: I592d84321893e5967181fd48d3037246c3cd4796
2025-09-25 09:35:50 +01:00
Maxim Cournoyer
10482f731e
Reapply "Update Maxim's email address."
This reverts commit a7db92d9b3, this time with
the more careful command, to avoid a world rebuild:

grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
  --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
  xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'

Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18 13:44:12 +09:00
Maxim Cournoyer
a7db92d9b3
Revert "Update Maxim's email address."
This reverts commit d0d87a744d. Oops! This
caused a world rebuild.

Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18 12:07:31 +09:00
Maxim Cournoyer
d0d87a744d
Update Maxim's email address.
The change was automated via:

  git grep -l maxim.cournoyer@gmail.com |
    xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'

* .mailmap: New entry.

Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
2025-09-18 08:05:19 +09:00
Nicolas Graves
bfb1bb24fd
gnu: python-django: Update to 4.2.23.
* gnu/packages/django.scm (python-django): Update to 4.2.23.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2025-09-04 02:57:34 +02:00
jgart
5dfbbcb170
gnu: Add python-django-widget-tweaks.
* gnu/packages/django.scm (python-django-widget-tweaks): New variable.

Change-Id: Idf20e8d6666da3a2564432fa4613354848cba920
2025-08-28 15:26:57 -05:00
Andreas Enge
42d7a9ddf9
gnu: python-django-4.2: Remove the alias.
* gnu/packages/django.scm (python-django-4.2): Rename to...
(python-django): ...this instead of defining the latter as the former.
* gnu/packages/maths.scm (python-mathics-django)[propagated-inputs],
gnu/packages/monitoring.scm (graphite-web)[propagated-inputs]:
Use python-django instead of python-django-4.2.

Change-Id: I9dd9d86d4f9af5c6ee66fd57949ad565a6657062
2025-08-09 01:10:52 +02:00
Andreas Enge
8f1a5c74c9
gnu: Remove python-django-3.1.14.
* gnu/packages/django.scm (python-django-3.1.14): Delete variable.

Change-Id: Ib332b5a64696f6df6e35dd40538d4a23033afa97
2025-08-09 01:09:40 +02:00
Vinicius Monego
6768e33bcc
gnu: Add python-channels.
* gnu/packages/django.scm (python-channels): New variable.

Change-Id: I71a266adfb20d9ea8b8f3000bb9c62ae4d1290c0
2025-07-26 20:55:56 -03:00
Vinicius Monego
186773ab2a
gnu: Add daphne.
* gnu/packages/django.scm (daphne): New variable.

Change-Id: I00e9c24870d533efb9497daaa2d92466ceb49130
2025-07-26 20:55:56 -03:00
Vinicius Monego
80c43facde
gnu: python-dj-database-url: Update to 3.0.1.
* gnu/packages/django.scm (python-dj-database-url): Update to 3.0.1.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.
[propagated-inputs]: Remove python-typing-extensions.
[home-page]: Switch to maintained repository.

Change-Id: I78000fe797bc3a3801ee85e6303987d4505852f2
2025-07-26 13:32:50 -03:00
Vinicius Monego
cfa72fb53d
gnu: Add python-django-storages.
* gnu/packages/django.scm (python-django-storages): New variable.

Change-Id: I9f5e1d48c7037ca484b66940e34d110f3f48280a
2025-07-23 15:30:17 -03:00
Vinicius Monego
d5994ac10c
gnu: Add python-django-htmx.
* gnu/packages/django.scm (python-django-htmx): New variable.

Change-Id: I86cd8050c0815ea251d1dcaf96db07c2a304493b
2025-07-23 15:30:16 -03:00
Vinicius Monego
19653360b2
gnu: Add python-django-cors-headers.
* gnu/packages/django.scm (python-django-cors-headers): New variable.

Change-Id: I6cbb3a0d81cc6217862750826c790ed67119afbd
2025-07-23 15:30:16 -03:00
Vinicius Monego
1f56a7abad
gnu: Add python-django-environ.
* gnu/packages/django.scm (python-django-environ): New variable.

Change-Id: Iafbaa1cf3373fc38075f789ab06fdfb93cecb635
2025-07-23 15:30:16 -03:00
Vinicius Monego
c52b336341
gnu: Add python-django-dbbackup.
* gnu/packages/django.scm (python-django-dbbackup): New variable.

Change-Id: I5579d587b367159052b2bf36ff6cb3b032957e8e
2025-07-23 15:30:16 -03:00
Vinicius Monego
be287b3e90
gnu: python-django-picklefield: Update to 3.3.0.
* gnu/packages/django.scm (python-django-picklefield): Update to 3.3.0.
[home-page]: Move below propagated-inputs.
[source]: Set repository url for URL instead of home-page.
[build-system]: Use pyproject-build-system.
[arguments]: Use Gexp.
<#:phases>: Respect '#:tests?' in the custom 'check' phase.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I9b26c6976edcddbe72c07f695f2ea82b444c82ac
2025-07-19 04:10:11 -03:00
Vinicius Monego
0d2030014d
gnu: python-django-extensions: Enable tests.
* gnu/packages/django.scm (python-django-extensions)[arguments]: Remove
'#:tests? #f'.
<#:test-flags>: Ignore failing tests.
[native-inputs]: Add python-aiosmtpd, python-pygments.

Change-Id: Ibf4e76f1714b97d9ba6184f4f08bca851c52f78d
2025-07-19 04:10:11 -03:00
Vinicius Monego
ed0ee73116
gnu: python-django-extensions: Update to 4.1.
* gnu/packages/django.scm (python-django-extensions): Update to 4.1.
[build-system]: Use pyproject-build-system.
[propagated-inputs]: Remove python-dateutil, python-six, python-vobject,
python-werkzeug.
[native-inputs]: Remove python-mock, python-tox. Add
python-setuptools-next, python-wheel.
[home-page]: Don't break line.

Change-Id: Ib8234deeabf95638b5a21048b47d12ef216d0fd6
2025-07-19 04:10:11 -03:00
Vinicius Monego
a2972392a2
gnu: python-django-contact-form: Update to 5.2.0.
* gnu/packages/django.scm (python-django-contact-form): Update to 5.2.0.
[source]: Update URI.
[build-system]: Use pyproject-build-system.
[arguments]<#:phases>: In the custom 'check' phase, respect '#:tests?',
delete a file and use a more standard Django testing procedure.
[native-inputs]: Remove python-coverage. Add python-pdm-backend,
python-tzdata.

Change-Id: I4a3209e45eb506bf24cac3e1b5ad80c0ca47c463
2025-07-19 04:10:11 -03:00
Vinicius Monego
821a42d2fc
gnu: python-django-appconf: Update to 1.1.0.
* gnu/packages/django.scm (python-django-appconf): Update to 1.1.0.
[build-system]: Use pyproject-build-system.
[arguments]: Use Gexp.
<#:phases>: Respect '#:tests?' in the custom 'check' phase.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I524f49ec28dc9dafa75d8e1d53c28e0c2b998f48
2025-07-19 04:10:11 -03:00
Vinicius Monego
d1a9c8429d
gnu: python-django-sekizai: Enable tests.
* gnu/packages/django.scm (python-django-sekizai)[build-system]: Use
pyproject-build-system.
[arguments]: Use Gexp. Remove '#:tests? #f' and override the 'check'
phase.
[home-page]: Follow redirect.

Change-Id: I1fbb7c1eb06ab51082239f28e973a15064fbb6d5
2025-07-19 04:10:10 -03:00
Vinicius Monego
4a94bcba12
gnu: python-django-cleanup: Update to 9.0.0.
* gnu/packages/django.scm (python-django-cleanup): Update to 9.0.0.
[build-system]: Use pyproject-build-system.
[arguments]: Delete phase 'patch-tests-settings'. Do not override the
'check' phase.
[native-inputs]: Remove python-easythumbnails, python-pillow,
python-pytest-xdist. Add python-setuptools, python-wheel.

Change-Id: I192983ee4bab95d1643c2f7e62473605b3097e88
2025-07-19 04:10:10 -03:00
Vinicius Monego
e6ca7ea0ed
gnu: python-django-ninja: Update to 1.4.3.
* gnu/packages/django.scm (python-django-ninja): Update to 1.4.3.
[arguments]<#:test-flags>: Enable all tests.
[propagated-inputs]: Replace python-pydantic by python-pydantic-2.

Change-Id: I64c50d8cbbec7f26bd50d4649d8d9e50febc05f7
2025-07-19 04:10:10 -03:00
Vinicius Monego
6e7b43cbc3
gnu: python-pytest-django: Enable tests.
* gnu/packages/django.scm (python-pytest-django)[arguments]: Remove
'#:tests? #f'.
<#:phases>: Do not override the 'check' phase.
[native-inputs]: Add python-django.

Change-Id: Ib9ba756a12f3c727744c0fd565bd30da2276da5a
2025-07-19 04:10:10 -03:00
Vinicius Monego
83cd6d12e2
gnu: python-pytest-django: Update to 4.11.1.
* gnu/packages/django.scm (python-pytest-django): Update to 4.11.1.
[source]: Update URI.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
[home-page]: Follow redirect.

Change-Id: I65286ea9c62a051f2207cdb73cb6b7c559089bc0
2025-07-19 04:10:10 -03:00
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