ParsePy icon indicating copy to clipboard operation
ParsePy copied to clipboard

git vs PyPi version installing

Open quezak opened this issue 7 years ago • 1 comments

If I follow the readme, and install ParsePy using pip install <git-url>, and later list packages using pip freeze, it reports the latest PyPi version:

(tmpenv) [...]$ pip install git+https://github.com/milesrichardson/ParsePy.git
[...]
(tmpenv) [...]$ pip freeze
parse-rest==0.2.20141004
six==1.10.0

This is confusing, because if I save that in a file, and later run pip install -r requirements.txt, pip installs the 2-year-old version from PyPi.

Is this the expected behavior? It works fine when installing with -e flag, because then pip fixes package version to the current commit:

(tmpenv) [...]$ pip install -e git+https://github.com/milesrichardson/ParsePy.git#egg=parse_rest
[...]
(tmpenv) [...]$ pip freeze
-e git+https://github.com/milesrichardson/ParsePy.git@b2bf2e276bb6578321ec9aa1784d05d79c823a27#egg=parse_rest
six==1.10.0

quezak avatar Oct 23 '16 21:10 quezak

@quezak As a temporary solution, you can install from git from master.

This repository was transferred to me by @dgrtwo

@dgrtwo - Do you have access to some pypi account you can transfer to me? Or do you know of a better method to go about updating the pypi package to latest version?

milesrichardson avatar Oct 24 '16 13:10 milesrichardson