Skip to content

Test failures on Python 3.13.0b1 #12323

Closed
@mgorny

Description

@mgorny

I don't seem to be able to find a bug for tracking Python 3.13 support, so I hope it's fine if I file one.

$ tox -e py313
.pkg: _optional_hooks> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: get_requires_for_build_sdist> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: get_requires_for_build_editable> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: build_sdist> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta
py313: install_package> python -I -m pip install --force-reinstall --no-deps /tmp/pytest/.tox/.tmp/package/2/pytest-8.3.0.dev38+g93dd34e76.tar.gz
py313: commands[0]> pytest
============================= test session starts ==============================
platform linux -- Python 3.13.0b1, pytest-8.3.0.dev38+g93dd34e76, pluggy-1.5.0
cachedir: .tox/py313/.pytest_cache
rootdir: /tmp/pytest
configfile: pyproject.toml
testpaths: testing
plugins: hypothesis-6.102.1
collected 3668 items

[…]
=========================== short test summary info ============================
FAILED testing/code/test_excinfo.py::TestTraceback_f_g_h::test_traceback_recursion_index
FAILED testing/code/test_excinfo.py::TestFormattedExcinfo::test_repr_traceback_recursion
FAILED testing/code/test_excinfo.py::test_exception_repr_extraction_error_on_recursion
FAILED testing/code/test_source.py::test_getfslineno - assert 368 == -1
FAILED testing/test_collection.py::TestSession::test_collect_protocol_single_function
FAILED testing/test_collection.py::TestSession::test_collect_custom_nodes_multi_id
FAILED testing/test_collection.py::TestSession::test_collect_subdir_event_ordering
FAILED testing/test_collection.py::TestSession::test_collect_two_commandline_args
FAILED testing/test_doctest.py::TestDoctests::test_doctest_unexpected_exception
FAILED testing/test_doctest.py::TestDoctests::test_doctest_linedata_on_property
FAILED testing/test_legacypath.py::test_testdir_makefile_ext_none_raises_type_error
XPASS testing/_py/test_local.py::TestLocalPath::test_make_numbered_dir_multiprocess_safe - #11603
= 11 failed, 3535 passed, 110 skipped, 11 xfailed, 1 xpassed in 138.50s (0:02:18) =
py313: exit 1 (139.10 seconds) /tmp/pytest> pytest pid=65870
  py313: FAIL code 1 (145.84=setup[6.73]+cmd[139.10] seconds)
  evaluation failed :( (146.00 seconds)

This is on Gentoo Linux amd64, with 93dd34e.

Full log:
py313.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions