Skip to content

[Python] Unit tests fail with Python debug builds #19224

Open
@guitargeek

Description

@guitargeek

Description

After #19222 and #19223, which generally make ROOT work with debug versions of the Python interpreter, there are still unit tests failing:

The following tests FAILED:
	 10 - pyunittests-bindings-pyroot-cppyy-cppyy-test-fragile (Failed) python python_runtime_deps
	 19 - pyunittests-bindings-pyroot-cppyy-cppyy-test-templates (Failed) python python_runtime_deps
	 20 - pyunittests-bindings-pyroot-cppyy-cppyy-test-concurrent (Failed) python python_runtime_deps
	 22 - pyunittests-bindings-pyroot-cppyy-cppyy-test-stltypes (Failed) python python_runtime_deps

The following tests FAILED:
	  4 - pyunittests-bindings-pyroot-pythonizations-pyroot-pyz-pretty-printing (Failed) python
	 47 - pyunittests-bindings-pyroot-pythonizations-pyroot-pyz-rvec (Failed) python

The following tests FAILED:
	110 - roottest-python-regression-regression (Failed)    longtest

I could use a hand fixing these @Vipul-Cariappa. It's a good thing to do, because often the asserts that fail are relevant for thread safety, so this is a good exercise in preparation for free threaded Python.

We should probably prioritize the failures in the pyroot-pythonizations tests, because the other failures might to away with the new cppyy based on libInterOp anyway.

Once the tests pass, we can use the debug version of the Python interpreter in one of our CI configurations.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions