# HG changeset patch # User Mathias De Mare # Date 1678302362 -3600 # Node ID 8ac8e29c7a1f96c5940c3889f37ee9d2b17299f8 # Parent a2afbf236ca86287e72f54e1248413625d1bc405 hglib: extend tox configuration for python 3 diff -r a2afbf236ca8 -r 8ac8e29c7a1f tox.ini --- a/tox.ini Thu Mar 09 14:00:02 2023 +0100 +++ b/tox.ini Wed Mar 08 20:06:02 2023 +0100 @@ -1,9 +1,15 @@ +# note: you can use pyenv to install the necessary python versions missing on your system +# --> pyenv install 2.7 3.6 3.7 3.8 3.9 3.10 3.11 +# --> pyenv global 2.7 3.6 3.7 3.8 3.9 3.10 3.11 [tox] -envlist = hg37,hg38,hg39,hg40,hg41,hg42,hg43,hg44,hg45,hg46,hg47,hg48,hg49,hg50,hg51,hg52 +# test_merge_prompt_cb hangs for python3 before hg53 +# python 2.7 is listed here to easily still test pre-hg53 +envlist = py{27}-hg{37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52}, + py{36,37,38,39,310}-hg{53,54,55,56,57,58,59}, + py{36,37,38,39,310,311}-hg{60,61,62,63} [testenv] deps= - nose hg37: Mercurial==3.7.3 hg38: Mercurial==3.8.3 hg39: Mercurial==3.8.3 @@ -20,5 +26,19 @@ hg50: Mercurial==5.0.2 hg51: Mercurial==5.1.2 hg52: Mercurial==5.2.1 + hg53: Mercurial==5.3.2 + hg54: Mercurial==5.4.2 + hg55: Mercurial==5.5.2 + hg56: Mercurial==5.6.1 + hg57: Mercurial==5.7.1 + hg58: Mercurial==5.8 + hg59: Mercurial==5.9.3 + hg60: Mercurial==6.0.3 + hg61: Mercurial==6.1.4 + hg62: Mercurial==6.2.3 + hg63: Mercurial==6.3.3 -commands=nosetests {posargs} +setenv = + HGPYTHON3 = 1 + +commands={envpython} -m unittest discover