Skip to content

Commit c1a3f90

Browse files
committed
fix usedevelop on 3.6/3.7
1 parent a767133 commit c1a3f90

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

scripts/populate_tox/tox.jinja

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,10 @@ passenv =
214214
SENTRY_PYTHON_TEST_POSTGRES_NAME
215215
TESTPATH
216216

217-
usedevelop = True
217+
; PEP 660 editable installs need setuptools>=64 (Python 3.8+), so fall
218+
; back to a non-editable install for the py3.6/py3.7 envs.
219+
usedevelop =
220+
!py3.6-!py3.7: true
218221

219222
extras =
220223
bottle: bottle

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,10 @@ passenv =
10471047
SENTRY_PYTHON_TEST_POSTGRES_NAME
10481048
TESTPATH
10491049

1050-
usedevelop = True
1050+
; PEP 660 editable installs need setuptools>=64 (Python 3.8+), so fall
1051+
; back to a non-editable install for the py3.6/py3.7 envs.
1052+
usedevelop =
1053+
!py3.6-!py3.7: true
10511054

10521055
extras =
10531056
bottle: bottle

0 commit comments

Comments
 (0)