Bug 2203736 - python-rich fails to build with Python 3.12: AttributeError("'Foo' object has no attribute 'bar'")
Summary: python-rich fails to build with Python 3.12: AttributeError("'Foo' object has...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-rich
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2254184 (view as bug list)
Depends On:
Blocks: PYTHON3.12 PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2023-05-15 07:07 UTC by Tomáš Hrnčiar
Modified: 2023-12-14 13:39 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-12-14 13:39:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2023-05-15 07:07:53 UTC
python-rich fails to build with Python 3.12.0a7.

=================================== FAILURES ===================================
________________ test_inspect_builtin_function_except_python311 ________________

    @skip_py311
    @skip_pypy3
    def test_inspect_builtin_function_except_python311():
        # Pre-3.11 Python versions - print builtin has no signature available
        expected = (
            "╭────────── <built-in function print> ───────────╮\n"
            "│ def print(...)                                 │\n"
            "│                                                │\n"
            "│ print(value, ..., sep=' ', end='\\n',           │\n"
            "│ file=sys.stdout, flush=False)                  │\n"
            "│                                                │\n"
            "│ 29 attribute(s) not shown. Run                 │\n"
            "│ inspect(inspect) for options.                  │\n"
            "╰────────────────────────────────────────────────╯\n"
        )
>       assert render(print) == expected
E       assert "╭────────── <built-in function print> ───────────╮\n│ def print(*args, sep=' ', end='\\n', file=None, │\n│ flush=False):                                  │\n│                                                │\n│ Prints the values to a stream, or to           │\n│ sys.stdout by default.                         │\n│                                                │\n│ 30 attribute(s) not shown. Run                 │\n│ inspect(inspect) for options.                  │\n╰────────────────────────────────────────────────╯\n" == "╭────────── <built-in function print> ───────────╮\n│ def print(...)                                 │\n│                                                │\n│ print(value, ..., sep=' ', end='\\n',           │\n│ file=sys.stdout, flush=False)                  │\n│                                                │\n│ 29 attribute(s) not shown. Run                 │\n│ inspect(inspect) for options.                  │\n╰────────────────────────────────────────────────╯\n"
E           ╭────────── <built-in function print> ───────────╮
E         + │ def print(*args, sep=' ', end='\n', file=None, │
E         - │ def print(...)                                 │
E         ?   ^ -----------
E         + │ flush=False):                                  │
E         ?   ^^^^^^^^^^  ++
E           │                                                │
E         - │ print(value, ..., sep=' ', end='\n',           │
E         - │ file=sys.stdout, flush=False)                  │
E         + │ Prints the values to a stream, or to           │
E         + │ sys.stdout by default.                         │
E           │                                                │
E         - │ 29 attribute(s) not shown. Run                 │
E         ?   ^^
E         + │ 30 attribute(s) not shown. Run                 │
E         ?   ^^
E           │ inspect(inspect) for options.                  │
E           ╰────────────────────────────────────────────────╯

tests/test_inspect.py:153: AssertionError
___________ test_inspect_integer_with_methods_python38_and_python39 ____________

    @skip_py37
    @skip_py310
    @skip_py311
    def test_inspect_integer_with_methods_python38_and_python39():
        expected = (
            "╭──────────────── <class 'int'> ─────────────────╮\n"
            "│ int([x]) -> integer                            │\n"
            "│ int(x, base=10) -> integer                     │\n"
            "│                                                │\n"
            "│      denominator = 1                           │\n"
            "│             imag = 0                           │\n"
            "│        numerator = 1                           │\n"
            "│             real = 1                           │\n"
            "│ as_integer_ratio = def as_integer_ratio():     │\n"
            "│                    Return integer ratio.       │\n"
            "│       bit_length = def bit_length(): Number of │\n"
            "│                    bits necessary to represent │\n"
            "│                    self in binary.             │\n"
            "│        conjugate = def conjugate(...) Returns  │\n"
            "│                    self, the complex conjugate │\n"
            "│                    of any int.                 │\n"
            "│       from_bytes = def from_bytes(bytes,       │\n"
            "│                    byteorder, *,               │\n"
            "│                    signed=False): Return the   │\n"
            "│                    integer represented by the  │\n"
            "│                    given array of bytes.       │\n"
            "│         to_bytes = def to_bytes(length,        │\n"
            "│                    byteorder, *,               │\n"
            "│                    signed=False): Return an    │\n"
            "│                    array of bytes representing │\n"
            "│                    an integer.                 │\n"
            "╰────────────────────────────────────────────────╯\n"
        )
>       assert render(1, methods=True) == expected
E       assert "╭──────────────── <class 'int'> ─────────────────╮\n│ int([x]) -> integer                            │\n│ int(x, base=10) -> integer                     │\n│                                                │\n│      denominator = 1                           │\n│             imag = 0                           │\n│        numerator = 1                           │\n│             real = 1                           │\n│ as_integer_ratio = def as_integer_ratio():     │\n│                    Return a pair of integers,  │\n│                    whose ratio is equal to the │\n│                    original int.               │\n│        bit_count = def bit_count(): Number of  │\n│                    ones in the binary          │\n│                    representation of the       │\n│                    absolute value of self.     │\n│       bit_length = def bit_length(): Number of │\n│                    bits necessary to represent │\n│                    self in binary.             │\n│        conjugate = def conjugate(...) Returns  │\n│                    self, the complex conjugate │\n│                    of any int.                 │\n│       from_bytes = def from_bytes(bytes,       │\n│                    byteorder='big', *,         │\n│                    signed=False): Return the   │\n│                    integer represented by the  │\n│                    given array of bytes.       │\n│       is_integer = def is_integer(): Returns   │\n│                    True. Exists for duck type  │\n│                    compatibility with          │\n│                    float.is_integer.           │\n│         to_bytes = def to_bytes(length=1,      │\n│                    byteorder='big', *,         │\n│                    signed=False): Return an    │\n│                    array of bytes representing │\n│                    an integer.                 │\n╰────────────────────────────────────────────────╯\n" == "╭──────────────── <class 'int'> ─────────────────╮\n│ int([x]) -> integer                            │\n│ int(x, base=10) -> integer                     │\n│                                                │\n│      denominator = 1                           │\n│             imag = 0                           │\n│        numerator = 1                           │\n│             real = 1                           │\n│ as_integer_ratio = def as_integer_ratio():     │\n│                    Return integer ratio.       │\n│       bit_length = def bit_length(): Number of │\n│                    bits necessary to represent │\n│                    self in binary.             │\n│        conjugate = def conjugate(...) Returns  │\n│                    self, the complex conjugate │\n│                    of any int.                 │\n│       from_bytes = def from_bytes(bytes,       │\n│                    byteorder, *,               │\n│                    signed=False): Return the   │\n│                    integer represented by the  │\n│                    given array of bytes.       │\n│         to_bytes = def to_bytes(length,        │\n│                    byteorder, *,               │\n│                    signed=False): Return an    │\n│                    array of bytes representing │\n│                    an integer.                 │\n╰────────────────────────────────────────────────╯\n"
E           ╭──────────────── <class 'int'> ─────────────────╮
E           │ int([x]) -> integer                            │
E           │ int(x, base=10) -> integer                     │
E           │                                                │
E           │      denominator = 1                           │
E           │             imag = 0                           │
E           │        numerator = 1                           │
E           │             real = 1                           │
E           │ as_integer_ratio = def as_integer_ratio():     │
E         - │                    Return integer ratio.       │
E         ?                                    ^^^^^^^^^^^^
E         + │                    Return a pair of integers,  │
E         ?                            ++++++++++        ^^
E         + │                    whose ratio is equal to the │
E         + │                    original int.               │
E         + │        bit_count = def bit_count(): Number of  │
E         + │                    ones in the binary          │
E         + │                    representation of the       │
E         + │                    absolute value of self.     │
E           │       bit_length = def bit_length(): Number of │
E           │                    bits necessary to represent │
E           │                    self in binary.             │
E           │        conjugate = def conjugate(...) Returns  │
E           │                    self, the complex conjugate │
E           │                    of any int.                 │
E           │       from_bytes = def from_bytes(bytes,       │
E         - │                    byteorder, *,               │
E         ?                                            ------
E         + │                    byteorder='big', *,         │
E         ?                               ++++++
E           │                    signed=False): Return the   │
E           │                    integer represented by the  │
E           │                    given array of bytes.       │
E         + │       is_integer = def is_integer(): Returns   │
E         + │                    True. Exists for duck type  │
E         + │                    compatibility with          │
E         + │                    float.is_integer.           │
E         - │         to_bytes = def to_bytes(length,        │
E         ?                                          --
E         + │         to_bytes = def to_bytes(length=1,      │
E         ?                                         ++
E         - │                    byteorder, *,               │
E         ?                                            ------
E         + │                    byteorder='big', *,         │
E         ?                               ++++++
E           │                    signed=False): Return an    │
E           │                    array of bytes representing │
E           │                    an integer.                 │
E           ╰────────────────────────────────────────────────╯

tests/test_inspect.py:245: AssertionError
_______________ test_inspect_integer_with_methods_python310only ________________

    @skip_py37
    @skip_py38
    @skip_py39
    @skip_py311
    def test_inspect_integer_with_methods_python310only():
        expected = (
            "╭──────────────── <class 'int'> ─────────────────╮\n"
            "│ int([x]) -> integer                            │\n"
            "│ int(x, base=10) -> integer                     │\n"
            "│                                                │\n"
            "│      denominator = 1                           │\n"
            "│             imag = 0                           │\n"
            "│        numerator = 1                           │\n"
            "│             real = 1                           │\n"
            "│ as_integer_ratio = def as_integer_ratio():     │\n"
            "│                    Return integer ratio.       │\n"
            "│        bit_count = def bit_count(): Number of  │\n"
            "│                    ones in the binary          │\n"
            "│                    representation of the       │\n"
            "│                    absolute value of self.     │\n"
            "│       bit_length = def bit_length(): Number of │\n"
            "│                    bits necessary to represent │\n"
            "│                    self in binary.             │\n"
            "│        conjugate = def conjugate(...) Returns  │\n"
            "│                    self, the complex conjugate │\n"
            "│                    of any int.                 │\n"
            "│       from_bytes = def from_bytes(bytes,       │\n"
            "│                    byteorder, *,               │\n"
            "│                    signed=False): Return the   │\n"
            "│                    integer represented by the  │\n"
            "│                    given array of bytes.       │\n"
            "│         to_bytes = def to_bytes(length,        │\n"
            "│                    byteorder, *,               │\n"
            "│                    signed=False): Return an    │\n"
            "│                    array of bytes representing │\n"
            "│                    an integer.                 │\n"
            "╰────────────────────────────────────────────────╯\n"
        )
>       assert render(1, methods=True) == expected
E       assert "╭──────────────── <class 'int'> ─────────────────╮\n│ int([x]) -> integer                            │\n│ int(x, base=10) -> integer                     │\n│                                                │\n│      denominator = 1                           │\n│             imag = 0                           │\n│        numerator = 1                           │\n│             real = 1                           │\n│ as_integer_ratio = def as_integer_ratio():     │\n│                    Return a pair of integers,  │\n│                    whose ratio is equal to the │\n│                    original int.               │\n│        bit_count = def bit_count(): Number of  │\n│                    ones in the binary          │\n│                    representation of the       │\n│                    absolute value of self.     │\n│       bit_length = def bit_length(): Number of │\n│                    bits necessary to represent │\n│                    self in binary.             │\n│        conjugate = def conjugate(...) Returns  │\n│                    self, the complex conjugate │\n│                    of any int.                 │\n│       from_bytes = def from_bytes(bytes,       │\n│                    byteorder='big', *,         │\n│                    signed=False): Return the   │\n│                    integer represented by the  │\n│                    given array of bytes.       │\n│       is_integer = def is_integer(): Returns   │\n│                    True. Exists for duck type  │\n│                    compatibility with          │\n│                    float.is_integer.           │\n│         to_bytes = def to_bytes(length=1,      │\n│                    byteorder='big', *,         │\n│                    signed=False): Return an    │\n│                    array of bytes representing │\n│                    an integer.                 │\n╰────────────────────────────────────────────────╯\n" == "╭──────────────── <class 'int'> ─────────────────╮\n│ int([x]) -> integer                            │\n│ int(x, base=10) -> integer                     │\n│                                                │\n│      denominator = 1                           │\n│             imag = 0                           │\n│        numerator = 1                           │\n│             real = 1                           │\n│ as_integer_ratio = def as_integer_ratio():     │\n│                    Return integer ratio.       │\n│        bit_count = def bit_count(): Number of  │\n│                    ones in the binary          │\n│                    representation of the       │\n│                    absolute value of self.     │\n│       bit_length = def bit_length(): Number of │\n│                    bits necessary to represent │\n│                    self in binary.             │\n│        conjugate = def conjugate(...) Returns  │\n│                    self, the complex conjugate │\n│                    of any int.                 │\n│       from_bytes = def from_bytes(bytes,       │\n│                    byteorder, *,               │\n│                    signed=False): Return the   │\n│                    integer represented by the  │\n│                    given array of bytes.       │\n│         to_bytes = def to_bytes(length,        │\n│                    byteorder, *,               │\n│                    signed=False): Return an    │\n│                    array of bytes representing │\n│                    an integer.                 │\n╰────────────────────────────────────────────────╯\n"
E           ╭──────────────── <class 'int'> ─────────────────╮
E           │ int([x]) -> integer                            │
E           │ int(x, base=10) -> integer                     │
E           │                                                │
E           │      denominator = 1                           │
E           │             imag = 0                           │
E           │        numerator = 1                           │
E           │             real = 1                           │
E           │ as_integer_ratio = def as_integer_ratio():     │
E         - │                    Return integer ratio.       │
E         ?                                    ^^^^^^^^^^^^
E         + │                    Return a pair of integers,  │
E         ?                            ++++++++++        ^^
E         + │                    whose ratio is equal to the │
E         + │                    original int.               │
E           │        bit_count = def bit_count(): Number of  │
E           │                    ones in the binary          │
E           │                    representation of the       │
E           │                    absolute value of self.     │
E           │       bit_length = def bit_length(): Number of │
E           │                    bits necessary to represent │
E           │                    self in binary.             │
E           │        conjugate = def conjugate(...) Returns  │
E           │                    self, the complex conjugate │
E           │                    of any int.                 │
E           │       from_bytes = def from_bytes(bytes,       │
E         - │                    byteorder, *,               │
E         ?                                            ------
E         + │                    byteorder='big', *,         │
E         ?                               ++++++
E           │                    signed=False): Return the   │
E           │                    integer represented by the  │
E           │                    given array of bytes.       │
E         + │       is_integer = def is_integer(): Returns   │
E         + │                    True. Exists for duck type  │
E         + │                    compatibility with          │
E         + │                    float.is_integer.           │
E         - │         to_bytes = def to_bytes(length,        │
E         ?                                          --
E         + │         to_bytes = def to_bytes(length=1,      │
E         ?                                         ++
E         - │                    byteorder, *,               │
E         ?                                            ------
E         + │                    byteorder='big', *,         │
E         ?                               ++++++
E           │                    signed=False): Return an    │
E           │                    array of bytes representing │
E           │                    an integer.                 │
E           ╰────────────────────────────────────────────────╯

tests/test_inspect.py:286: AssertionError
____________ test_inspect_integer_with_methods_python311_and_above _____________

    @skip_py37
    @skip_py38
    @skip_py39
    @skip_py310
    def test_inspect_integer_with_methods_python311_and_above():
        # to_bytes and from_bytes methods on int had minor signature change -
        # they now, as of 3.11, have default values for all of their parameters
        expected = (
            "╭──────────────── <class 'int'> ─────────────────╮\n"
            "│ int([x]) -> integer                            │\n"
            "│ int(x, base=10) -> integer                     │\n"
            "│                                                │\n"
            "│      denominator = 1                           │\n"
            "│             imag = 0                           │\n"
            "│        numerator = 1                           │\n"
            "│             real = 1                           │\n"
            "│ as_integer_ratio = def as_integer_ratio():     │\n"
            "│                    Return integer ratio.       │\n"
            "│        bit_count = def bit_count(): Number of  │\n"
            "│                    ones in the binary          │\n"
            "│                    representation of the       │\n"
            "│                    absolute value of self.     │\n"
            "│       bit_length = def bit_length(): Number of │\n"
            "│                    bits necessary to represent │\n"
            "│                    self in binary.             │\n"
            "│        conjugate = def conjugate(...) Returns  │\n"
            "│                    self, the complex conjugate │\n"
            "│                    of any int.                 │\n"
            "│       from_bytes = def from_bytes(bytes,       │\n"
            "│                    byteorder='big', *,         │\n"
            "│                    signed=False): Return the   │\n"
            "│                    integer represented by the  │\n"
            "│                    given array of bytes.       │\n"
            "│         to_bytes = def to_bytes(length=1,      │\n"
            "│                    byteorder='big', *,         │\n"
            "│                    signed=False): Return an    │\n"
            "│                    array of bytes representing │\n"
            "│                    an integer.                 │\n"
            "╰────────────────────────────────────────────────╯\n"
        )
>       assert render(1, methods=True) == expected
E       assert "╭──────────────── <class 'int'> ─────────────────╮\n│ int([x]) -> integer                            │\n│ int(x, base=10) -> integer                     │\n│                                                │\n│      denominator = 1                           │\n│             imag = 0                           │\n│        numerator = 1                           │\n│             real = 1                           │\n│ as_integer_ratio = def as_integer_ratio():     │\n│                    Return a pair of integers,  │\n│                    whose ratio is equal to the │\n│                    original int.               │\n│        bit_count = def bit_count(): Number of  │\n│                    ones in the binary          │\n│                    representation of the       │\n│                    absolute value of self.     │\n│       bit_length = def bit_length(): Number of │\n│                    bits necessary to represent │\n│                    self in binary.             │\n│        conjugate = def conjugate(...) Returns  │\n│                    self, the complex conjugate │\n│                    of any int.                 │\n│       from_bytes = def from_bytes(bytes,       │\n│                    byteorder='big', *,         │\n│                    signed=False): Return the   │\n│                    integer represented by the  │\n│                    given array of bytes.       │\n│       is_integer = def is_integer(): Returns   │\n│                    True. Exists for duck type  │\n│                    compatibility with          │\n│                    float.is_integer.           │\n│         to_bytes = def to_bytes(length=1,      │\n│                    byteorder='big', *,         │\n│                    signed=False): Return an    │\n│                    array of bytes representing │\n│                    an integer.                 │\n╰────────────────────────────────────────────────╯\n" == "╭──────────────── <class 'int'> ─────────────────╮\n│ int([x]) -> integer                            │\n│ int(x, base=10) -> integer                     │\n│                                                │\n│      denominator = 1                           │\n│             imag = 0                           │\n│        numerator = 1                           │\n│             real = 1                           │\n│ as_integer_ratio = def as_integer_ratio():     │\n│                    Return integer ratio.       │\n│        bit_count = def bit_count(): Number of  │\n│                    ones in the binary          │\n│                    representation of the       │\n│                    absolute value of self.     │\n│       bit_length = def bit_length(): Number of │\n│                    bits necessary to represent │\n│                    self in binary.             │\n│        conjugate = def conjugate(...) Returns  │\n│                    self, the complex conjugate │\n│                    of any int.                 │\n│       from_bytes = def from_bytes(bytes,       │\n│                    byteorder='big', *,         │\n│                    signed=False): Return the   │\n│                    integer represented by the  │\n│                    given array of bytes.       │\n│         to_bytes = def to_bytes(length=1,      │\n│                    byteorder='big', *,         │\n│                    signed=False): Return an    │\n│                    array of bytes representing │\n│                    an integer.                 │\n╰────────────────────────────────────────────────╯\n"
E           ╭──────────────── <class 'int'> ─────────────────╮
E           │ int([x]) -> integer                            │
E           │ int(x, base=10) -> integer                     │
E           │                                                │
E           │      denominator = 1                           │
E           │             imag = 0                           │
E           │        numerator = 1                           │
E           │             real = 1                           │
E           │ as_integer_ratio = def as_integer_ratio():     │
E         - │                    Return integer ratio.       │
E         ?                                    ^^^^^^^^^^^^
E         + │                    Return a pair of integers,  │
E         ?                            ++++++++++        ^^
E         + │                    whose ratio is equal to the │
E         + │                    original int.               │
E           │        bit_count = def bit_count(): Number of  │
E           │                    ones in the binary          │
E           │                    representation of the       │
E           │                    absolute value of self.     │
E           │       bit_length = def bit_length(): Number of │
E           │                    bits necessary to represent │
E           │                    self in binary.             │
E           │        conjugate = def conjugate(...) Returns  │
E           │                    self, the complex conjugate │
E           │                    of any int.                 │
E           │       from_bytes = def from_bytes(bytes,       │
E           │                    byteorder='big', *,         │
E           │                    signed=False): Return the   │
E           │                    integer represented by the  │
E           │                    given array of bytes.       │
E         + │       is_integer = def is_integer(): Returns   │
E         + │                    True. Exists for duck type  │
E         + │                    compatibility with          │
E         + │                    float.is_integer.           │
E           │         to_bytes = def to_bytes(length=1,      │
E           │                    byteorder='big', *,         │
E           │                    signed=False): Return an    │
E           │                    array of bytes representing │
E           │                    an integer.                 │
E           ╰────────────────────────────────────────────────╯

tests/test_inspect.py:329: AssertionError
______________________________ test_attrs_broken _______________________________

    @skip_py310
    @skip_py311
    def test_attrs_broken():
        @attr.define
        class Foo:
            bar: int
    
        foo = Foo(1)
        del foo.bar
        result = pretty_repr(foo)
        print(repr(result))
        expected = "Foo(bar=AttributeError('bar'))"
>       assert result == expected
E       assert 'Foo(bar=AttributeError("\'Foo\' object has no attribute \'bar\'"))' == "Foo(bar=AttributeError('bar'))"
E         - Foo(bar=AttributeError('bar'))
E         + Foo(bar=AttributeError("'Foo' object has no attribute 'bar'"))

tests/test_pretty.py:619: AssertionError
----------------------------- Captured stdout call -----------------------------
'Foo(bar=AttributeError("\'Foo\' object has no attribute \'bar\'"))'
=============================== warnings summary ===============================
../../../../usr/lib/python3.12/site-packages/pkg_resources/__init__.py:121
  /usr/lib/python3.12/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
    warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_inspect.py::test_inspect_builtin_function_except_python311
FAILED tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39
FAILED tests/test_inspect.py::test_inspect_integer_with_methods_python310only
FAILED tests/test_inspect.py::test_inspect_integer_with_methods_python311_and_above
FAILED tests/test_pretty.py::test_attrs_broken - assert 'Foo(bar=AttributeErr...
============= 5 failed, 773 passed, 19 skipped, 1 warning in 5.13s =============

https://docs.python.org/3.12/whatsnew/3.12.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.12/fedora-rawhide-x86_64/05907577-python-rich/

For all our attempts to build python-rich with Python 3.12, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.12/package/python-rich/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.12:
https://copr.fedorainfracloud.org/coprs/g/python/python3.12/

Let us know here if you have any questions.

Python 3.12 is planned to be included in Fedora 39. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.12.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Fedora Release Engineering 2023-08-16 07:14:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 2 Karolina Surma 2023-12-12 15:15:32 UTC
*** Bug 2254184 has been marked as a duplicate of this bug. ***

Comment 3 Karolina Surma 2023-12-12 16:00:03 UTC
It looked as a duplicate of Python 3.13 issue, but in fact they're not the same. Version in Fedora 39 and Python 3.12 has been solved upstream. Python 3.13 has got new (the same) issues. I see the upstream's approach is to skip the tests with the incompatible Python versions, so I proposed https://github.com/Textualize/rich/pull/3229
and patched our python-rich https://src.fedoraproject.org/rpms/python-rich/pull-request/13

Comment 4 Karolina Surma 2023-12-14 13:39:25 UTC
This is now fixed in both F39 and Fedora Rawhide, with Python 3.12 and Python 3.13.


Note You need to log in before you can comment on or make changes to this bug.