milesrichardson / ParsePy

A relatively up-to-date fork of ParsePy, the Python wrapper for the Parse.com API. Originally maintained by @dgrtwo
MIT License
515 stars 184 forks source link

git vs PyPi version installing #152

Open quezak opened 7 years ago

quezak commented 7 years ago

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
milesrichardson commented 7 years ago

@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?