[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55474] [PATCH v5 31/55] gnu: python-django-compressor: Update to 4.
From: |
Nicolas Graves |
Subject: |
[bug#55474] [PATCH v5 31/55] gnu: python-django-compressor: Update to 4.3.1. |
Date: |
Sun, 25 Jun 2023 18:57:32 +0200 |
* gnu/packages/django.scm (python-django-compressor): Update to 4.3.1.
[build-system]: Use pyproject-build-system.
[arguments](phases): Set DJANGO_SETTINGS_MODULE in the invoke call and adapt
phase 'check to argument test-flags.
(test-flags): Add argument.
(tests?) : Delete argument.
---
gnu/packages/django.scm | 31 ++++++++++++++-----------------
1 file changed, 14 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index a741eb64a0..fa36b2c5b3 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1194,28 +1194,25 @@ (define-public python-django-crispy-forms
(define-public python-django-compressor
(package
(name "python-django-compressor")
- (version "2.4.1")
+ (version "4.3.1")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "django_compressor" version))
- (sha256
- (base32 "1q0m0hfg7sqmj5km924g4dgy3nx51aszzsprlp6gsin10mv0fn1k"))))
- (build-system python-build-system)
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "django_compressor" version))
+ (sha256
+ (base32 "0hl9bwdiif6pn37fw2fpm56i3vcapb1qcb82kb19q2fclq6qr1b8"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
+ '(#:test-flags '("-k" "not test_clamjs_filter")
+ #:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
(if tests?
- (begin
- (setenv "DJANGO_SETTINGS_MODULE" "compressor.test_settings")
- (invoke "django-admin" "test"
- "--pythonpath=."))
- #t))))
- ;; Tests fail with beautifulsoup 4.9+
- ;; https://github.com/django-compressor/django-compressor/issues/998
- #:tests? #f))
+ (apply invoke "django-admin" "test"
+ "--pythonpath=." "--settings=compressor.test_settings"
+ test-flags)
+ (format #t "test suite not run~%")))))))
(propagated-inputs
(list python-django-appconf python-rcssmin python-rjsmin))
(native-inputs
--
2.40.1
- [bug#55474] [PATCH v5 21/55] gnu: python-dango-rq: Add native-input tzdata-for-tests., (continued)
- [bug#55474] [PATCH v5 21/55] gnu: python-dango-rq: Add native-input tzdata-for-tests., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 24/55] gnu: python-django-sortedm2m: Update to 3.1.1-0-ddf321f., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 25/55] gnu: python-defusedxml: Update to 0.7.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 28/55] gnu: python-rjsmin: Update to 1.2.1., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 26/55] gnu: python-filetype: Update to 1.0.10., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 29/55] gnu: python-django-mailman3: Update to 1.3.8., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 23/55] gnu: python-django-tagging: Add patch for django@4 support., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 27/55] gnu: python-rcssmin: Update to 1.1.1., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 30/55] gnu: Remove python-pysolr., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 33/55] gnu: python-hyperkitty: Update to 1.3.7., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 31/55] gnu: python-django-compressor: Update to 4.3.1.,
Nicolas Graves <=
- [bug#55474] [PATCH v5 32/55] gnu: python-django-haystack: Update to 3.2.1., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 34/55] gnu: Add python-django-requests-debug-toolbar., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 35/55] gnu: postorius: Update to 1.3.7., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 37/55] gnu: python-django: Update default version to 4.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 38/55] gnu: python-django-taggit: Update to 3.1.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 39/55] gnu: python-django-filter: Update to 22.1., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 40/55] gnu: Add python-django-modelcluster., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 43/55] gnu: Add python-jinjalint., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 36/55] gnu: python-django-rest-framework: Update to 3.14.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 41/55] gnu: Add python-django-treebeard., Nicolas Graves, 2023/06/25