summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-04-19 17:39:37 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-05-12 12:46:04 -0400
commitece8e759027ac02602d3ffb5f4ecc41a15a4ecf3 (patch)
tree1e12959fc6b343a8cede99c7b28f43d98e26aac8 /gnu/packages
parentbb22c1ba5d37773639a3a6d3eb7f83f5504f91af (diff)
gnu: python-locust: Update to 2.8.6.
* gnu/packages/benchmark.scm (python-locust): Update to 2.8.6. [phases]{relax-requirements}: New phase. {check}: Skip the test_distributed_shape test. [propagated-inputs]: Add python-jinja2.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/benchmark.scm24
1 files changed, 19 insertions, 5 deletions
diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm
index 25cdfe1dd26..b167c6de6ee 100644
--- a/gnu/packages/benchmark.scm
+++ b/gnu/packages/benchmark.scm
@@ -266,18 +266,25 @@ file metadata operations that can be performed per second.")
266(define-public python-locust 266(define-public python-locust
267 (package 267 (package
268 (name "python-locust") 268 (name "python-locust")
269 (version "2.5.1") 269 (version "2.8.6")
270 (source 270 (source
271 (origin 271 (origin
272 (method url-fetch) 272 (method url-fetch)
273 (uri (pypi-uri "locust" version)) 273 (uri (pypi-uri "locust" version))
274 (sha256 274 (sha256
275 (base32 275 (base32
276 "1516z6z5pikybg7pma2cgxgj3wxaaky7z6d30mxf81wd4krbq16s")))) 276 "1gn13j758j36knlcdyyyggn60rpw98iqdkvl3kjsz34brysic6q1"))))
277 (build-system python-build-system) 277 (build-system python-build-system)
278 (arguments 278 (arguments
279 '(#:phases 279 '(#:phases
280 (modify-phases %standard-phases 280 (modify-phases %standard-phases
281 (add-after 'unpack 'relax-requirements
282 (lambda _
283 (substitute* "setup.py"
284 (("setuptools_scm<=6.0.1")
285 "setuptools_scm")
286 (("Jinja2<3.1.0")
287 "Jinja2"))))
281 (replace 'check 288 (replace 'check
282 (lambda* (#:key tests? #:allow-other-keys) 289 (lambda* (#:key tests? #:allow-other-keys)
283 (when tests? 290 (when tests?
@@ -299,7 +306,10 @@ file metadata operations that can be performed per second.")
299 ;; respectively (see: 306 ;; respectively (see:
300 ;; https://github.com/locustio/locust/issues/1708). 307 ;; https://github.com/locustio/locust/issues/1708).
301 "not test_custom_exit_code" 308 "not test_custom_exit_code"
302 "not test_webserver") " and ")))))))) 309 "not test_webserver"
310 ;; This test fails with "AssertionError:
311 ;; 'stopped' != 'stopping'".
312 "not test_distributed_shape") " and "))))))))
303 (propagated-inputs 313 (propagated-inputs
304 (list python-configargparse 314 (list python-configargparse
305 python-flask 315 python-flask
@@ -307,6 +317,7 @@ file metadata operations that can be performed per second.")
307 python-flask-cors 317 python-flask-cors
308 python-gevent 318 python-gevent
309 python-geventhttpclient 319 python-geventhttpclient
320 python-jinja2
310 python-msgpack 321 python-msgpack
311 python-psutil 322 python-psutil
312 python-pyzmq 323 python-pyzmq
@@ -315,8 +326,11 @@ file metadata operations that can be performed per second.")
315 python-typing-extensions 326 python-typing-extensions
316 python-werkzeug)) 327 python-werkzeug))
317 (native-inputs 328 (native-inputs
318 (list python-mock python-pyquery python-pytest 329 (list python-mock
319 python-retry python-setuptools-scm)) 330 python-pyquery
331 python-pytest
332 python-retry
333 python-setuptools-scm))
320 (home-page "https://locust.io/") 334 (home-page "https://locust.io/")
321 (synopsis "Distributed load testing framework") 335 (synopsis "Distributed load testing framework")
322 (description "Locust is a performance testing tool that aims to be easy to 336 (description "Locust is a performance testing tool that aims to be easy to