Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
feat(direnv): experimental SENTRY_PYTHON3 #19926
Conversation
100b922
to
6043097
| @@ -1,5 +1,5 @@ | |||
| [build-system] | |||
| requires = ["setuptools>=40.2.0", "wheel"] | |||
| requires = ["setuptools>=40.2.0,<46.0.0", "wheel"] | |||
EvanPurkhiser
Jul 21, 2020
Author
Member
Ok, I can't seem to reproduce this now, so just going to remove the constraint and see if it flares up later.
| @@ -1,5 +1,5 @@ | |||
| [build-system] | |||
| requires = ["setuptools>=40.2.0", "wheel"] | |||
| requires = ["setuptools>=40.2.0,<46.0.0", "wheel"] | |||
6043097
to
4716126
4716126
to
45e5dda
| venv_name=".venv" | ||
| python_version="python2.7" | ||
|
|
||
| if [ "$SENTRY_PYTHON3" = "1" ]; then |
joshuarli
Jul 21, 2020
Member
I'd just test that this env var is set to something. = 1 is unnecessarily strict. You missed changing the other places from x1, so might as well just hit 2 birds with 1 stone there.
EvanPurkhiser
Jul 21, 2020
Author
Member
hmm, I would prefer some kind of truthy check, otherwise if you set it to 0 it will still work.
45e5dda
to
1748ea8
27a27bf
into
master
direnvnow supports a python3 environment by setting theSENTRY_PYTHON3flag.This uses the
.venv3directory for the virtual env. This makes the assumption that we'll have our tooling support both.venvand.venv3.If we don't want to do this, I can definitely have it do some fancy symlink things. But I suspect symlinks are going to cause us more trouble than we might expect.