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

Need manual deletion of prefs to trigger a proper re-build #870

Closed
Moelf opened this issue Dec 15, 2020 · 2 comments
Closed

Need manual deletion of prefs to trigger a proper re-build #870

Moelf opened this issue Dec 15, 2020 · 2 comments

Comments

@Moelf
Copy link

Moelf commented Dec 15, 2020

As the title says. Even when deleting deps.jl, if the .julia/prefs/PyCall hasn't changed, ]build will still proceed to build against the original python env.

Probably should add a check, if ENV doesn't match prefs, update both prefs and deps.jl

@stevengj
Copy link
Member

stevengj commented Dec 17, 2020

I don't follow you. The PYTHON environment variable already takes precedence over the prefs file, no? I rebuild by changing PYTHON all the time, and I never manually delete any files.

@Moelf
Copy link
Author

Moelf commented Dec 17, 2020

indeed that is the case, currently running into a bug that only exists in job submission container so it's a bit hard to debug sorry for the noise.

The goal is trying to relocate ~./julia and a Conda virtual environment in tarball and ship into the job executing environment, but for some reason, PyCall is not re-building properly.

@Moelf Moelf closed this as completed Dec 17, 2020
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

2 participants