Skip to content

Installing an updated bundle doesn't install updated code #838

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

Closed
sblask opened this issue Mar 11, 2013 · 3 comments
Closed

Installing an updated bundle doesn't install updated code #838

sblask opened this issue Mar 11, 2013 · 3 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@sblask
Copy link

sblask commented Mar 11, 2013

How to reproduce:

  • create a bundle
  • install the bundle (in a virtualenv)
  • change code, recreate the bundle
  • reinstall the updated bundle with --upgrade --force-reinstall
  • code in installation is not updated

I verified the bundle is actually updated. The problem seems to stem from the build directory that pip created in the virtualenv. It is not removed after installation and not updated during the installation. The --upgrade and --force-reinstall do actually have an effect (without it returns right away saying requirements are fulfilled), but pip seems to reinstall from the build directory. Removing the build directory fixes the problem for the next install.

pip version: 1.0 (the one coming with virtualenv in Ubuntu 12.10, given there is nothing about bundles in the changelog, I assume it's still the same)

@qwcode
Copy link
Contributor

qwcode commented Mar 11, 2013

this is related to #709, which desperately needs to be "fixed" finally.
closing as a dupe to that.

as for bundles, that feature is very likely to be dropped in v1.4 due to it not catching on, and nobody really maintaining it.

@qwcode qwcode closed this as completed Mar 11, 2013
@sblask
Copy link
Author

sblask commented Mar 14, 2013

That would be a pity as it's very handy and I don't see an alternative to my use case (see my comment on #236 ). I can imagine that just too few people know about it, just like I've got the impression that use of pip and virtualenv are not very widespread. Is there so much to maintain? One would think it's not much more than zipping and unzipping downloaded requirements.

@Diaoul
Copy link

Diaoul commented Jun 2, 2013

bundles is the only way to easily make sdists with dependencies. wheel is cool but it does bdist which doesn't replace sdists.

Is the support really dropped in 1.4?

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

3 participants