xoltar / phat

Persistent Homology Algorithm Toolbox (copy of bitbucket fork, for visibility)
GNU Lesser General Public License v3.0
8 stars 2 forks source link

Install breaking with pip 20.3.3 #4

Open sauln opened 3 years ago

sauln commented 3 years ago

The installation from pypi looks to be breaking with newer versions of pip.

Running with pip versions 19.3.1 and 20.2.3 both work fine and I haven't tested other versions.

>>> pip install --upgrade phat
ERROR: Requested phat from https://files.pythonhosted.org/packages/43/82/c14de81dc2953a71a060f72f2bc34c41996307956b162751f2a47e2c78f7/phat-1.5.0a.tar.gz#sha256=51e7fe5e05adf5c7e0895765572fff05b979731234251f13011610d71d4980ab has different version in metadata: '1.5.0'

This pip issue has some information about the issue https://github.com/pypa/pip/issues/9186.

I believe the issue might be to publish a new release that conforms to the new version metadata.

switzel commented 10 months ago

Apparently pip changed the way it checks version consistency. A workaround is to use the option --use-deprecated=legacy-resolver. Still it would be nice to fix it.