-
-
Notifications
You must be signed in to change notification settings - Fork 43
Add support for extra variants of relative urls for simple html pypi API #174
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
Merged
ryanking13
merged 4 commits into
pyodide:main
from
artem-samokhin:better-relative-url-check
Jan 21, 2025
Merged
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
af29453
Add support for extra variants of relative urls for simple html pypi API
artem-samokhin 0846677
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ca062ec
changelog & code review
artem-samokhin df8dfc6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
tests/test_data/pypi_response/fake-pkg-micropip-test_simple.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta name="pypi:repository-version" content="1.1"> | ||
| <title>Links for fake-pkg-micropip-test</title> | ||
| </head> | ||
| <body> | ||
| <h1>Links for fake-pkg-micropip-test</h1> | ||
| <a href="../../packages/fake-pkg-micropip-test/1.0.0/fake_pkg_micropip_test-1.0.0.tar.gz#sha256=aed8c5ebf0320f526d1550f1754afa69ebc20855224fc5a02a3d74fababd9fa4" data-requires-python=">=3.6">fake_pkg_micropip_test-1.0.0.tar.gz</a> | ||
| <a href="../../packages/fake-pkg-micropip-test/1.0.0/fake_pkg_micropip_test-1.0.0-py3-none-any.whl#sha256=f4a7ba72e93bc97ff491b66d69063819ae2b75238bb653cd4c95e3f2847ce76e" data-requires-python=">=3.6">fake_pkg_micropip_test-1.0.0-py3-none-any.whl</a> | ||
| <a href="../packages/fake-pkg-micropip-test/1.1.0/fake_pkg_micropip_test-1.1.0.tar.gz#sha256=bed8c5ebf0320f526d1550f1754afa69ebc20855224fc5a02a3d74fababd9fa5" data-requires-python=">=3.6">fake_pkg_micropip_test-1.1.0.tar.gz</a> | ||
| <a href="../packages/fake-pkg-micropip-test/1.1.0/fake_pkg_micropip_test-1.1.0-py3-none-any.whl#sha256=c8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1a" data-requires-python=">=3.6">fake_pkg_micropip_test-1.1.0-py3-none-any.whl</a> | ||
| <a href="./packages/fake-pkg-micropip-test/1.2.0/fake_pkg_micropip_test-1.2.0-py3-none-any.whl#sha256=d8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1b" data-requires-python=">=3.6">fake_pkg_micropip_test-1.2.0-py3-none-any.whl</a> | ||
| <a href="/packages/fake-pkg-micropip-test/1.3.0/fake_pkg_micropip_test-1.3.0-py3-none-any.whl#sha256=e8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1c" data-requires-python=">=3.6">fake_pkg_micropip_test-1.3.0-py3-none-any.whl</a> | ||
| <a href="packages/fake-pkg-micropip-test/1.4.0/fake_pkg_micropip_test-1.4.0-py3-none-any.whl#sha256=f8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1d" data-requires-python=">=3.6">fake_pkg_micropip_test-1.4.0-py3-none-any.whl</a> | ||
| </body> | ||
| </html> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please update the filename? So the readers can easily know that it is for testing the relative url.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, thanks, I've updated changelog (I assume I have to put my changes under
Unreleasedsection) and renamed new fixtures file.