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

bug in pypi package for v2.2.1 #5

Closed
ghost opened this issue Nov 30, 2013 · 3 comments

Comments

@ghost
Copy link

commented Nov 30, 2013

I'm not really sure who is responsible for patching packages in pypi so I am going to start by posting the bug here. The semantic_version package for v2.2.1 contained in pypi has a symbolic link from ChangeLog at the top level to doc/changelog.rst but there is no doc/ directory in the package so I get the warning message,

In the tar file /tmp/pip-BEK853-unpack/semantic_version-2.2.1.tar.gz the member semantic_version-2.2.1/ChangeLog is invalid: "linkname 'semantic_version-2.2.1/doc/changelog.rst' not found"

This does not prevent the package from being installed but it would be nice to not have this message displayed.

@tleach

This comment has been minimized.

Copy link

commented Dec 22, 2013

This also seems to break the pip bundle command:

Exception:
Traceback (most recent call last):
  File "/mnt/gc/env/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/basecommand.py", line 139, in main
    status = self.run(options, args)
  File "/mnt/gc/env/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/commands/bundle.py", line 36, in run
    requirement_set = super(BundleCommand, self).run(options, args)
  File "/mnt/gc/env/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/commands/install.py", line 282, in run
    requirement_set.create_bundle(self.bundle_filename)
  File "/mnt/gc/env/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/req.py", line 1240, in create_bundle
    zip.write(filename, basename + '/' + name)
  File "/usr/lib/python2.7/zipfile.py", line 1033, in write
    st = os.stat(filename)
OSError: [Errno 2] No such file or directory: '/mnt/gc/env/build-bundle77/semantic-version/ChangeLog'

@tleach tleach referenced this issue Dec 22, 2013

Closed

Fix symbolic link #6

@rbarrois rbarrois closed this in 5550834 Dec 23, 2013

@rbarrois

This comment has been minimized.

Copy link
Owner

commented Dec 24, 2013

@tleach, @jdowner-gb : both problems should hopefully have been fixed, feel free to reopen the issue if it still doesn't work!

@ghost

This comment has been minimized.

Copy link
Author

commented Dec 24, 2013

Thanks Raphael!

On Tue, Dec 24, 2013 at 10:42 AM, Raphaël Barrois
notifications@github.comwrote:

@tleach https://github.com/tleach, @jdowner-gbhttps://github.com/jdowner-gb: both problems should hopefully have been fixed, feel free to reopen the
issue if it still doesn't work!


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-31175600
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.