I am struggling to replicate this. Do you still have a failure in your environment if you use tox -e py37 ?
If I use our standard testing docker container, based on 18.04, the tests all pass fine for Python 3.7 (3 warnings). If I modify the testing docker to be based on 19.04 (and remove the Python 3.6 dependencies -- see attached), again the Python 3.7 tests pass with 3 warnings.
Could there be something else in your environment causing this? Or missing dependencies that are in the Dockerfile?
===
bzr branch lp:duplicity
cd duplicity/testing/infrastructure/
./build-duplicity_test.sh
./setup.sh
tox -e py37
=============================== warnings summary ===============================
.tox/py37/lib/python3.7/site-packages/past/types/oldstr.py:5
/home/test/duplicity/.tox/py37/lib/python3.7/site-packages/past/types/oldstr.py:5: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Iterable
.tox/py37/lib/python3.7/site-packages/past/builtins/misc.py:4
/home/test/duplicity/.tox/py37/lib/python3.7/site-packages/past/builtins/misc.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping
# Change Dockerfile to 19.04 and remove python3.6 and python3.6-dev
./build-duplicity_test.sh
./setup.sh
tox -e py37
=============================== warnings summary ===============================
.tox/py37/lib/python3.7/site-packages/past/types/oldstr.py:5
/home/test/duplicity/.tox/py37/lib/python3.7/site-packages/past/types/oldstr.py:5: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Iterable
.tox/py37/lib/python3.7/site-packages/past/builtins/misc.py:4
/home/test/duplicity/.tox/py37/lib/python3.7/site-packages/past/builtins/misc.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping
Hello Sebastien,
I am struggling to replicate this. Do you still have a failure in your environment if you use tox -e py37 ?
If I use our standard testing docker container, based on 18.04, the tests all pass fine for Python 3.7 (3 warnings). If I modify the testing docker to be based on 19.04 (and remove the Python 3.6 dependencies -- see attached), again the Python 3.7 tests pass with 3 warnings.
Could there be something else in your environment causing this? Or missing dependencies that are in the Dockerfile?
===
bzr branch lp:duplicity testing/ infrastructure/ duplicity_ test.sh
cd duplicity/
./build-
./setup.sh
tox -e py37
======= ======= ======= ======= === warnings summary ======= ======= ======= ======= === lib/python3. 7/site- packages/ past/types/ oldstr. py:5 test/duplicity/ .tox/py37/ lib/python3. 7/site- packages/ past/types/ oldstr. py:5: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
.tox/py37/
/home/
from collections import Iterable
.tox/py37/ lib/python3. 7/site- packages/ past/builtins/ misc.py: 4 test/duplicity/ .tox/py37/ lib/python3. 7/site- packages/ past/builtins/ misc.py: 4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
/home/
from collections import Mapping
testing/ unit/test_ globmatch. py:100 test/duplicity/ testing/ unit/test_ globmatch. py:100: DeprecationWarning: invalid escape sequence \/ /usr\/[ ^/]*\/bin\ /")
/home/
u"\
-- Docs: https:/ /docs.pytest. org/en/ latest/ warnings. html _______ _______ _______ _______ summary _______ _______ _______ _______ _______ _
=================== 428 passed, 3 warnings in 709.06 seconds ===================
_______
py37: commands succeeded
# Change Dockerfile to 19.04 and remove python3.6 and python3.6-dev duplicity_ test.sh ======= ======= ======= === warnings summary ======= ======= ======= ======= === lib/python3. 7/site- packages/ past/types/ oldstr. py:5 test/duplicity/ .tox/py37/ lib/python3. 7/site- packages/ past/types/ oldstr. py:5: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
./build-
./setup.sh
tox -e py37
=======
.tox/py37/
/home/
from collections import Iterable
.tox/py37/ lib/python3. 7/site- packages/ past/builtins/ misc.py: 4 test/duplicity/ .tox/py37/ lib/python3. 7/site- packages/ past/builtins/ misc.py: 4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
/home/
from collections import Mapping
testing/ unit/test_ globmatch. py:100 test/duplicity/ testing/ unit/test_ globmatch. py:100: DeprecationWarning: invalid escape sequence \/ /usr\/[ ^/]*\/bin\ /")
/home/
u"\
-- Docs: https:/ /docs.pytest. org/en/ latest/ warnings. html _______ _______ _______ _______ summary _______ _______ _______ _______ _______ _
=================== 428 passed, 3 warnings in 739.91 seconds ===================
_______
py37: commands succeeded