python-cachelib-0.13.0 fails to build with Python 3.13: pytest.PytestUnraisableExceptionWarning: Exception ignored in PyMapping_HasKeyString(); consider using PyMapping_HasKeyStringWithError(), PyMapping_GetOptionalItemString() or PyMapping_GetItemString(): None #400
Some pytest output
```bash + /usr/bin/pytest -v -r s -k 'not Uwsgi and not DynamoDb and not MongoDb' ============================= test session starts ============================== platform linux -- Python 3.13.0b2, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-cachelib-0.13.0-build/cachelib-0.13.0 configfile: setup.cfg testpaths: tests plugins: xprocess-1.0.2 collecting ... collected 160 items / 22 deselected / 1 skipped / 138 selected tests/test_base_cache.py::TestBaseCache::test_get PASSED [ 0%] tests/test_base_cache.py::TestBaseCache::test_delete PASSED [ 1%] tests/test_base_cache.py::TestBaseCache::test_get_many PASSED [ 2%] tests/test_base_cache.py::TestBaseCache::test_get_dict PASSED [ 2%] tests/test_base_cache.py::TestBaseCache::test_set PASSED [ 3%] tests/test_base_cache.py::TestBaseCache::test_add PASSED [ 4%] tests/test_base_cache.py::TestBaseCache::test_set_many PASSED [ 5%] tests/test_base_cache.py::TestBaseCache::test_delete_many PASSED [ 5%] tests/test_base_cache.py::TestBaseCache::test_has PASSED [ 6%] tests/test_base_cache.py::TestBaseCache::test_clear PASSED [ 7%] tests/test_base_cache.py::TestBaseCache::test_inc PASSED [ 7%] tests/test_base_cache.py::TestBaseCache::test_dec PASSED [ 8%] tests/test_file_system_cache.py::TestFileSystemCache::test_has[FileSystemCache] PASSED [ 9%] tests/test_file_system_cache.py::TestFileSystemCache::test_has[CustomSerializerCache] PASSED [ 10%] tests/test_file_system_cache.py::TestFileSystemCache::test_has[CustomHashingMethodCache] PASSED [ 10%] tests/test_file_system_cache.py::TestFileSystemCache::test_has[CustomDefaultHashingMethodCache] PASSED [ 11%] tests/test_file_system_cache.py::TestFileSystemCache::test_clear[FileSystemCache] PASSED [ 12%] tests/test_file_system_cache.py::TestFileSystemCache::test_clear[CustomSerializerCache] PASSED [ 13%] tests/test_file_system_cache.py::TestFileSystemCache::test_clear[CustomHashingMethodCache] PASSED [ 13%] tests/test_file_system_cache.py::TestFileSystemCache::test_clear[CustomDefaultHashingMethodCache] PASSED [ 14%] tests/test_file_system_cache.py::TestFileSystemCache::test_set_get[FileSystemCache] PASSED [ 15%] tests/test_file_system_cache.py::TestFileSystemCache::test_set_get[CustomSerializerCache] PASSED [ 15%] tests/test_file_system_cache.py::TestFileSystemCache::test_set_get[CustomHashingMethodCache] PASSED [ 16%] tests/test_file_system_cache.py::TestFileSystemCache::test_set_get[CustomDefaultHashingMethodCache] PASSED [ 17%] tests/test_file_system_cache.py::TestFileSystemCache::test_set_get_many[FileSystemCache] PASSED [ 18%] tests/test_file_system_cache.py::TestFileSystemCache::test_set_get_many[CustomSerializerCache] PASSED [ 18%] tests/test_file_system_cache.py::TestFileSystemCache::test_set_get_many[CustomHashingMethodCache] PASSED [ 19%] tests/test_file_system_cache.py::TestFileSystemCache::test_set_get_many[CustomDefaultHashingMethodCache] PASSED [ 20%] tests/test_file_system_cache.py::TestFileSystemCache::test_get_dict[FileSystemCache] PASSED [ 21%] tests/test_file_system_cache.py::TestFileSystemCache::test_get_dict[CustomSerializerCache] PASSED [ 21%] tests/test_file_system_cache.py::TestFileSystemCache::test_get_dict[CustomHashingMethodCache] PASSED [ 22%] tests/test_file_system_cache.py::TestFileSystemCache::test_get_dict[CustomDefaultHashingMethodCache] PASSED [ 23%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete[FileSystemCache] PASSED [ 23%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete[CustomSerializerCache] PASSED [ 24%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete[CustomHashingMethodCache] PASSED [ 25%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete[CustomDefaultHashingMethodCache] PASSED [ 26%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete_many[FileSystemCache] PASSED [ 26%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete_many[CustomSerializerCache] PASSED [ 27%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete_many[CustomHashingMethodCache] PASSED [ 28%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete_many[CustomDefaultHashingMethodCache] PASSED [ 28%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete_many_ignore_errors[FileSystemCache] PASSED [ 29%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete_many_ignore_errors[CustomSerializerCache] PASSED [ 30%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete_many_ignore_errors[CustomHashingMethodCache] PASSED [ 31%] tests/test_file_system_cache.py::TestFileSystemCache::test_delete_many_ignore_errors[CustomDefaultHashingMethodCache] PASSED [ 31%] tests/test_file_system_cache.py::TestFileSystemCache::test_add[FileSystemCache] PASSED [ 32%] tests/test_file_system_cache.py::TestFileSystemCache::test_add[CustomSerializerCache] PASSED [ 33%] tests/test_file_system_cache.py::TestFileSystemCache::test_add[CustomHashingMethodCache] PASSED [ 34%] tests/test_file_system_cache.py::TestFileSystemCache::test_add[CustomDefaultHashingMethodCache] PASSED [ 34%] tests/test_file_system_cache.py::TestFileSystemCache::test_inc_dec[FileSystemCache] PASSED [ 35%] tests/test_file_system_cache.py::TestFileSystemCache::test_inc_dec[CustomSerializerCache] PASSED [ 36%] tests/test_file_system_cache.py::TestFileSystemCache::test_inc_dec[CustomHashingMethodCache] PASSED [ 36%] tests/test_file_system_cache.py::TestFileSystemCache::test_inc_dec[CustomDefaultHashingMethodCache] PASSED [ 37%] tests/test_file_system_cache.py::TestFileSystemCache::test_expiration[FileSystemCache] PASSED [ 38%] tests/test_file_system_cache.py::TestFileSystemCache::test_expiration[CustomSerializerCache] PASSED [ 39%] tests/test_file_system_cache.py::TestFileSystemCache::test_expiration[CustomHashingMethodCache] PASSED [ 39%] tests/test_file_system_cache.py::TestFileSystemCache::test_expiration[CustomDefaultHashingMethodCache] PASSED [ 40%] tests/test_file_system_cache.py::TestFileSystemCache::test_EOFError[FileSystemCache] PASSED [ 41%] tests/test_file_system_cache.py::TestFileSystemCache::test_EOFError[CustomSerializerCache] PASSED [ 42%] tests/test_file_system_cache.py::TestFileSystemCache::test_EOFError[CustomHashingMethodCache] PASSED [ 42%] tests/test_file_system_cache.py::TestFileSystemCache::test_EOFError[CustomDefaultHashingMethodCache] PASSED [ 43%] tests/test_file_system_cache.py::TestFileSystemCache::test_threshold[FileSystemCache] PASSED [ 44%] tests/test_file_system_cache.py::TestFileSystemCache::test_threshold[CustomSerializerCache] PASSED [ 44%] tests/test_file_system_cache.py::TestFileSystemCache::test_threshold[CustomHashingMethodCache] PASSED [ 45%] tests/test_file_system_cache.py::TestFileSystemCache::test_threshold[CustomDefaultHashingMethodCache] PASSED [ 46%] tests/test_file_system_cache.py::TestFileSystemCache::test_file_counting[FileSystemCache] PASSED [ 47%] tests/test_file_system_cache.py::TestFileSystemCache::test_file_counting[CustomSerializerCache] PASSED [ 47%] tests/test_file_system_cache.py::TestFileSystemCache::test_file_counting[CustomHashingMethodCache] PASSED [ 48%] tests/test_file_system_cache.py::TestFileSystemCache::test_file_counting[CustomDefaultHashingMethodCache] PASSED [ 49%] tests/test_file_system_cache.py::TestFileSystemCache::test_file_counting_on_override[FileSystemCache] PASSED [ 50%] tests/test_file_system_cache.py::TestFileSystemCache::test_file_counting_on_override[CustomSerializerCache] PASSED [ 50%] tests/test_file_system_cache.py::TestFileSystemCache::test_file_counting_on_override[CustomHashingMethodCache] PASSED [ 51%] tests/test_file_system_cache.py::TestFileSystemCache::test_file_counting_on_override[CustomDefaultHashingMethodCache] PASSED [ 52%] tests/test_file_system_cache.py::TestFileSystemCache::test_prune_old_entries[FileSystemCache] PASSED [ 52%] tests/test_file_system_cache.py::TestFileSystemCache::test_prune_old_entries[CustomSerializerCache] PASSED [ 53%] tests/test_file_system_cache.py::TestFileSystemCache::test_prune_old_entries[CustomHashingMethodCache] PASSED [ 54%] tests/test_file_system_cache.py::TestFileSystemCache::test_prune_old_entries[CustomDefaultHashingMethodCache] PASSED [ 55%] tests/test_interface_uniformity.py::TestInterfaceUniformity::test_types_have_all_base_methods ERROR [ 55%] tests/test_memcached_cache.py::TestMemcachedCache::test_has FAILED [ 56%] tests/test_memcached_cache.py::TestMemcachedCache::test_clear FAILED [ 57%] tests/test_memcached_cache.py::TestMemcachedCache::test_set_get FAILED [ 57%] tests/test_memcached_cache.py::TestMemcachedCache::test_set_get_many FAILED [ 58%] tests/test_memcached_cache.py::TestMemcachedCache::test_get_dict FAILED [ 59%] tests/test_memcached_cache.py::TestMemcachedCache::test_delete FAILED [ 60%] tests/test_memcached_cache.py::TestMemcachedCache::test_delete_many FAILED [ 60%] tests/test_memcached_cache.py::TestMemcachedCache::test_delete_many_ignore_errors FAILED [ 61%] tests/test_memcached_cache.py::TestMemcachedCache::test_add FAILED [ 62%] tests/test_memcached_cache.py::TestMemcachedCache::test_inc_dec FAILED [ 63%] tests/test_memcached_cache.py::TestMemcachedCache::test_expiration FAILED [ 63%] tests/test_redis_cache.py::TestRedisCache::test_has[RedisCache] PASSED [ 64%] tests/test_redis_cache.py::TestRedisCache::test_has[CustomCache] PASSED [ 65%] tests/test_redis_cache.py::TestRedisCache::test_clear[RedisCache] PASSED [ 65%] tests/test_redis_cache.py::TestRedisCache::test_clear[CustomCache] PASSED [ 66%] tests/test_redis_cache.py::TestRedisCache::test_set_get[RedisCache] PASSED [ 67%] tests/test_redis_cache.py::TestRedisCache::test_set_get[CustomCache] PASSED [ 68%] tests/test_redis_cache.py::TestRedisCache::test_set_get_many[RedisCache] PASSED [ 68%] tests/test_redis_cache.py::TestRedisCache::test_set_get_many[CustomCache] PASSED [ 69%] tests/test_redis_cache.py::TestRedisCache::test_get_dict[RedisCache] PASSED [ 70%] tests/test_redis_cache.py::TestRedisCache::test_get_dict[CustomCache] PASSED [ 71%] tests/test_redis_cache.py::TestRedisCache::test_delete[RedisCache] PASSED [ 71%] tests/test_redis_cache.py::TestRedisCache::test_delete[CustomCache] PASSED [ 72%] tests/test_redis_cache.py::TestRedisCache::test_delete_many[RedisCache] PASSED [ 73%] tests/test_redis_cache.py::TestRedisCache::test_delete_many[CustomCache] PASSED [ 73%] tests/test_redis_cache.py::TestRedisCache::test_delete_many_ignore_errors[RedisCache] PASSED [ 74%] tests/test_redis_cache.py::TestRedisCache::test_delete_many_ignore_errors[CustomCache] PASSED [ 75%] tests/test_redis_cache.py::TestRedisCache::test_add[RedisCache] PASSED [ 76%] tests/test_redis_cache.py::TestRedisCache::test_add[CustomCache] PASSED [ 76%] tests/test_redis_cache.py::TestRedisCache::test_inc_dec[RedisCache] PASSED [ 77%] tests/test_redis_cache.py::TestRedisCache::test_inc_dec[CustomCache] PASSED [ 78%] tests/test_redis_cache.py::TestRedisCache::test_expiration[RedisCache] PASSED [ 78%] tests/test_redis_cache.py::TestRedisCache::test_expiration[CustomCache] PASSED [ 79%] tests/test_redis_cache.py::TestRedisCache::test_callable_key[RedisCache] PASSED [ 80%] tests/test_redis_cache.py::TestRedisCache::test_callable_key[CustomCache] PASSED [ 81%] tests/test_simple_cache.py::TestSimpleCache::test_clear[SimpleCache] PASSED [ 81%] tests/test_simple_cache.py::TestSimpleCache::test_clear[CustomCache] PASSED [ 82%] tests/test_simple_cache.py::TestSimpleCache::test_has[SimpleCache] PASSED [ 83%] tests/test_simple_cache.py::TestSimpleCache::test_has[CustomCache] PASSED [ 84%] tests/test_simple_cache.py::TestSimpleCache::test_set_get[SimpleCache] PASSED [ 84%] tests/test_simple_cache.py::TestSimpleCache::test_set_get[CustomCache] PASSED [ 85%] tests/test_simple_cache.py::TestSimpleCache::test_set_get_many[SimpleCache] PASSED [ 86%] tests/test_simple_cache.py::TestSimpleCache::test_set_get_many[CustomCache] PASSED [ 86%] tests/test_simple_cache.py::TestSimpleCache::test_get_dict[SimpleCache] PASSED [ 87%] tests/test_simple_cache.py::TestSimpleCache::test_get_dict[CustomCache] PASSED [ 88%] tests/test_simple_cache.py::TestSimpleCache::test_delete[SimpleCache] PASSED [ 89%] tests/test_simple_cache.py::TestSimpleCache::test_delete[CustomCache] PASSED [ 89%] tests/test_simple_cache.py::TestSimpleCache::test_delete_many[SimpleCache] PASSED [ 90%] tests/test_simple_cache.py::TestSimpleCache::test_delete_many[CustomCache] PASSED [ 91%] tests/test_simple_cache.py::TestSimpleCache::test_delete_many_ignore_errors[SimpleCache] PASSED [ 92%] tests/test_simple_cache.py::TestSimpleCache::test_delete_many_ignore_errors[CustomCache] PASSED [ 92%] tests/test_simple_cache.py::TestSimpleCache::test_add[SimpleCache] PASSED [ 93%] tests/test_simple_cache.py::TestSimpleCache::test_add[CustomCache] PASSED [ 94%] tests/test_simple_cache.py::TestSimpleCache::test_inc_dec[SimpleCache] PASSED [ 94%] tests/test_simple_cache.py::TestSimpleCache::test_inc_dec[CustomCache] PASSED [ 95%] tests/test_simple_cache.py::TestSimpleCache::test_expiration[SimpleCache] PASSED [ 96%] tests/test_simple_cache.py::TestSimpleCache::test_expiration[CustomCache] PASSED [ 97%] tests/test_simple_cache.py::TestSimpleCache::test_threshold[SimpleCache] PASSED [ 97%] tests/test_simple_cache.py::TestSimpleCache::test_threshold[CustomCache] PASSED [ 98%] tests/test_simple_cache.py::TestSimpleCache::test_prune_old_entries[SimpleCache] PASSED [ 99%] tests/test_simple_cache.py::TestSimpleCache::test_prune_old_entries[CustomCache] PASSED [100%] ==================================== ERRORS ==================================== __ ERROR at setup of TestInterfaceUniformity.test_types_have_all_base_methods __ cls =detailed build log: https://copr-be.cloud.fedoraproject.org/results/%40python/python3.13/fedora-rawhide-x86_64/07545359-python-cachelib/builder-live.log.gz
https://bugzilla.redhat.com/show_bug.cgi?id=2251780
Environment: