All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Leon Anavi" <leon.anavi@konsulko.com>
To: openembedded-devel@lists.openembedded.org
Cc: Leon Anavi <leon.anavi@konsulko.com>
Subject: [meta-python][PATCH 10/10] python3-mock: Upgrade 4.0.2 -> 4.0.3
Date: Mon, 11 Jan 2021 17:25:12 +0200	[thread overview]
Message-ID: <20210111152512.23506-10-leon.anavi@konsulko.com> (raw)
In-Reply-To: <20210111152512.23506-1-leon.anavi@konsulko.com>

Upgrade to release 4.0.3:

- Remove unexpected call of __bool__ when passing a spec_arg
  argument to a Mock.
- Revert bpo-25597. unittest.mock.MagicMock with wraps’ set uses
  default return values for magic methods.
- Mock objects which are not unsafe will now raise an
  AttributeError if an attribute with the prefix asert, aseert, or
  assrt is accessed, in addition to this already happening for the
  prefixes assert or assret.
- Fixed reverting multiple patches in unittest.mock. Patcher’s
  __exit__() is now never called if its __enter__() is failed.
  Returning true from __exit__() silences now the exception.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/{python3-mock_4.0.2.bb => python3-mock_4.0.3.bb}    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-mock_4.0.2.bb => python3-mock_4.0.3.bb} (77%)

diff --git a/meta-python/recipes-devtools/python/python3-mock_4.0.2.bb b/meta-python/recipes-devtools/python/python3-mock_4.0.3.bb
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-mock_4.0.2.bb
rename to meta-python/recipes-devtools/python/python3-mock_4.0.3.bb
index 39ab6d01f..b34f25b93 100644
--- a/meta-python/recipes-devtools/python/python3-mock_4.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-mock_4.0.3.bb
@@ -13,5 +13,4 @@ RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \
             ${PYTHON_PN}-pep8 \
             ${PYTHON_PN}-pyflakes"
 
-SRC_URI[md5sum] = "6466619b89c2969dc57722ad73f85676"
-SRC_URI[sha256sum] = "dd33eb70232b6118298d516bbcecd26704689c386594f0f3c4f13867b2c56f72"
+SRC_URI[sha256sum] = "7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc"
-- 
2.17.1


  parent reply	other threads:[~2021-01-11 15:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-11 15:25 [meta-python][PATCH 01/10] python3-pillow: Upgrade 7.2.0 -> 8.1.0 Leon Anavi
2021-01-11 15:25 ` [meta-python][PATCH 02/10] python3-croniter: Upgrade 0.3.37 -> 1.0.1 Leon Anavi
2021-01-12 16:13   ` [oe] " Trevor Gamblin
2021-01-11 15:25 ` [meta-python][PATCH 03/10] python3-pychromecast: Upgrade 7.7.1 -> 7.7.2 Leon Anavi
2021-01-12 16:13   ` [oe] " Trevor Gamblin
2021-01-11 15:25 ` [meta-python][PATCH 04/10] python3-hyperlink: Upgrade 20.0.1 -> 21.0.0 Leon Anavi
2021-01-12 16:13   ` [oe] " Trevor Gamblin
2021-01-11 15:25 ` [meta-python][PATCH 05/10] python3-dnspython: Upgrade 2.0.0 -> 2.1.0 Leon Anavi
2021-01-12 16:15   ` [oe] " Trevor Gamblin
2021-01-11 15:25 ` [meta-python][PATCH 06/10] python3-prompt-toolkit: Upgrade 3.0.9 -> 3.0.10 Leon Anavi
2021-01-12 16:15   ` [oe] " Trevor Gamblin
2021-01-11 15:25 ` [meta-python][PATCH 07/10] python3-ptyprocess: Upgrade 0.6.0 -> 0.7.0 Leon Anavi
2021-01-12 16:15   ` [oe] " Trevor Gamblin
2021-01-11 15:25 ` [meta-python][PATCH 08/10] python3-certifi: Upgrade 2020.11.8 -> 2020.12.5 Leon Anavi
2021-01-12 16:15   ` [oe] " Trevor Gamblin
2021-01-11 15:25 ` [meta-python][PATCH 09/10] python3-jedi: Upgrade 0.17.2 -> 0.18.0 Leon Anavi
2021-01-12 16:15   ` [oe] " Trevor Gamblin
2021-01-11 15:25 ` Leon Anavi [this message]
2021-01-12 16:16   ` [oe] [meta-python][PATCH 10/10] python3-mock: Upgrade 4.0.2 -> 4.0.3 Trevor Gamblin
2021-01-12 16:12 ` [oe] [meta-python][PATCH 01/10] python3-pillow: Upgrade 7.2.0 -> 8.1.0 Trevor Gamblin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210111152512.23506-10-leon.anavi@konsulko.com \
    --to=leon.anavi@konsulko.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.