Skip to content

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

Merged
jenstroeger merged 1 commit intostagingfrom
fix-package-name-for-inactive-venv
Oct 28, 2022
Merged

fix: determine an activated venv correctly when running make#346
jenstroeger merged 1 commit intostagingfrom
fix-package-name-for-inactive-venv

Conversation

@jenstroeger
Copy link
Copy Markdown
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