14
0
forked from pool/python-invoke
Files
python-invoke/remove-icecream.patch
Markéta Machová 3e8a2ac7b4 - Update to 2.2.1
* [Bug] #1038: (fixed in #1040) Python 3.14 tweaked the behavior
    of fcntl to raise SystemError on buffer overflows, which our
    interpretation of termios.TIOCGWINSZ technically was (we care
    only about the first two fields in what is technically a four-
    field struct with half the fields unused). This has been fixed
    by unpacking all 4 fields and then discarding the unused fields
    during processing.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=53
2025-11-11 16:26:02 +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!)