python-invoke/remove-icecream.patch
Matej Cepl 83b558bd2a - Update to 2.1.0:
- [Bug] #910: Add more rigor around subprocess/runner shutdown
    to avoid spurious exceptions & also fix downstream issues in
    libraries like Fabric. Reported by Orlando Rodríguez.
  - [Bug] #934: The importlib upgrade in 2.1 had a corner case
    bug (regarding from . import <submodule> functionality within
    package-like task trees) which in turn exposed a false-pass
    in our test suite. Both have now been fixed. Thanks to Greg
    Meyer and Robert J. Berger for the bug reports.
  - [Bug] #910: Add more rigor around subprocess/runner shutdown
    to avoid spurious exceptions & also fix downstream issues in
    libraries like Fabric. Reported by Orlando Rodríguez.
  - [Support] #901: (via #903) Tweak test suite setup methods to
    be named setup_method so pytest stops whining about it. Patch
    via Jesse P. Johnson.
  - [Bug] #376: Resolve equality comparison bug for
    non-collections. Patch via Jesse P. Johnson
  - [Support] #901: (via #903) Tweak test suite setup methods to
    be named setup_method so pytest stops whining about it. Patch
    via Jesse P. Johnson.
  - [Support] #906: Implement type hints and type checking
    tests with mypy to reduce errors and impove code
    documentation. Patches by Jesse P. Johnson and review by Sam
    Bull.
  - [Support] #675: Implement importlib and deprecate imp
    module. Patches provided by Jesse P. Johnson
  - [Support]: Task.argspec has changed its return value; it now
    returns an inspect.Signature derived from that of the task’s
    body callable.
  - Warning

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=37
2023-05-11 12:17:11 +00:00

46 lines
1.0 KiB
Diff

---
dev-requirements.txt | 2 --
pyproject.toml | 4 ----
tests/conftest.py | 6 ------
3 files changed, 12 deletions(-)
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -16,8 +16,6 @@ flake8>=4,<5
black>=22.8,<22.9
# Packaging
setuptools>56
-# Debuggery
-icecream>=2.1
# typing
mypy==0.971
types-PyYAML==6.0.12.4
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -40,10 +40,6 @@ module = "alabaster"
ignore_missing_imports = true
[[tool.mypy.overrides]]
-module = "icecream"
-ignore_missing_imports = true
-
-[[tool.mypy.overrides]]
module = "invocations"
ignore_missing_imports = true
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -8,12 +8,6 @@ from unittest.mock import patch
from _util import support
-# Set up icecream globally for convenience.
-from icecream import install
-
-install()
-
-
# pytest seems to tweak logging such that Invoke's debug logs go to stderr,
# which is then hella spammy if one is using --capture=no (which one must in
# order to test low level terminal IO stuff, as we do!)