From 08e48a287fc1902db4649691c89354204b42e2e6 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 21 Dec 2022 18:28:25 -0500 Subject: [PATCH 01/15] temp: nothing --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 024718331..8b2f9c234 100644 --- a/README.md +++ b/README.md @@ -24,3 +24,4 @@ A tool for creating isolated `virtual` python environments. Everyone interacting in the virtualenv project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the [PSF Code of Conduct](https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md). + From f40a7f8efabb2f77e7639062ee2556fa9ca8a101 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 21 Dec 2022 23:29:55 +0000 Subject: [PATCH 02/15] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 8b2f9c234..024718331 100644 --- a/README.md +++ b/README.md @@ -24,4 +24,3 @@ A tool for creating isolated `virtual` python environments. Everyone interacting in the virtualenv project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the [PSF Code of Conduct](https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md). - From 057bc4478e901ec0c99174795c2ee6b7542d7d63 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 21 Dec 2022 18:33:10 -0500 Subject: [PATCH 03/15] temp: more nothing --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 024718331..56a9e1edb 100644 --- a/README.md +++ b/README.md @@ -22,5 +22,6 @@ A tool for creating isolated `virtual` python environments. ## Code of Conduct + Everyone interacting in the virtualenv project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the [PSF Code of Conduct](https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md). From 5d22ad1e6be1db0fb6b2e41a205254844bf5f415 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 21 Dec 2022 18:33:45 -0500 Subject: [PATCH 04/15] let me run this manually --- .github/workflows/check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f0ac05422..590e721b1 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -4,6 +4,7 @@ on: pull_request: schedule: - cron: "0 8 * * *" + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} From 7301088859bd9c910082b33780f6c8c289c1d800 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 21 Dec 2022 19:03:20 -0500 Subject: [PATCH 05/15] debug coverage --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 53fc515b1..f766a5800 100644 --- a/tox.ini +++ b/tox.ini @@ -33,10 +33,10 @@ extras = testing commands = python -m coverage erase - python -m coverage run -m pytest {tty:--color=yes} \ + python -m coverage run --debug=TRACE -m pytest {tty:--color=yes} \ --junitxml {toxworkdir}/junit.{envname}.xml \ {posargs:tests --int --timeout 600} - python -m coverage combine + python -m coverage combine --debug=pathmap python -m coverage report --skip-covered --show-missing python -m coverage xml -o {toxworkdir}/coverage.{envname}.xml python -m coverage html -d {envtmpdir}/htmlcov --show-contexts \ From 2a9e46dd1024155cc25b52a4c3dc9c5fc0771d20 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 23 Dec 2022 12:22:14 -0500 Subject: [PATCH 06/15] test: does it work with double-stars? --- .coveragerc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.coveragerc b/.coveragerc index a4238c907..0734381e3 100644 --- a/.coveragerc +++ b/.coveragerc @@ -16,10 +16,10 @@ omit = [coverage:paths] source = src - .tox/*/lib/python*/site-packages - .tox/pypy*/site-packages - .tox\*\Lib\site-packages - .tox\py\site-packages + **/.tox/*/lib/python*/site-packages + **/.tox/pypy*/site-packages + **/.tox\*\Lib\site-packages + **/.tox\py\site-packages **/src **\src From 4ad0410a52d747e36a01a5a95f303ebbc829b7fd Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 23 Dec 2022 14:43:25 -0500 Subject: [PATCH 07/15] more debugging --- .github/workflows/check.yml | 30 +++++++++++++++--------------- setup.cfg | 2 +- tox.ini | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 590e721b1..afc4800e2 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -18,24 +18,24 @@ jobs: fail-fast: false matrix: py: - - "3.11" + #- "3.11" - "3.10" - - "3.9" - - "3.8" - - "3.7" - - "3.6" - - pypy-3.9 - - pypy-3.8 - - pypy-3.7 + #- "3.9" + #- "3.8" + #- "3.7" + #- "3.6" + #- pypy-3.9 + #- pypy-3.8 + #- pypy-3.7 os: - ubuntu-20.04 - - macos-12 - - windows-2022 - exclude: - - { os: macos-12, py: "pypy-3.6" } # PyPy 3.6 does not support macOS 11/12 - include: - - { os: macos-12, py: "brew@3.9" } - - { os: macos-12, py: "brew@3.8" } + #- macos-12 + #- windows-2022 + #exclude: + # - { os: macos-12, py: "pypy-3.6" } # PyPy 3.6 does not support macOS 11/12 + #include: + # - { os: macos-12, py: "brew@3.9" } + # - { os: macos-12, py: "brew@3.8" } steps: - name: Install OS dependencies run: | diff --git a/setup.cfg b/setup.cfg index 2b754068e..c9cdd5f2c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -84,7 +84,7 @@ docs = sphinx-rtd-theme>=1 towncrier>=22.8 testing = - coverage>=6.2 + git+https://github.com/nedbat/coveragepy@nedbat/debug-virtualenv#egg=coverage==0.0 coverage-enable-subprocess>=1 flaky>=3.7 packaging>=21.3 diff --git a/tox.ini b/tox.ini index f766a5800..de319063e 100644 --- a/tox.ini +++ b/tox.ini @@ -66,7 +66,7 @@ setenv = COVERAGE_FILE = {toxworkdir}/.coverage skip_install = true deps = - coverage>=6.5 + git+https://github.com/nedbat/coveragepy@nedbat/debug-virtualenv#egg=coverage==0.0 diff_cover>=7.2 extras = parallel_show_output = true From 454fc249fd4dd0a090744661e7a4b681a664cee7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 23 Dec 2022 19:43:56 +0000 Subject: [PATCH 08/15] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- setup.cfg | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index c9cdd5f2c..ba9e59d6e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -84,9 +84,9 @@ docs = sphinx-rtd-theme>=1 towncrier>=22.8 testing = - git+https://github.com/nedbat/coveragepy@nedbat/debug-virtualenv#egg=coverage==0.0 coverage-enable-subprocess>=1 flaky>=3.7 + git+https://github.com/nedbat/coveragepy@nedbat/debug-virtualenv#egg=coverage==0.0 packaging>=21.3 pytest>=7.0.1 pytest-env>=0.6.2 diff --git a/tox.ini b/tox.ini index de319063e..a0dbf18de 100644 --- a/tox.ini +++ b/tox.ini @@ -66,8 +66,8 @@ setenv = COVERAGE_FILE = {toxworkdir}/.coverage skip_install = true deps = - git+https://github.com/nedbat/coveragepy@nedbat/debug-virtualenv#egg=coverage==0.0 diff_cover>=7.2 + git+https://github.com/nedbat/coveragepy@nedbat/debug-virtualenv#egg=coverage==0.0 extras = parallel_show_output = true commands = From fb7e353d355381076189b85603eba31f5162ac85 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 23 Dec 2022 14:48:56 -0500 Subject: [PATCH 09/15] more more debugging --- setup.cfg | 2 +- tox.ini | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index ba9e59d6e..2b754068e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -84,9 +84,9 @@ docs = sphinx-rtd-theme>=1 towncrier>=22.8 testing = + coverage>=6.2 coverage-enable-subprocess>=1 flaky>=3.7 - git+https://github.com/nedbat/coveragepy@nedbat/debug-virtualenv#egg=coverage==0.0 packaging>=21.3 pytest>=7.0.1 pytest-env>=0.6.2 diff --git a/tox.ini b/tox.ini index a0dbf18de..4af82028e 100644 --- a/tox.ini +++ b/tox.ini @@ -32,6 +32,7 @@ setenv = extras = testing commands = + python -m pip install git+https://github.com/nedbat/coveragepy@nedbat/debug-virtualenv#egg=coverage==0.0 python -m coverage erase python -m coverage run --debug=TRACE -m pytest {tty:--color=yes} \ --junitxml {toxworkdir}/junit.{envname}.xml \ From e92737e954a82a6b17bb3cbce78e373631468834 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 23 Dec 2022 14:57:22 -0500 Subject: [PATCH 10/15] more 3 debugging --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 4af82028e..33031703e 100644 --- a/tox.ini +++ b/tox.ini @@ -37,6 +37,7 @@ commands = python -m coverage run --debug=TRACE -m pytest {tty:--color=yes} \ --junitxml {toxworkdir}/junit.{envname}.xml \ {posargs:tests --int --timeout 600} + ls -alR python -m coverage combine --debug=pathmap python -m coverage report --skip-covered --show-missing python -m coverage xml -o {toxworkdir}/coverage.{envname}.xml From 909a0bbb916ab291e52bfa17d1e8029909c4ac64 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 23 Dec 2022 15:06:41 -0500 Subject: [PATCH 11/15] more 4 debugging --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 33031703e..1560edaf0 100644 --- a/tox.ini +++ b/tox.ini @@ -31,6 +31,8 @@ setenv = {upgrade}: PYTHONWARNINGS = ignore:DEPRECATION::pip._internal.cli.base_command extras = testing +allowlist_externals = + ls commands = python -m pip install git+https://github.com/nedbat/coveragepy@nedbat/debug-virtualenv#egg=coverage==0.0 python -m coverage erase From aa6eaf6b4c2b5ff63e8500cf2fa39b71c5a7f1b1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 23 Dec 2022 20:07:03 +0000 Subject: [PATCH 12/15] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 1560edaf0..c1c70ed94 100644 --- a/tox.ini +++ b/tox.ini @@ -31,8 +31,6 @@ setenv = {upgrade}: PYTHONWARNINGS = ignore:DEPRECATION::pip._internal.cli.base_command extras = testing -allowlist_externals = - ls commands = python -m pip install git+https://github.com/nedbat/coveragepy@nedbat/debug-virtualenv#egg=coverage==0.0 python -m coverage erase @@ -45,6 +43,8 @@ commands = python -m coverage xml -o {toxworkdir}/coverage.{envname}.xml python -m coverage html -d {envtmpdir}/htmlcov --show-contexts \ --title virtualenv-{envname}-coverage +allowlist_externals = + ls install_command = python -m pip install {opts} {packages} --disable-pip-version-check package = wheel wheel_build_env = .pkg From 298c4c2257bde7cd549c8eed8008a988e8841ef6 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 23 Dec 2022 15:16:23 -0500 Subject: [PATCH 13/15] more 5 debugging --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c1c70ed94..e7a139de4 100644 --- a/tox.ini +++ b/tox.ini @@ -34,7 +34,7 @@ extras = commands = python -m pip install git+https://github.com/nedbat/coveragepy@nedbat/debug-virtualenv#egg=coverage==0.0 python -m coverage erase - python -m coverage run --debug=TRACE -m pytest {tty:--color=yes} \ + python -m coverage run --debug=trace -m pytest {tty:--color=yes} \ --junitxml {toxworkdir}/junit.{envname}.xml \ {posargs:tests --int --timeout 600} ls -alR From a277faddcdd9e959963cf70c95e43c49999d1ad0 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 23 Dec 2022 15:23:35 -0500 Subject: [PATCH 14/15] more 6 debugging --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index e7a139de4..777833706 100644 --- a/tox.ini +++ b/tox.ini @@ -38,6 +38,7 @@ commands = --junitxml {toxworkdir}/junit.{envname}.xml \ {posargs:tests --int --timeout 600} ls -alR + python -m coverage debug data python -m coverage combine --debug=pathmap python -m coverage report --skip-covered --show-missing python -m coverage xml -o {toxworkdir}/coverage.{envname}.xml From 742aa9bda7d253b07bc5e8f8fc9670cda2ef5b14 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 23 Dec 2022 15:32:36 -0500 Subject: [PATCH 15/15] more 7 debugging --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 777833706..b69e39c54 100644 --- a/tox.ini +++ b/tox.ini @@ -37,7 +37,9 @@ commands = python -m coverage run --debug=trace -m pytest {tty:--color=yes} \ --junitxml {toxworkdir}/junit.{envname}.xml \ {posargs:tests --int --timeout 600} + pwd ls -alR + ls -alR .tox/py310/lib/python3.10/site-packages/virtualenv/seed/wheels python -m coverage debug data python -m coverage combine --debug=pathmap python -m coverage report --skip-covered --show-missing @@ -46,6 +48,7 @@ commands = --title virtualenv-{envname}-coverage allowlist_externals = ls + pwd install_command = python -m pip install {opts} {packages} --disable-pip-version-check package = wheel wheel_build_env = .pkg