Skip to content

metadata retains old reference to rich~=13.0.0 #1082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 2 tasks
gkennos opened this issue Mar 17, 2025 · 0 comments
Open
1 of 2 tasks

metadata retains old reference to rich~=13.0.0 #1082

gkennos opened this issue Mar 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@gkennos
Copy link

gkennos commented Mar 17, 2025

Search before asking

  • I have searched the Inference issues and found no similar bug report.

Bug

Per this issue, the version dependency for rich should have been bumped. PyPI metadata retains old dependency, however, so the version clash persists.

Requires-Dist: rich<13.10.0,>=13.0.0
Requires-Dist: PyYAML~=6.0.0
Requires-Dist: supervision<=0.30.0,>=0.25.1
Requires-Dist: opencv-python<=4.10.0.84,>=4.8.1.78
Requires-Dist: tqdm<5.0.0,>=4.0.0
Requires-Dist: nvidia-ml-py<13.0.0
Requires-Dist: py-cpuinfo~=9.0.0
Requires-Dist: aiohttp<=3.10.11,>=3.9.0
Requires-Dist: backoff~=2.2.0
Requires-Dist: pandas<2.3.0,>=2.0.0
Requires-Dist: rich~=13.0.0

Environment

python 3.11 slim bookworm

Minimal Reproducible Example

import csv, json, requests
package = 'inference'
pypi_url = f'https://pypi.python.org/pypi/{package}/json'
data = requests.get(pypi_url).json()
reqs = data['info']['requires_dist']
print([r for r in reqs if 'rich' in r])
['rich<13.10.0,>=13.0.0', 'rich<13.10.0,>=13.0.0', 'rich~=13.0.0']

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@gkennos gkennos added the bug Something isn't working label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant