From 18ae404690e8b96c5a97886b506e75c4c1b21b6d Mon Sep 17 00:00:00 2001 From: Nicolas Graves via Guix-patches via Date: Sun, 14 Aug 2022 18:35:58 +0200 Subject: gnu: Add python-whatthepatch. * gnu/packages/python-web.scm (python-whatthepatch): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-web.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 896e60aba28..59a3ee516dc 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -53,6 +53,7 @@ ;;; Copyright © 2022 Peter Polidoro ;;; Copyright © 2022 Antero Mejr ;;; Copyright © 2022 Luis Henrique Gomes Higino +;;; Copyright © 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -7761,3 +7762,20 @@ admin section of stores using an ActiveResource-like interface similar the ruby Shopify API gem. The library makes HTTP requests to Shopify in order to list, create, update, or delete resources (e.g. Order, Product, Collection).") (license license:expat))) + +(define-public python-whatthepatch + (package + (name "python-whatthepatch") + (version "1.0.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "whatthepatch" version)) + (sha256 + (base32 + "17zspm5sxhvggkdhwq4s0fzf4mkc825xshn734g2j2iy2xcylh65")))) + (build-system python-build-system) + (home-page "https://github.com/cscorley/whatthepatch") + (synopsis "Patch parsing and application") + (description + "This package provides a library to parse and apply patches.") + (license license:expat))) -- cgit v1.3 From 9f8d55870d8af49e1afb490fab2cc3927be6e036 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 16 Aug 2022 10:57:02 +0200 Subject: gnu: python-aiohttp: Disable tests that fail with Pytest 7. * gnu/packages/python-web.scm (python-aiohttp)[arguments]: Ignore three tests. --- gnu/packages/python-web.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 59a3ee516dc..d060d5b27cf 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -363,6 +363,13 @@ for adding, removing and dropping callbacks.") ;; This test probably requires to be run with the ;; library loaded from the the build directory. "not test_c_parser_loaded and " + ;; TODO: These tests fail with recent versions of Pytest + ;; and the fix is difficult to backport: + ;; https://github.com/aio-libs/aiohttp/pull/6872 + ;; Re-enable after 3.9. + "not test_session_close_awaitable and " + "not test_async_with_session and " + "not test_close_run_until_complete_not_deprecated and " ;; Disable the following tests as they require ;; networking. "not TestDeflateBuffer and " -- cgit v1.3