From 5392b0ff36ba183d7047c19ca5f9bb8a880e3d0e Mon Sep 17 00:00:00 2001 From: Jens Vagelpohl Date: Fri, 30 Aug 2024 17:05:38 +0200 Subject: [PATCH] - add a tox environment that uses setuptools development code --- config/default/tox-testenv.j2 | 8 ++++++++ config/toolkit/tox.ini.j2 | 10 ++++++++++ config/zope-product/tox.ini.j2 | 10 ++++++++++ 3 files changed, 28 insertions(+) diff --git a/config/default/tox-testenv.j2 b/config/default/tox-testenv.j2 index 80361cc..ee9482d 100644 --- a/config/default/tox-testenv.j2 +++ b/config/default/tox-testenv.j2 @@ -54,3 +54,11 @@ extras = {% for line in testenv_additional %} %(line)s {% endfor %} + +[testenv:setuptools-latest] +basepython = python3 +deps = + git+https://github.com/pypa/setuptools.git\#egg=setuptools +{% for line in testenv_deps %} + %(line)s +{% endfor %} diff --git a/config/toolkit/tox.ini.j2 b/config/toolkit/tox.ini.j2 index 8e01c44..c27cbfa 100644 --- a/config/toolkit/tox.ini.j2 +++ b/config/toolkit/tox.ini.j2 @@ -37,6 +37,16 @@ commands = {% for line in testenv_additional %} %(line)s {% endfor %} + +[testenv:setuptools-latest] +basepython = python3 +deps = + git+https://github.com/pypa/setuptools.git\#egg=setuptools + zc.buildout >= 3.1 + wheel > 0.37 +{% for line in testenv_deps %} + %(line)s +{% endfor %} {% include 'tox-lint.j2' %} {% if with_docs %} diff --git a/config/zope-product/tox.ini.j2 b/config/zope-product/tox.ini.j2 index fb5e8f6..786200f 100644 --- a/config/zope-product/tox.ini.j2 +++ b/config/zope-product/tox.ini.j2 @@ -38,6 +38,16 @@ commands = %(line)s {% endfor %} +[testenv:setuptools-latest] +basepython = python3 +deps = + git+https://github.com/pypa/setuptools.git\#egg=setuptools + zc.buildout >= 3.1 + wheel > 0.37 +{% for line in testenv_deps %} + %(line)s +{% endfor %} + {% include 'tox-lint.j2' %} {% include 'tox-docs.j2' %}