python3Packages.primp: 1.2.2 -> 1.2.3; python3Packages.ddgs: 9.13.1 -> 9.14.1 (#511242)
This commit is contained in:
@@ -8,20 +8,21 @@
|
||||
mcp,
|
||||
primp,
|
||||
setuptools,
|
||||
trio,
|
||||
uvicorn,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "ddgs";
|
||||
version = "9.13.1";
|
||||
version = "9.14.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deedy5";
|
||||
repo = "ddgs";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-PCw6P8bYFmdRzDGyOsJ5vOBR8oEQkOSbvy5lGmkzdMQ=";
|
||||
hash = "sha256-KA8MIuzArdkP/nlkaKdqJd/15Lb36Q7ePbVUf81iY6M=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -40,6 +41,11 @@ buildPythonPackage (finalAttrs: {
|
||||
mcp = [
|
||||
mcp
|
||||
];
|
||||
dht = [
|
||||
fastapi
|
||||
uvicorn
|
||||
trio
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ versionCheckHook ];
|
||||
|
||||
+660
-410
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"
|
||||
|
||||
Reference in New Issue
Block a user