-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python312Packages.opensearch-py: fix build (#357642)
- Loading branch information
Showing
6 changed files
with
85 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
lib, | ||
buildPythonPackage, | ||
fetchPypi, | ||
setuptools, | ||
mock, | ||
pytestCheckHook, | ||
requests, | ||
}: | ||
buildPythonPackage rec { | ||
pname = "pygelf"; | ||
version = "0.4.2"; | ||
pyproject = true; | ||
|
||
src = fetchPypi { | ||
pname = "pygelf"; | ||
inherit version; | ||
hash = "sha256-0LuPRf9kipoYdxP0oFwJ9oX8uK3XsEu3Rx8gBxvRGq0="; | ||
}; | ||
|
||
build-system = [ setuptools ]; | ||
|
||
pythonImportsCheck = [ "pygelf" ]; | ||
|
||
nativeCheckInputs = [ | ||
mock | ||
pytestCheckHook | ||
requests | ||
]; | ||
|
||
disabledTests = [ | ||
# ConnectionRefusedError: [Errno 111] Connection refused | ||
"test_static_fields" | ||
"test_dynamic_fields" | ||
]; | ||
|
||
disabledTestPaths = [ | ||
# These tests requires files that are stripped off by Pypi packaging | ||
"tests/test_queuehandler_support.py" | ||
"tests/test_debug_mode.py" | ||
"tests/test_common_fields.py" | ||
]; | ||
|
||
meta = { | ||
description = "Python logging handlers with GELF (Graylog Extended Log Format) support"; | ||
homepage = "https://github.com/keeprocking/pygelf"; | ||
license = lib.licenses.bsd3; | ||
maintainers = with lib.maintainers; [ drupol ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters