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

Python offlineDistutils and purity #271

Closed
cillianderoiste opened this issue Jan 20, 2013 · 2 comments
Closed

Python offlineDistutils and purity #271

cillianderoiste opened this issue Jan 20, 2013 · 2 comments

Comments

@cillianderoiste
Copy link
Member

I noticed that python packages are still downloading and installing dependencies from pypi (when not building with chroot). Perhaps I am just confused by what happened with the python-rework merge. I expected that allow_hosts = None would now be the default (to stop easy_install downloading packages), and that the --no-deps option would be used for the special cases where there are circular dependencies, via offlineDistutils.

@chaoflow do you remember the details?

I guess we just would need to adjust the installCommand in offlineDistutils to add --no-deps, and move the distutils.cfg stuff to the generic expression where we can also add zip_safe = 0, #270.

Changing the global distutils.cfg will cause a massive rebuild so we'd need another test cycle.

@chaoflow
Copy link
Member

@cillianderoiste: exactly, offlineDistutils is used and should work. '--no-deps' is only used for individual packages that need to work around circular dependencies.

@chaoflow
Copy link
Member

This indeed happily downloads:

NIX_REMOTE= sudo nix-build -A ... 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants