compatibility with rich 15.0.0

Author: thebaptisteCreated Jul 29, 2026Updated Aug 12, 2026
Labelsbugprogress bar: richver: 2.6.x

Bug description

Hello

I would like to install lightning[pytorch-extra] 2.6.5 and rich 15.0.0 in the same python environment But when I run pip install lightning[pytorch-extra]==2.6.5 rich==15.0.0 I have this conflict :

    The user requested rich==15.0.0
    lightning[pytorch-extra] 2.6.5 depends on rich<15.0 and >=12.3.0; extra == "pytorch-extra"

Would it be possible to ensure a compatibility with rich 15.0.0 ?

By the way, I can't find the requirement file, or setup.py file, or pyproject.toml file from which comes this constraint rich<15.0...

Regards

What version are you seeing the problem on?

v2.6.5

Reproduced in studio

No response

How to reproduce the bug

python
Run `pip install lightning[pytorch-extra]==2.6.5 rich==15.0.0`

Error messages and logs

    The user requested rich==15.0.0
    lightning[pytorch-extra] 2.6.5 depends on rich<15.0 and >=12.3.0; extra == "pytorch-extra"

Environment

Current environment
#- PyTorch Lightning Version : 2.6.5
#- PyTorch Version : 2.13.0
#- Python version : 3.13.13
#- OS : rockylinux 8.8
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning : pip

More info

No response

cc @ethanwharris

Source: Lightning-AI/pytorch-lightning