astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.6k stars 466 forks source link

requirements.lock not listing comments #1398

Open impredicative opened 1 day ago

impredicative commented 1 day ago

Steps to Reproduce

For each package entry in requirements.lock, it used to list which other packages needed it. It no longer does this. Is there a magic incantation I must place in pyproject.toml to make this happen? Why is it not the default? It was there for a reason.

Expected Result

anyio==4.4.0
    # via httpx
    # via openai
certifi==2024.8.30
    # via httpcore
    # via httpx
click==8.1.7
    # via podgenai
colorama==0.4.6 ; platform_system == 'Windows'
    # via click
    # via tqdm

Actual Result

anyio==4.6.0
certifi==2024.8.30
click==8.1.7
colorama==0.4.6 ; platform_system == 'Windows'

Version Info

rye 0.40.0
commit: 0.40.0 (a928cd53a 2024-09-22)
platform: linux (x86_64)
self-python: cpython@3.12.6
symlink support: true
uv enabled: true

Stacktrace

No response