Hi,
On Wed, Sep 02, 2026 at 09:37:44AM +0200, Matthias Klose wrote:
> see https://ci.debian.net/packages/j/jaydebeapi/testing/amd64/75003387/
>
> [...]
> 63s ======================================================================
> 63s ERROR: test_class_subprocess_dying_after_the_tests_is_reported
> (test.test_support.TestIsolated.test_class_subprocess_dying_after_the_tests_is_reported)
> 63s ----------------------------------------------------------------------
> 63s Traceback (most recent call last):
> 63s File "/usr/lib/python3.14/test/test_support.py", line 957, in
> test_class_subprocess_dying_after_the_tests_is_reported
> 63s from test._isolated_sample import EXIT_CODE
> 63s ModuleNotFoundError: No module named 'test._isolated_sample'
Looks like it errornously tries to run the python3 upstream testsuite,
if you ask me.
I might have copy-pasted too much for the initial jaydebeapi packaging and some
closer looks after fixing this so that the actual testsuite is run shows that
it is severely broken anyway:
|ERROR: test_sql_exception_on_rollback
(test_mock.MockTest.test_sql_exception_on_rollback)
|----------------------------------------------------------------------
|Traceback (most recent call last):
| File "/tmp/autopkgtest.kTK5iZ/build.35V/src/test/test_mock.py", line 30, in
setUp
| self.conn = jaydebeapi.connect('org.jaydebeapi.mockdriver.MockDriver',
| ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| 'jdbc:jaydebeapi://dummyurl')
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/jaydebeapi/__init__.py", line 413, in
connect
| jconn = _jdbc_connect(jclassname, url, driver_args, jars, libs)
| File "/usr/lib/python3/dist-packages/jaydebeapi/__init__.py", line 222, in
_jdbc_connect_jpype
| jpype.JClass(jclassname)
| ~~~~~~~~~~~~^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/jpype/_jclass.py", line 99, in __new__
| return _jpype._getClass(jc)
| ~~~~~~~~~~~~~~~~^^^^
|TypeError: Class org.jaydebeapi.mockdriver.MockDriver is not found
|
|----------------------------------------------------------------------
|Ran 50 tests in 0.416s
|
|FAILED (errors=49, skipped=1)
I'll disable the test suite for now and rethink this.
Thanks,
Michael