prezi / snakebasket

A smarter, recursive pip.
84 stars 4 forks source link

doesn't work with latest pip #9

Open zsol opened 11 years ago

zsol commented 11 years ago

I tried pypa/pip@b2874f500bb4562899804a8ab3fa5c204db43fc6 since that fixes an issue with pip and git > 1.8.3. This is what I got:

raceback (most recent call last):
  File "/Users/zsol/.prezi/presentationservice/bin/sb", line 9, in <module>
    load_entry_point('snakebasket==2.0.0', 'console_scripts', 'sb')()
  File "/Users/zsol/.prezi/presentationservice/src/snakebasket/snakebasket/main.py", line 5, in main
    install_pip_patches()
  File "/Users/zsol/.prezi/presentationservice/src/snakebasket/snakebasket/main.py", line 9, in install_pip_patches
    from snakebasket.commands import install
  File "/Users/zsol/.prezi/presentationservice/src/snakebasket/snakebasket/commands/install.py", line 13, in <module>
    from pip.backwardcompat import home_lib
ImportError: cannot import name home_lib

We will need this if we plan to use recent git versions. Right now the version that brew install git sets up does not work.

neumark commented 11 years ago

This was something we planned to do anyway, perhaps now's the time to do it. I tried using a newer pip version with snakebasket, and I saw most of the tests broke, but I didn't debug why. Maybe this was the reason. I'll talk to Ryan about when we can do something with this.

On Thu, May 30, 2013 at 5:17 PM, Zsolt Dollenstein <notifications@github.com

wrote:

I tried pypa/pip@b2874f5https://github.com/pypa/pip/commit/b2874f500bb4562899804a8ab3fa5c204db43fc6since that fixes an issue with pip and git > 1.8.3. This is what I got:

raceback (most recent call last): File "/Users/zsol/.prezi/presentationservice/bin/sb", line 9, in load_entry_point('snakebasket==2.0.0', 'console_scripts', 'sb')() File "/Users/zsol/.prezi/presentationservice/src/snakebasket/snakebasket/main.py", line 5, in main install_pip_patches() File "/Users/zsol/.prezi/presentationservice/src/snakebasket/snakebasket/main.py", line 9, in install_pip_patches from snakebasket.commands import install File "/Users/zsol/.prezi/presentationservice/src/snakebasket/snakebasket/commands/install.py", line 13, in from pip.backwardcompat import home_lib ImportError: cannot import name home_lib

We will need this if we plan to use recent git versions. Right now the version that brew install git sets up does not work.

— Reply to this email directly or view it on GitHubhttps://github.com/prezi/snakebasket/issues/9 .

Peter Neumark Developer at Prezi http://prezi.com

pierrei commented 10 years ago

Any news on this?

neumark commented 10 years ago

No, but we can talk about this whenever :)

On Fri, Nov 22, 2013 at 11:09 AM, Pierre Ingmansson < notifications@github.com> wrote:

Any news on this?

— Reply to this email directly or view it on GitHubhttps://github.com/prezi/snakebasket/issues/9#issuecomment-29061966 .

Peter Neumark DevOps guy @Prezi http://prezi.com

ryanalane commented 10 years ago

I thought we had fixed the git 1.8.3 compatibility problems here: 9e32c31ea87287621951eb5fcfb05b508397c2ee). @pierrei But maybe it's pip 1.4.1 that it's not compatible with?

@neumark Happy to help if you're booked with end-of-semester work. Just let me know. :)

neumark commented 10 years ago

Hey man! I'm totally swamped at the moment. If you could take a look at it, that would be awesome! I guess a github issue is not the best forum for this, but how is life treating you these days?

Pete

On Mon, Nov 25, 2013 at 9:47 PM, Ryan Lane notifications@github.com wrote:

I thought we had fixed the git 1.8.3 compatibility problems here: 9e32c31https://github.com/prezi/snakebasket/commit/9e32c31ea87287621951eb5fcfb05b508397c2ee). @pierrei https://github.com/pierrei But maybe it's pip 1.4.1 that it's not compatible with?

@neumark https://github.com/neumark Happy to help if you're booked with end-of-semester work. Just let me know. :)

— Reply to this email directly or view it on GitHubhttps://github.com/prezi/snakebasket/issues/9#issuecomment-29240380 .

Peter Neumark DevOps guy @Prezi http://prezi.com

stanhu commented 10 years ago

It looks like home_lib was removed in lieu of pip.locations.distutils_scheme:

https://github.com/pypa/pip/commit/fd933a93dd4fc67592673a8458c93e41267d24f0#diff-952c5880d8883478bb245e327f7f85cd

It looks like a similar change is in order.

rzr commented 3 years ago

Is project still maintained ?

neumark commented 3 years ago

Hi @rzr ! To the best of my knowledge snakebasket is no longer maintained. Sorry I couldn't say anything more useful. Best, Peter