On Monday, November 19, 2012 at 6:00 PM, Alex Clark wrote: > > Ugh, sorry. I wonder if we can get Richard Jones or Martin von Löwis to > modify PyPI such that "hiding" really means hiding (CC'ing > catalog-sig). I also wonder if that is the right thing to do. > Personally, I'd be OK with having to use find-links (or something like > it) to test the alpha e.g.: > > > $ pip install -f http://path/to/buildout.zip zc.buildout > > > Actually what would be ideal (I think), if it were possible, is: > > - Upload sdist > - Hide release > - pip install zc.buildout installs latest unhidden release > - pip install zc.buildout==2.0.0a4 installs 2.0.0a4. > > But that may be nonsensical… unless perhaps pip and easy_install were > to check a different index if/when an exact version spec is given. :-/ > >
pip does do something differently when an exact version is given. It looks at: 1. '(index_url)s/%(project_name)s/%(version)s' 2. '(index_url)s/%(project_name)s' 3. '(index_url)s' It stops on the first page it finds. Crate.io uses this in order to allow packages to never get deleted, but deleted packages only install if you've pinned exactly to that version. I don't know if Buildout or easy_install do anything similar as I don't use them. > > > Alex > > > > > > > > Jim > > > -- > Alex Clark · https://www.gittip.com/aclark4life/ > > > _______________________________________________ > Distutils-SIG maillist - distutils-...@python.org > (mailto:distutils-...@python.org) > http://mail.python.org/mailman/listinfo/distutils-sig > >
_______________________________________________ Catalog-SIG mailing list Catalog-SIG@python.org http://mail.python.org/mailman/listinfo/catalog-sig