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

workaround for spack python activate blocker #82

Merged

Conversation

cyrush
Copy link
Member

@cyrush cyrush commented Jun 16, 2022

Work around for: spack/spack#31166

@cyrush cyrush requested a review from white238 June 16, 2022 19:08
@cyrush
Copy link
Member Author

cyrush commented Jun 16, 2022

Note: There may be a config setting for this, I asked on spack slack - I'll report if get more info.

uberenv.py Outdated Show resolved Hide resolved
cyrush and others added 3 commits June 16, 2022 13:11
@cyrush
Copy link
Member Author

cyrush commented Jun 16, 2022

@white238 turns out activate -f avoids this problem. I updated with a simpler solution.

Copy link
Member

@kennyweiss kennyweiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cyrush !

@cyrush cyrush merged commit 4971b8c into master Jun 17, 2022
@cyrush
Copy link
Member Author

cyrush commented Jun 17, 2022

Sadly - this might not be the end of the story .... activate still blocked in at least one of my containers.

@cyrush
Copy link
Member Author

cyrush commented Jun 17, 2022

Grumble, we still need the hack to disable.

More details:
spack/spack#31166 (comment)

@cyrush
Copy link
Member Author

cyrush commented Jun 17, 2022

Update: As long as we don't try to activate py-pip or py-setuptools (which are already supported by the base spack python install) we avoid the issue.

So, spack activate -f, and avoiding listing those packages in .uberenv_config.json things are back to normal.

@cyrush cyrush deleted the task/2022_06_these_arent_the_setuptools_you_are_looking_for branch June 17, 2022 16:18
@cyrush cyrush mentioned this pull request Jun 18, 2022
3 tasks
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

Successfully merging this pull request may close these issues.

3 participants