diff --git a/NEWS.md b/NEWS.md index b3d57757..661dd97b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,10 @@ * Nothing +# Version 22.3.1 (2023-03-17) + +* Add rlimit binary for aarch64-darwin + # Version 22.3.0 (2023-03-09) * Add support for M1/M2 MacOS (aarch64-darwin platform) diff --git a/setup.py b/setup.py index 95e6bfd6..c32f46f6 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,14 @@ "stevedore>1.20.0", ] -extras_require = {"config": ["tomlkit", "typeguard"], "test": ["pytest-socket"]} +extras_require = { + "config": [ + "tomlkit", + # There are some backward incompatible checks in typeguard 3.x + "typeguard<3.0.0", + ], + "test": ["pytest-socket"], +} for p in ("darwin", "linux", "linux2", "win32"): platform_string = ":sys_platform=='%s'" % p diff --git a/src/e3/json.py b/src/e3/json.py index c5b6692d..d6b97e6c 100644 --- a/src/e3/json.py +++ b/src/e3/json.py @@ -1,6 +1,4 @@ """Utility functions related to json.""" - - from __future__ import annotations import json diff --git a/src/e3/os/data/rlimit-aarch64-darwin b/src/e3/os/data/rlimit-aarch64-darwin new file mode 100755 index 00000000..86e6219b Binary files /dev/null and b/src/e3/os/data/rlimit-aarch64-darwin differ diff --git a/tests/coverage/base.rc b/tests/coverage/base.rc index d7d0089d..4e8f50aa 100644 --- a/tests/coverage/base.rc +++ b/tests/coverage/base.rc @@ -3,7 +3,7 @@ branch = False # we can probably activate it once we have more coverage [report] -fail_under = 94 +fail_under = 90 omit = *mypy.py exclude_lines =