-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Relative Links at https://pypi.org/project/onnx/ not working #5173
Comments
Nothing has changed since February. It is possible to know more? |
Thanks, it is clear now. We should use absolute links. |
Thanks for catching this. To provide more history context: previously we thought relative link issue for displaying description in PyPI has been resolved from their end: #3961, but in fact this issue still exists: pypa/readme_renderer#163. I also think we should use absolute links in ReadMe.md for now. |
I have not investigated it now so, but maybe there is another possibility? Could you prepare the readme file for pypi? Which file is used there? Could you make the links absolute only in the upload process? Or maybe adapt the readme better to the target (e.g. how onnx is compiled, might not matter if you get a package with pip). => but maybe that just adds too much unnecessary complexity ? |
It is doable by replacing the relative link before just before calling setup: https://github.com/onnx/onnx/blob/main/setup.py#L346. |
I suggest we don’t do too much in setup.py since it will eventually become pyproject.toml |
Fixed the broken link passing absolute path ### Description Fixed the broken link passing absolute path ### Motivation and Context Fixes issue: #5616 #5173 --------- Signed-off-by: rajalakshmi139 <[email protected]>
Bug Report
Describe the bug
Relative Links at https://pypi.org/project/onnx/ not working.
Notes
Maybe make the links absolut for the wheel and Pypi
The text was updated successfully, but these errors were encountered: