Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/makefun/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
fetchPypi,
buildPythonPackage,
pythonAtLeast,

# build-system
setuptools,
Expand Down Expand Up @@ -33,6 +34,11 @@ buildPythonPackage rec {

nativeCheckInputs = [ pytestCheckHook ];

disabledTests = lib.optionals (pythonAtLeast "3.12") [
# https://github.com/smarie/python-makefun/issues/102
"test_args_order_and_kind"
];

pythonImportsCheck = [ "makefun" ];

meta = with lib; {
Expand Down
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/twisted/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ buildPythonPackage rec {
echo 'WorkerReporterTests.test_addSkipPyunit.skip = "'WorkerReporter' object has no attribute '_testStarted'"' >> src/twisted/trial/_dist/test/test_workerreporter.py
echo 'LocalWorkerAMPTests.test_runSkip.skip = "twisted.protocols.amp.UnknownRemoteError: Code<UNKNOWN>: Unknown Error"' >> src/twisted/trial/_dist/test/test_worker.py

# https://github.com/twisted/twisted/issues/12194
echo 'FlattenerErrorTests.test_asynchronousFlattenError.skip = "builtins.KeyError: 'root'"' >> src/twisted/web/test/test_flatten.py
echo 'FlattenerErrorTests.test_cancel.skip = "builtins.KeyError: 'root'"' >> src/twisted/web/test/test_flatten.py

# not packaged
substituteInPlace src/twisted/test/test_failure.py \
--replace "from cython_test_exception_raiser import raiser # type: ignore[import]" "raiser = None"
Expand Down