Projet

Général

Profil

0001-tox-give-up-on-python2-41794.patch

Paul Marillonnet, 16 avril 2020 19:07

Télécharger (1,22 ko)

Voir les différences:

Subject: [PATCH] tox: give up on python2 (#41794)

 tox.ini | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
tox.ini
5 5

  
6 6
[tox]
7 7
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/authentic/
8
envlist = py27-coverage-dj111-authentic-pg-{oldldap,},{py27,py3}-coverage-dj111-rbac-pg,pylint, py3-authentic-dj111-pg
8
envlist = py3-coverage-dj111-{authentic,rbac}-pg, pylint
9 9

  
10 10
[testenv]
11 11
whitelist_externals =
......
18 18
  rbac: DJANGO_SETTINGS_MODULE=django_rbac.test_settings
19 19

  
20 20
  authentic: TESTS=tests/
21
  authentic-oldldap: TESTS=tests/test_ldap.py
22 21
  rbac: TESTS=tests_rbac/
23 22

  
24 23
  pg: DB_ENGINE=django.db.backends.postgresql_psycopg2
......
58 57
  pytest-freezegun
59 58
  enum34<=1.1.6
60 59
  ldaptools>=0.15
61
  oldldap: python-ldap<3
62
  py27: django-appconf<1.0.4
63 60
commands =
64
  py27: ./getlasso.sh
65 61
  py3: ./getlasso3.sh
66 62
  rbac,authentic: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {env:JUNIT:} {posargs:{env:TESTS} --random-group}
67 63

  
68
-