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

pypi version doesn't appear to match github version #53

Closed
ryanfox opened this issue Jul 15, 2014 · 2 comments
Closed

pypi version doesn't appear to match github version #53

ryanfox opened this issue Jul 15, 2014 · 2 comments

Comments

@ryanfox
Copy link

ryanfox commented Jul 15, 2014

Hello,

I've installed twine via pip install twine, and it doesn't appear to match the release tagged with the same version number on github. pip freeze tells me I have version 1.3.1. Pypi says this version was uploaded 4/20/14. Indeed, checking the commit log on github shows a version number bump on 4/20.

However, the two commits right before that one, (55028ae and a311454) don't appear to have made it into the version I have. Inspecting upload.py shows I don't have those lines, either the "before" or "after" code from the diff.

I'm not sure where the discrepancy is coming from, but it sure seems unusual. Any help would be appreciated.

@cjerdonek
Copy link
Member

You're probably looking at the commit history for the master branch. If you look at the commit history for the tag, you'll see that those commits weren't included: https://github.com/pypa/twine/commits/1.3.1

When GitHub displays commits, it seems to display the commits in chronological order. So if one commit appears before another, it doesn't necessarily mean the prior commit is a parent of the other (there can be many different "ancestry lines" of commits).

Try this from the command-line to see all relationships across all branches:

$ git log --graph --oneline --branches

@ryanfox
Copy link
Author

ryanfox commented Oct 13, 2014

Of course you're right. Thanks!

@ryanfox ryanfox closed this as completed Oct 13, 2014
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