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

fix: determine an activated venv correctly when running make #346

Merged
merged 1 commit into from
Oct 28, 2022

Conversation

jenstroeger
Copy link
Owner

Just like here

ifeq ($(origin VIRTUAL_ENV),undefined)
$(warning No Python virtual environment found, proceeding anyway)

we want to make sure we determine an activated virtual env correctly by its environment variable, not whether a path & file exists (which is no indicator as to if the venv was actually activated).

@jenstroeger jenstroeger requested a review from behnazh October 18, 2022 05:07
@jenstroeger jenstroeger merged commit 7b1860f into staging Oct 28, 2022
@jenstroeger jenstroeger deleted the fix-package-name-for-inactive-venv branch October 30, 2022 05:54
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.

2 participants