python3Packages.primp: 1.2.2 -> 1.2.3

This commit is contained in:
Clément
2026-04-22 13:22:37 -07:00
parent 732591f662
commit 7b6fa0ed39
2 changed files with 669 additions and 412 deletions
File diff suppressed because it is too large Load Diff
@@ -11,14 +11,14 @@
buildPythonPackage (finalAttrs: {
pname = "primp";
version = "1.2.2";
version = "1.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "deedy5";
repo = "primp";
tag = "v${finalAttrs.version}";
hash = "sha256-AOMlf7Qo9CJFyEUXdtQuwnFQVBzejHTc6UHie/OlHOo=";
hash = "sha256-W5wjsuehTIdrImBVkmcEptiEE0CtlHJZ0kAbP3f3TTg=";
};
# The Cargo.lock is not pushed upstream
@@ -43,6 +43,13 @@ buildPythonPackage (finalAttrs: {
pytestCheckHook
pytest-asyncio
];
# pytest runs from the source root but asyncio_mode=auto is configured in
# crates/primp-python/pyproject.toml, which pytest doesn't pick up from there
pytestFlagsArray = [
"-o"
"asyncio_mode=auto"
];
disabledTestPaths = [
"crates/primp-python/tests/test_impersonate.py"
"crates/primp-python/tests/test_header_order.py"