Skip to content

Test failures with rich 14.3 #2170

@MeggyCal

Description

@MeggyCal

Description

Hi, thank you for maintaining hatch! Rich 14.3 changed markdown formatting styles in Textualize/rich#3942 and I am now encountering failures in tests/cli/env/test_show.py, tests/cli/python/test_show.py and tests/cli/dep/show/test_table.py along the lines of:

[   64s]   -     Installed     
[   64s]   + Installed
[   64s]     +------+---------+
[   64s]     | Name | Version |
[   64s]     +======+=========+
[   64s]     | 3.8  | 3.8.17  |
[   64s]     +------+---------+
[   64s]   -     Available     
[   64s]   + Available
[   64s]     +------+---------+
[   64s]     | Name | Version |
[   64s]     +======+=========+
[   64s]     | 3.9  | 3.9.18  |
[   64s]     +------+---------+
[   64s]     | 3.10 | 3.10.13 |
[   64s]     +------+---------+
[   64s]     | 3.11 | 3.11.5  |
[   64s]     +------+---------+

(the alignment of the headers changed).

I understand if rich 14.3 is still too new, but could you please eventually take a look at it?

Thanks a lot for keeping hatch in shape!

Use case/motivation

I would like the testsuite to pass. Currently I don't have time for fixing it myself, I might try to create a PR if time permits.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions