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

pip install always reinstalls #261

Closed
axos88 opened this issue Aug 9, 2014 · 3 comments
Closed

pip install always reinstalls #261

axos88 opened this issue Aug 9, 2014 · 3 comments
Milestone

Comments

@axos88
Copy link

axos88 commented Aug 9, 2014

Hello,

Pip install always reinstalls carbon instead of reporting it as being at the latest version (as with other packages)
This slows down our deploys considerably.

Affected OSes

Multiple linux distros were tried, debian, ubuntu, I don't think it's tied to any OS.

Way to reproduce:

Run pip install carbon twice

Expected:

Second run to return with requirement already satisfied, as with whisper:

vagrant@meter0:~$ pip install whisper
Requirement already satisfied (use --upgrade to upgrade): whisper in /usr/local/lib/python2.7/dist-packages
Cleaning up...

Actual:

A full install is run:

Downloading/unpacking carbon
  Running setup.py egg_info for package carbon

    package init file 'lib/twisted/plugins/__init__.py' not found (or not a regular file)
    warning: no files found matching '*' under directory 'conf/'
    warning: no files found matching '*' under directory 'distro/'
    warning: no previously-included files found matching 'conf/*.conf'
Requirement already satisfied (use --upgrade to upgrade): twisted in /usr/local/lib/python2.7/dist-packages (from carbon)
Requirement already satisfied (use --upgrade to upgrade): txamqp in /usr/local/lib/python2.7/dist-packages (from carbon)
Requirement already satisfied (use --upgrade to upgrade): zope.interface>=3.6.0 in /usr/local/lib/python2.7/dist-packages (from twisted->carbon)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages (from zope.interface>=3.6.0->twisted->carbon)
Installing collected packages: carbon
  Running setup.py install for carbon
    package init file 'lib/twisted/plugins/__init__.py' not found (or not a regular file)

    warning: no files found matching '*' under directory 'conf/'
    warning: no files found matching '*' under directory 'distro/'
    warning: no previously-included files found matching 'conf/*.conf'
    changing mode of /opt/graphite/bin/carbon-cache.py to 755
    changing mode of /opt/graphite/bin/carbon-client.py to 755
    changing mode of /opt/graphite/bin/carbon-relay.py to 755
    changing mode of /opt/graphite/bin/validate-storage-schemas.py to 755
    changing mode of /opt/graphite/bin/carbon-aggregator.py to 755
Successfully installed carbon
Cleaning up...
@obfuscurity obfuscurity added this to the 0.9.13 milestone Aug 14, 2014
@thorrsson
Copy link
Contributor

I think this can be fixed by adding a py_modules declaration in the setup.py setup()

@thorrsson
Copy link
Contributor

nope, it didn't make a difference

@obfuscurity
Copy link
Member

This appears to be a duplicate of #86. There's a lot more detail over there, closing this one.

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

3 participants