-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Set VIRTUAL_ENV enviroment variable in activate_this.py #1057
Set VIRTUAL_ENV enviroment variable in activate_this.py #1057
Conversation
👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please refresh PR?
Rebased against current master and ran |
@pfmoore How about this pr? |
This would be nice to have in. |
virtualenv does not currently set the VIRTUAL_ENV environment variable when activate_this is used (pypa/virtualenv#1057). pipenv run uses activate_this rather than one of the other activation scripts. We should also not care about reporting a lack of virtual environment now that we use Pipenv.
virtualenv does not currently set the VIRTUAL_ENV environment variable when activate_this is used (pypa/virtualenv#1057). pipenv run uses activate_this rather than one of the other activation scripts. We should also not care about reporting a lack of virtual environment now that we use Pipenv.
Could this PR be merged soon? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A changelog would be nice 👍
@xavfernandez Thanks! I hope I will see more merges performed as current state of virtualenv is "kept in carbonite". |
@xavfernandez Thank you for response! I added a changelog in 86970de. |
CI failed, I'm checking now 👀 |
Oh, this is because setuptools dropped Python 2.6 support... pypa/setuptools#878 This patch is not relevant to that issue (should be fixed in another PR), so ready to merge! |
You might want to merge master to fix the failing CI. |
Failed from the same reason. pytest also dropped 2.6 support today. |
This bug causes newrelic-plugin-agent setup.py to fail because VIRTUAL_ENV isn't set when installing via pipenv What's preventing this from being released? |
2b3f876
to
9dfcb43
Compare
8f435b1
to
dd5dd56
Compare
I resolved conflicts and updated with How about this pr? @gaborbernat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like some tests for this to prevent regression in the future.
dd5dd56
to
6338cb8
Compare
Regression test added: 6338cb8 (... and I've changed base commit to remove redundant merge commits.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nm
Sorry but what does 'nm' mean? |
never mind 😀 |
efb1540
to
6630913
Compare
VIRTUAL_ENV was not set in activate_this.py, while set in other activate scripts.
8f9be9d
to
db22eed
Compare
db22eed
to
f94024d
Compare
76a3886
to
da204fb
Compare
This now passes the bar of merge-ability. Thanks everyone for the patience, this will be part of the early January release. |
Thank you! |
VIRTUAL_ENV was not set in activate_this.py, while set in other activate scripts.