From 7503bb5e04794ac72309e9e2355cab4df6bfb78c Mon Sep 17 00:00:00 2001 From: Jonas Pammer Date: Sat, 6 May 2023 21:07:43 +0200 Subject: [PATCH] docs: add section on how to show tox's installed packages locally https://github.com/tox-dev/tox/pull/2794 i really like this feature in aid of debugging which part of a dependency is rotten when something suddenly without reason breaks --- {{ cookiecutter.project_slug }}/DEVELOPMENT.adoc | 9 +++++++++ {{ cookiecutter.project_slug }}/tox.ini | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/{{ cookiecutter.project_slug }}/DEVELOPMENT.adoc b/{{ cookiecutter.project_slug }}/DEVELOPMENT.adoc index c4480a6..b626149 100644 --- a/{{ cookiecutter.project_slug }}/DEVELOPMENT.adoc +++ b/{{ cookiecutter.project_slug }}/DEVELOPMENT.adoc @@ -135,6 +135,15 @@ _or_ $ *docker container prune* ---- +==== 🐛 Debugging installed package versions locally + +Although a standard feature in tox 3, this https://github.com/tox-dev/tox/pull/2794[now] only happens when tox recognizes the presence of a CI variable. +For example: + +---- +$ CI=true tox +---- + [[development-container-extra]] === 🧃 TIP: Containerized Ideal Development Environment diff --git a/{{ cookiecutter.project_slug }}/tox.ini b/{{ cookiecutter.project_slug }}/tox.ini index 1e286d7..3ad9e78 100644 --- a/{{ cookiecutter.project_slug }}/tox.ini +++ b/{{ cookiecutter.project_slug }}/tox.ini @@ -6,7 +6,7 @@ extend-ignore = E203 ### Ansible Testing through Molecule ### [tox] -minversion = 3.21.4 +minversion = 4.1.2 envlist = pre-commit,py{3}-ansible-{4,5,6} skipsdist = true