Skip to content

find-links should override allow-hosts - avoid allowing all of "github.com" #133

@ghost

Description

Originally reported by: lrowe (Bitbucket: lrowe, GitHub: lrowe)


I like to restrict installation to pypi, but sometimes I need to use a particular tag tarball from a personal fork of a package. Currently that requires adding "github.com" to allow-hosts, which is far too broad.

It looks like this could be achieved by populating a set of always allowed urls in add_find_links which would be okayed by url_ok regardless of the configured allowed hosts (as 'file' scheme urls are.)

(I'm using buildout, but digging into the code it looks like the underlying issue is from setuptools.)


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions