Skip to content

git vs PyPi version installing #152

@quezak

Description

@quezak

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions