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

cloning.py is using a deprecated virtualenv API #496

Closed
willfrey opened this issue Mar 18, 2020 · 5 comments
Closed

cloning.py is using a deprecated virtualenv API #496

willfrey opened this issue Mar 18, 2020 · 5 comments

Comments

@willfrey
Copy link

I'm getting an AttributeError when running cosmic-ray baseline ... from cloning.py#77

AttributeError: module 'virtualenv' has no attribute 'create_environment'

After some investigating, it looks like virtualenv made breaking changes with their major version release.

It also looks like virtualenv.path_locations is gone.

For what it's worth, I have virtualenv==20.0.10 installed.

Thank you!

@abingham
Copy link
Contributor

abingham commented Mar 18, 2020 via email

@abingham
Copy link
Contributor

@willfrey This should be fixed in 6.1.1. I pinned the virtualenv version to less than 20.x. Could you test this out and let me know if it works for you?

@willfrey
Copy link
Author

Giving it a whirl now!

@willfrey
Copy link
Author

It worked! 👍

@abingham
Copy link
Contributor

Awesome, thanks for checking. I'll close it out.

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