pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PyPI error 403

Sorry for the double message.

On Wed, Nov 17, 2021 at 9:07 AM Mansour Moufid <> wrote:
> Hello,
> I'm getting error 403 when fetching any package hosted on PyPI. But
> when I open the url in the browser, it downloads fine. It seems to me
> their CDN is the problem.
> Only the NetBSD mirrors in MASTER_SITE_BACKUP work. The problem with
> that is some package versions are outdated. For example, change the
> version of devel/py-importlib-metadata to the latest 4.8.2 and try
> fetching... 403 from PyPI and 404 from everywhere else.

I just learned about "make fetch-list" and looking at the output I
realized the problem is actually curl with the --insecure option. Once
I removed --insecure from _FETCH_BEFORE_ARGS.curl in
mk/fetch/, fetching works fine.

Home | Main Index | Thread Index | Old Index