Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git vs PyPi version installing #152

Open
quezak opened this issue Oct 23, 2016 · 1 comment
Open

git vs PyPi version installing #152

quezak opened this issue Oct 23, 2016 · 1 comment

Comments

@quezak
Copy link

quezak commented Oct 23, 2016

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants