Skip to content
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

[BUG] pypi.org vs pypi.io for source/url in meta.yaml #537

Closed
skupr-anaconda opened this issue Apr 16, 2024 · 1 comment
Closed

[BUG] pypi.org vs pypi.io for source/url in meta.yaml #537

skupr-anaconda opened this issue Apr 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@skupr-anaconda
Copy link

Describe the bug
The current implementation is to use pypi.io:

        "source": {
            "url": "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/" 

But it seems that pypi.io redirects to pypi.org

To Reproduce
Steps to reproduce the behavior:

curl -w "%{redirect_url}"  "https://pypi.io/"
<html><head><title>301 Moved Permanently</title></head><body><center><h1>301 Moved Permanently</h1></center></body></html>
 
curl -w "%{redirect_url}"  "https://pypi.org/"
<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
...

See https://unix.stackexchange.com/a/320294

Expected behavior
Should the source/url be pypi.org by default instead of pypi.io?

Outputs

Environment:

  • grayskull >=1.0.0

Additional context
Looks like pypi.io initially was a temporary domain pypi/warehouse#2184 (comment). Is it still true?

@skupr-anaconda skupr-anaconda added the bug Something isn't working label Apr 16, 2024
@beenje
Copy link
Contributor

beenje commented Aug 21, 2024

Yes, that's correct.

This was fixed in #540

Source is now pypi.org. Issue can be closed.

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

2 participants