#718·jc

test_version_info fails

Author: sudipm-mukherjeeCreated Jul 3, 2026Updated Aug 25, 2026
Labelsready-to-ship

test_version_info is failing while packaging 1.25.7 in Debian.

This is the error:

======================================================================
ERROR: test_version_info (tests.test_jc.MyTests.test_version_info)
Test that the lib and pkg version strings match.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_jc/build/tests/test_jc.py", line 51, in test_version_info
    with open(os.path.join(THIS_DIR, os.pardir, 'setup.py'), 'r', encoding='utf-8') as f:
         ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_jc/build/tests/../setup.py'

----------------------------------------------------------------------
Ran 1557 tests in 4.522s

FAILED (errors=1, skipped=1)