Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If TOX_WORK_DIR is set, honor it. #3050

Closed
jaraco opened this issue Jun 23, 2023 · 7 comments
Closed

If TOX_WORK_DIR is set, honor it. #3050

jaraco opened this issue Jun 23, 2023 · 7 comments
Labels
help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted. needs:reproducer ideally a failing test marked as xfail. If that is not possible exact instructions to reproduce

Comments

@jaraco
Copy link

jaraco commented Jun 23, 2023

This issue is a revived feature request of #20.

In summary, I'd like tox to honor TOX_WORK_DIR as the default tox.toxworkdir if set, similar to the effect of adding

toxworkdir={env:TOX_WORK_DIR:.tox}

to the tox.ini file.

In #1653, I attempted to implement the feature, but failed to land it before resolving all of the issues.

I'd still like to see this feature implemented so that I don't have to carry this config in every tox file.

@gaborbernat
Copy link
Member

PR welcome.

@jaraco
Copy link
Author

jaraco commented Jul 6, 2023

I'll offer a $100 bounty to anyone able to get a PR merged for this feature.

@gaborbernat gaborbernat added the help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted. label Jul 6, 2023
@gaborbernat
Copy link
Member

Isn't this already working?

env TOX_WORK_DIR=.tox4 tox c -e py311 -k env_dir
[testenv:py311]
env_dir = /Users/bgabor8/git/github/tox/.tox4/py311
~/git/github/tox on  work-dir [$?⇡]
❯ env TOX_WORK_DIR=.tox3 tox c -e py311 -k env_dir
[testenv:py311]
env_dir = /Users/bgabor8/git/github/tox/.tox3/py311

@gaborbernat gaborbernat added needs:reproducer ideally a failing test marked as xfail. If that is not possible exact instructions to reproduce and removed enhancement labels Jul 10, 2023
@jaraco
Copy link
Author

jaraco commented Jul 11, 2023

Yes! It does work.

It seems to have been fixed in the 4.0.0a2, so was fixed in the rewrite.

That's fantastic news. I'm a little ashamed I didn't think to re-check the assumption.

Would you like the bounty?

@gaborbernat
Copy link
Member

Up to you, if you like the feature and would like to reward my rewrite effort feel free to use my GitHub sponsor account 👍no pressure though 👍

@jaraco
Copy link
Author

jaraco commented Jul 11, 2023

I've been extremely impressed with the reliability and design of tox 4. Thanks for doing all that work.

clrpackages pushed a commit to clearlinux-pkgs/pypi-zipp that referenced this issue Jul 14, 2023
…n 3.16.1

Jason R. Coombs (7):
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Add a directory in the alpharep fixture with a variety of extensions.
      Restore coverage
      Provide rudimentary glob to regex translation. Fixes #98
      Expand coverage of tests and implement a more sophisticated glob translator.
      Update changelog
      Finalize

Niklas Hambüchen (1):
      Add failing test that shows that `glob()` is always `rglob()`
clrpackages pushed a commit to clearlinux-pkgs/pypi-jaraco.functools that referenced this issue Aug 10, 2023
…0 to version 3.8.1

Jason R. Coombs (10):
      Leverage pytest-enabler 2.2 for the default config.
      Prefer 3.x for Python version (latest stable).
      Collapse skeleton history. Workaround for jaraco/skeleton#87.
      Add links to project home page and pypi. Fixes jaraco/skeleton#77.
      Replace redundant step names with simple 'Run'.
      Increase visibility of security policy. (#4)
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Restore type ignorance repairing linter mangling.
      Restore mypy; import-mode importlib is working. Ref pytest-dev/pytest#8332
      Finalize
clrpackages pushed a commit to clearlinux-pkgs/pypi-importlib_resources that referenced this issue Aug 10, 2023
….0.0 to version 6.0.1

Jason R. Coombs (4):
      Increase visibility of security policy. (#4)
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Restore LICENSE unintentionally changed in 8de19cf901dece8c587e2d072a687a7acf81d49e.
      Finalize
clrpackages pushed a commit to clearlinux-pkgs/pypi-setuptools that referenced this issue Aug 17, 2023
…version 68.1.0

Anderson Bravalheri (46):
      Remove dependency on `pip-run`.
      Avoid pytest-perf on Cygwin
      Rewrite noqa directive for the bennefit of ruff
      Add workaround for towncrier
      Revert changes in _EditableFinder
      Reuse PathFinder to deal with fs case sensitivity in editable_wheel
      Add more checks for case sensitivity in editable_wheel tests
      Adequate tests to the latest changes in wheel 0.41.1
      Allow SystemExit exceptions to pass through unless code = 0
      Remove leftover variable in test_build_meta
      Test setup.py with sys.exit(0) only for non-legacy backend
      Remove unused import
      Exclude __pycache__ and pyc files in MANIFEST.in
      Exclude newsfragments and launcher directories from find_packages
      Ignore newsfragments by default when auto-discovering flat packages
      Add newsfragment
      Fix rst syntax in newsfragment
      Use default encoding when creating .pth files in editable_wheel
      Add newsfragment
      Change UTF-8 example to something simpler to parse
      Add regression tests for sdist
      Simplify handling of relative ext.depends
      Update changelog entry
      Change classification of PR from bugfix to feature
      Improve logic operations on path handling
      Use 'resolve' instead of 'abspath'
      Add test for auto inclusion of depends in the case of symlinks
      Allow symlinked Extension.depends to be auto-included by sdist
      Add test case for when dependency files don't exit
      Capture expectation about (gui-)scripts in pyproject.toml/setup.py
      Make sure user is notified that (gui-)scripts have to be defined in dynamic
      Add news fragment
      Remove beta warning for pyproject tool.setuptools
      Update docs to remove beta status for tool.setuptools
      Remove unused import
      Mention setup.py install for zip-safe and eager-resources
      Prefer the obsolete nomenclature
      Retain warning for tool.distutils (still internal/experimental)
      Retouch pyproject config docs
      Add news fragment
      Ignore warnings about tool.distutils
      Remove confusing bit of doc
      Refactor TestRegressions to use symlink_or_skip_test
      Fix tools/finalize to use NEWS instead of CHANGES (towncrier-related)
      Improve rendering of newsfragment
      Bump version: 68.0.0 → 68.1.0

Arcadiy Ivanov (1):
      Handle `setup.py` possibly using `sys.exit`

Ashley Anderson (11):
      Fix sphinx-lint errors in docs
      Add failing test
      Update _EditableFinder (in _FINDER_TEMPLATE) to be case-sensitive on case-insensitive filesystems
      Add news fragment
      Remove redundant logic
      Ensure posix paths to enforce case-sensitivity on Windows
      Expand case-sensitivity tests
      More robust checking of path case for imports from editable installations
      Move _check_case within the template
      Fix for Python <3.10
      Small refactor to fix off-by-one, lint

Bart Broere (1):
      Fix a sentence (minor change)

Dimitri Papadopoulos (1):
      Fix a couple typos found by codespell

Hang (2):
      Update package_discovery.rst
      Update package_discovery.rst

Jason R. Coombs (29):
      Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83.
      ⚫ Fade to black.
      Use a different variable name. Fixes #3961. Workaround for astral-sh/ruff#5249.
      Move towncrier config to its own file.
      Use the default 'newsfragments' for news fragments.
      Use jaraco.develop.towncrier to check changes and determine the release kind.
      Revert to towncrier default types.
      Normalized headings in changelog.
      Remove excess config
      Add newsfragment
      Exclude jaraco.develop on cygwin
      Remove code reliant on bdist_wininst. Ref #3525.
      Replace workaround for actions/setup-python#508 with 'allow-prereleases'
      Remove tox boilerplate, no longer necessary with later versions of tox.
      Require Python 3.8 or later.
      Expand 'finalize' to commit and tag the change.
      Leverage pytest-enabler 2.2 for the default config.
      Update config to honor black.
      Apply black styling to all but vendored modules.
      Manually correct line too long errors.
      Grab workaround for pytest-dev/execnet#195.
      Rely on unreleased build. Workaround for pypa/build#630.
      Move workarounds to tox.ini to avoid url references in project metadata.
      Prefer 3.x for Python version (latest stable).
      Collapse skeleton history. Workaround for jaraco/skeleton#87.
      Add links to project home page and pypi. Fixes jaraco/skeleton#77.
      Replace redundant step names with simple 'Run'.
      Increase visibility of security policy. (#4)
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.

Joyce (4):
      Feat: set ci-sage.yml top level as contents read
      feat: initial permissions to main.yml
      Create 3833.misc.rst
      Add user to changelog.d file.

Oliver Mannion (1):
      docs: remove mention of include_package_data and package_data interaction

Stefano Rivera (4):
      Exclude debian dirs from the default namespace search
      Exclude "debian" from top_level.txt.
      A news fragment
      Explain where we are ignoring Debian

Thomas Kluyver (1):
      Remove execnet workaround

ruro (14):
      add Extension.depends to build_ext.get_source_files
      add tests for Extension sdist handling
      add news fragment for PR
      improve backwards compatibility and warning messages
      remove test_auto_include_symlinked_depends
      reimplement _get_internal_depends according to the new logic
      remove no longer used functions in _path
      refactor the tests a bit
      move test project root to subdir, use source_dir fixture
      improve the touch helper function
      add test_symlinked_extension_sources
      add test_invalid_extension_depends
      inline is_relative_to (it's not available in Python 3.8)
      don't run logging verification tests under stdlib distutils

wim glenn (1):
      Typo fix pyproject_config.rst
clrpackages pushed a commit to clearlinux-pkgs/pypi-keyring that referenced this issue Nov 14, 2023
…sion 24.3.0

Jason R. Coombs (22):
      Finalize
      Extract config_path fixture. Reduces nesting and re-uses behavior.
      Leverage pytest-enabler 2.2 for the default config.
      Prefer 3.x for Python version (latest stable).
      Collapse skeleton history. Workaround for jaraco/skeleton#87.
      Add links to project home page and pypi. Fixes jaraco/skeleton#77.
      Replace redundant step names with simple 'Run'.
      Increase visibility of security policy. (#4)
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Rephrase the error to more generically refer to the 'executable', which may not be Python. Ref #629.
      Pin against sphinx 7.2.5 as workaround for sphinx/sphinx-doc#11662. Closes jaraco/skeleton#88.
      Allow GITHUB_* settings to pass through to tests.
      Remove spinner disablement. If it's not already fixed upstream, that's where it should be fixed.
      Clean up 'color' environment variables.
      Add diff-cover check to Github Actions CI. Closes jaraco/skeleton#90.
      Add descriptions to the tox environments. Closes jaraco/skeleton#91.
      Add FORCE_COLOR to the TOX_OVERRIDE for GHA. Requires tox 4.11.1. Closes jaraco/skeleton#89.
      Prefer ``pass_env`` in tox config. Preferred failure mode for tox-dev/tox#3127 and closes jaraco/skeleton#92.
      Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83.
      Add news fragment.
      Disable type checking on filter call. Fixes #659.
      Finalize

Matěj Cepl (1):
      Add mention of keyring_pass.PasswordStoreBackend

Ville Skyttä (4):
      Spelling and grammar fixes
      Remove version from bitwarden-keyring PyPI link
      Fix `--keyring-path` and `--keyring-backend` completions
      Add `--keyring-backend` argument completion for bash

falling-springs (1):
      Add onepassword-keyring to the external backends
clrpackages pushed a commit to clearlinux-pkgs/pypi-jaraco.text that referenced this issue Nov 28, 2023
… version 3.12.0

Jason R. Coombs (35):
      Add #upstream markers for filtered warnings. Add filter for platform module (ref python/cpython#100750).
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Revert "exclude build env from cov reporting (jaraco/skeleton#60)"
      Disable couldnt-parse warnings. Prescribed workaround for nedbat/coveragepy#1392. Fixes python/importlib_resources#279 and fixes jaraco/skeleton#56.
      Remove unnecessary and incorrect copyright notice. Fixes jaraco/skeleton#78.
      Replace flake8 with ruff. Fixes jaraco/skeleton#79 and sheds debt.
      Make substitution fields more prominent and distinct from true 'skeleton' references. (#71)
      Suppress EncodingWarning in build.env. Ref pypa/build#615.
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401.
      Add badge for Ruff.
      Remove inclusion of python version for docs
      Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83.
      Replace workaround for actions/setup-python#508 with 'allow-prereleases'
      Remove tox boilerplate, no longer necessary with later versions of tox.
      Require Python 3.8 or later.
      Expand 'finalize' to commit and tag the change.
      Leverage pytest-enabler 2.2 for the default config.
      Prefer 3.x for Python version (latest stable).
      Collapse skeleton history. Workaround for jaraco/skeleton#87.
      Add links to project home page and pypi. Fixes jaraco/skeleton#77.
      Replace redundant step names with simple 'Run'.
      Increase visibility of security policy. (#4)
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Pin against sphinx 7.2.5 as workaround for sphinx/sphinx-doc#11662. Closes jaraco/skeleton#88.
      Allow GITHUB_* settings to pass through to tests.
      Remove spinner disablement. If it's not already fixed upstream, that's where it should be fixed.
      Clean up 'color' environment variables.
      Add diff-cover check to Github Actions CI. Closes jaraco/skeleton#90.
      Add descriptions to the tox environments. Closes jaraco/skeleton#91.
      Add FORCE_COLOR to the TOX_OVERRIDE for GHA. Requires tox 4.11.1. Closes jaraco/skeleton#89.
      Prefer ``pass_env`` in tox config. Preferred failure mode for tox-dev/tox#3127 and closes jaraco/skeleton#92.
      Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83.
      Update for Python 3.8+
      Finalize

Joyce (1):
      Feat: initial permissions to main.yml (jaraco/skeleton#76)
clrpackages pushed a commit to clearlinux-pkgs/pypi-importlib_metadata that referenced this issue Dec 5, 2023
…8.0 to version 7.0.0

Amund Hov (1):
      With commit 0c819641d314ac496eb32b55f2b15215fa6fa55f the behavior of Entrypoints gets a bit disorienting.

Christian Clauss (2):
      Upgrade GitHub Actions checkout (jaraco/skeleton#94)
      GitHub Actions: Combine tox jobs diffcov and docs (jaraco/skeleton#95)

Dimitri Papadopoulos (1):
      Fix new typo found using codespell

Jason R. Coombs (30):
      Add links to project home page and pypi. Fixes jaraco/skeleton#77.
      Replace redundant step names with simple 'Run'.
      Increase visibility of security policy. (#4)
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Add origin property. Ref #404.
      Pin against sphinx 7.2.5 as workaround for sphinx/sphinx-doc#11662. Closes jaraco/skeleton#88.
      Allow GITHUB_* settings to pass through to tests.
      Remove spinner disablement. If it's not already fixed upstream, that's where it should be fixed.
      Clean up 'color' environment variables.
      Add diff-cover check to Github Actions CI. Closes jaraco/skeleton#90.
      Add descriptions to the tox environments. Closes jaraco/skeleton#91.
      Add FORCE_COLOR to the TOX_OVERRIDE for GHA. Requires tox 4.11.1. Closes jaraco/skeleton#89.
      Prefer ``pass_env`` in tox config. Preferred failure mode for tox-dev/tox#3127 and closes jaraco/skeleton#92.
      Update changelog to reflect backward-incompatible effect. Ref #459.
      Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83.
      Remove news fragment after allowing time to be processed downstream.
      Suppress deprecation warning in dateutil. Workaround for dateutil/dateutil#1284.
      ⚫ Fade to black.
      🧎‍♀️ Genuflect to the types.
      Add news fragment. Intended for #473.
      Finalize
      Added diagnose script. Closes #461.
      Finalize
      Restore pypy tests now that 3.10 is the standard. Bypasses issue in #463.
      Add changelog
      Add test capturing expectation. Ref #404
      Use a SiteBuilder class to build files in the site, traversing the class hierarchy explicitly and avoiding the need for separate setUp calls for each.
      Finalize
      Removed EntryPoint access by numeric index (tuple behavior).
      Finalize
clrpackages pushed a commit to clearlinux-pkgs/pypi-jaraco.collections that referenced this issue Dec 20, 2023
…3.0 to version 5.0.0

Christian Clauss (2):
      Upgrade GitHub Actions checkout (jaraco/skeleton#94)
      GitHub Actions: Combine tox jobs diffcov and docs (jaraco/skeleton#95)

Jason R. Coombs (24):
      Leverage pytest-enabler 2.2 for the default config.
      Prefer 3.x for Python version (latest stable).
      Collapse skeleton history. Workaround for jaraco/skeleton#87.
      Add links to project home page and pypi. Fixes jaraco/skeleton#77.
      Replace redundant step names with simple 'Run'.
      Increase visibility of security policy. (#4)
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Pin against sphinx 7.2.5 as workaround for sphinx/sphinx-doc#11662. Closes jaraco/skeleton#88.
      Allow GITHUB_* settings to pass through to tests.
      Remove spinner disablement. If it's not already fixed upstream, that's where it should be fixed.
      Clean up 'color' environment variables.
      Add diff-cover check to Github Actions CI. Closes jaraco/skeleton#90.
      Add descriptions to the tox environments. Closes jaraco/skeleton#91.
      Add FORCE_COLOR to the TOX_OVERRIDE for GHA. Requires tox 4.11.1. Closes jaraco/skeleton#89.
      Prefer ``pass_env`` in tox config. Preferred failure mode for tox-dev/tox#3127 and closes jaraco/skeleton#92.
      Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83.
      Remove news fragment after allowing time to be processed downstream.
      Suppress deprecation warning in dateutil. Workaround for dateutil/dateutil#1284.
      Update Github Actions badge per actions/starter-workflows#1525.
      Simplify docstring and tests for dict_map
      Removed DictFilter.
      Use proper reference for Projection.
      Moved collections into a package and declared as typed.
      Finalize
clrpackages pushed a commit to clearlinux-pkgs/pypi-jaraco.classes that referenced this issue Feb 9, 2024
…to version 3.3.1

Bartosz Sławecki (1):
      Tweak coverage configuration for type checking (jaraco/skeleton#97)

Christian Clauss (2):
      Upgrade GitHub Actions checkout (jaraco/skeleton#94)
      GitHub Actions: Combine tox jobs diffcov and docs (jaraco/skeleton#95)

Dimitri Papadopoulos Orfanos (2):
      Use the ruff formatter (jaraco/skeleton#99)
      ruff: extended-ignore → ignore (jaraco/skeleton#105)

Jason R. Coombs (24):
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Pin against sphinx 7.2.5 as workaround for sphinx/sphinx-doc#11662. Closes jaraco/skeleton#88.
      Allow GITHUB_* settings to pass through to tests.
      Remove spinner disablement. If it's not already fixed upstream, that's where it should be fixed.
      Clean up 'color' environment variables.
      Add diff-cover check to Github Actions CI. Closes jaraco/skeleton#90.
      Add descriptions to the tox environments. Closes jaraco/skeleton#91.
      Add FORCE_COLOR to the TOX_OVERRIDE for GHA. Requires tox 4.11.1. Closes jaraco/skeleton#89.
      Prefer ``pass_env`` in tox config. Preferred failure mode for tox-dev/tox#3127 and closes jaraco/skeleton#92.
      Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83.
      Remove news fragment after allowing time to be processed downstream.
      Suppress deprecation warning in dateutil. Workaround for dateutil/dateutil#1284.
      Update Github Actions badge per actions/starter-workflows#1525.
      Separate collateral jobs on different lines for easier override/extension.
      Drop minimum requirement on pytest-mypy as most environments are already running much later. Closes jaraco/skeleton#96.
      Remove sole entry for branches-ignore. Workaround for and closes jaraco/skeleton#103.
      Bump year on badge
      Remove build and dist from excludes. It appears they are not needed and their presence blocks the names of packages like 'builder' and 'distutils'. Ref pypa/distutils#224.
      Exclude docs and tests directories properly per Setuptools behavior.
      Rely on default discovery for good heuristics for finding packages.
      Enable preview to enable preserving quotes.
      Use latest versions in RTD boilerplate.
      👹 Feed the hobgoblins (delint).
      Finalize

Sviatoslav Sydorenko (1):
      Enable testing merge queues @ GitHub Actions CI/CD (jaraco/skeleton#93)

bswck (15):
      Add type hints to `jaraco.classes.meta`
      Add type hints to `jaraco.classes.ancestry`
      Add type hints to `jaraco.classes.properties`
      Add `py.typed` marker
      Use single-quote strings for consistency
      Move `Callable` import into type-checking block
      Make `classproperty.__get__()` return `Any`
      Tweak coverage configuration for type checking
      In TODO, link an issue, not a person
      Use `None` return type for setters, rename type aliases
      Nitpick ignore `TYPE_CHECKING` block types
      Use `Protocol[_T]` as `_ClassPropertyAttribute` base
      PEP 252 compatibility
      Remove `_GetterStaticMethod` type
      Prefer single quotes
clrpackages pushed a commit to clearlinux-pkgs/pypi-tempora that referenced this issue Feb 20, 2024
…ion 5.5.1

Bartosz Sławecki (1):
      Tweak coverage configuration for type checking (jaraco/skeleton#97)

Christian Clauss (2):
      Upgrade GitHub Actions checkout (jaraco/skeleton#94)
      GitHub Actions: Combine tox jobs diffcov and docs (jaraco/skeleton#95)

Dimitri Papadopoulos Orfanos (2):
      Use the ruff formatter (jaraco/skeleton#99)
      ruff: extended-ignore → ignore (jaraco/skeleton#105)

Jason R. Coombs (35):
      Sort imports and remove redundant import.
      Clean up docstring on Stopwatch
      Prefer 3.x for Python version (latest stable).
      Collapse skeleton history. Workaround for jaraco/skeleton#87.
      Add links to project home page and pypi. Fixes jaraco/skeleton#77.
      Replace redundant step names with simple 'Run'.
      Increase visibility of security policy. (#4)
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Pin against sphinx 7.2.5 as workaround for sphinx/sphinx-doc#11662. Closes jaraco/skeleton#88.
      Allow GITHUB_* settings to pass through to tests.
      Remove spinner disablement. If it's not already fixed upstream, that's where it should be fixed.
      Clean up 'color' environment variables.
      Add diff-cover check to Github Actions CI. Closes jaraco/skeleton#90.
      Add descriptions to the tox environments. Closes jaraco/skeleton#91.
      Add FORCE_COLOR to the TOX_OVERRIDE for GHA. Requires tox 4.11.1. Closes jaraco/skeleton#89.
      Prefer ``pass_env`` in tox config. Preferred failure mode for tox-dev/tox#3127 and closes jaraco/skeleton#92.
      Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83.
      Remove news fragment after allowing time to be processed downstream.
      Suppress deprecation warning in freezegun. Workaround for spulec/freezegun#508
      Suppress deprecation warning in dateutil. Workaround for dateutil/dateutil#1284.
      Update Github Actions badge per actions/starter-workflows#1525.
      Separate collateral jobs on different lines for easier override/extension.
      Drop minimum requirement on pytest-mypy as most environments are already running much later. Closes jaraco/skeleton#96.
      Remove sole entry for branches-ignore. Workaround for and closes jaraco/skeleton#103.
      Bump year on badge
      Remove build and dist from excludes. It appears they are not needed and their presence blocks the names of packages like 'builder' and 'distutils'. Ref pypa/distutils#224.
      Exclude docs and tests directories properly per Setuptools behavior.
      Rely on default discovery for good heuristics for finding packages.
      Enable preview to enable preserving quotes.
      Use latest versions in RTD boilerplate.
      Remove Sphinx pin. Ref sphinx-doc/sphinx#11662.
      Include deps from the base config in diffcov.
      👹 Feed the hobgoblins (delint).
      Remove test dependency on backports.unittest_mock. Closes #26.
      Finalize

Sviatoslav Sydorenko (1):
      Enable testing merge queues @ GitHub Actions CI/CD (jaraco/skeleton#93)
clrpackages pushed a commit to clearlinux-pkgs/pypi-configparser that referenced this issue Feb 27, 2024
… version 6.0.1

Bartosz Sławecki (1):
      Tweak coverage configuration for type checking (jaraco/skeleton#97)

Christian Clauss (2):
      Upgrade GitHub Actions checkout (jaraco/skeleton#94)
      GitHub Actions: Combine tox jobs diffcov and docs (jaraco/skeleton#95)

Dimitri Papadopoulos Orfanos (2):
      Use the ruff formatter (jaraco/skeleton#99)
      ruff: extended-ignore → ignore (jaraco/skeleton#105)

Jason R. Coombs (28):
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Pin against sphinx 7.2.5 as workaround for sphinx/sphinx-doc#11662. Closes jaraco/skeleton#88.
      Allow GITHUB_* settings to pass through to tests.
      Remove spinner disablement. If it's not already fixed upstream, that's where it should be fixed.
      Clean up 'color' environment variables.
      Add diff-cover check to Github Actions CI. Closes jaraco/skeleton#90.
      Add descriptions to the tox environments. Closes jaraco/skeleton#91.
      Add FORCE_COLOR to the TOX_OVERRIDE for GHA. Requires tox 4.11.1. Closes jaraco/skeleton#89.
      Prefer ``pass_env`` in tox config. Preferred failure mode for tox-dev/tox#3127 and closes jaraco/skeleton#92.
      Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83.
      Remove news fragment after allowing time to be processed downstream.
      Suppress deprecation warning in dateutil. Workaround for dateutil/dateutil#1284.
      Update Github Actions badge per actions/starter-workflows#1525.
      Separate collateral jobs on different lines for easier override/extension.
      Drop minimum requirement on pytest-mypy as most environments are already running much later. Closes jaraco/skeleton#96.
      Remove sole entry for branches-ignore. Workaround for and closes jaraco/skeleton#103.
      Bump year on badge
      Remove build and dist from excludes. It appears they are not needed and their presence blocks the names of packages like 'builder' and 'distutils'. Ref pypa/distutils#224.
      Exclude docs and tests directories properly per Setuptools behavior.
      Rely on default discovery for good heuristics for finding packages.
      Enable preview to enable preserving quotes.
      Use latest versions in RTD boilerplate.
      Registering project with tea.
      Restore find_namespace since this project exposes both 'backports' and 'configparser'.
      👹 Feed the hobgoblins (delint).
      Remove inadvertent reliance on config data from CPython. Closes #70.
      Add news fragment.
      Finalize

Sviatoslav Sydorenko (1):
      Enable testing merge queues @ GitHub Actions CI/CD (jaraco/skeleton#93)
clrpackages pushed a commit to clearlinux-pkgs/pypi-inflect that referenced this issue Apr 3, 2024
…ion 7.2.0

Anderson Bravalheri (7):
      Replace pydantic...validate_call with typeguard.typecheck
      Use a metaclass for Word
      Replace same_method with regular comparisson
      Fix black error
      Remove pydantic imports
      Remove pydantic compatibility modules
      Remove dependency on pydantic

Avasam (1):
      Allow mypy on PyPy (jaraco/skeleton#111)

Bartosz Sławecki (1):
      Tweak coverage configuration for type checking (jaraco/skeleton#97)

Christian Clauss (2):
      Upgrade GitHub Actions checkout (jaraco/skeleton#94)
      GitHub Actions: Combine tox jobs diffcov and docs (jaraco/skeleton#95)

Dimitri Papadopoulos Orfanos (2):
      Use the ruff formatter (jaraco/skeleton#99)
      ruff: extended-ignore → ignore (jaraco/skeleton#105)

James Addison (1):
      Revert "Remove copyright - copyright is automatic and based on history in version control."

Jason R. Coombs (57):
      Prefer 3.x for Python version (latest stable).
      Collapse skeleton history. Workaround for jaraco/skeleton#87.
      Limit the workaround to the Pydantic 2.0.0.0 release.
      Add links to project home page and pypi. Fixes jaraco/skeleton#77.
      Replace redundant step names with simple 'Run'.
      Increase visibility of security policy. (#4)
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Add changelog
      Finalize
      🧎‍♀️ Genuflect to the types.
      Refactor to have a single return expression.
      Remove check on word length (unused).
      Use windowed_complete to iterate over the windowed words.
      Rename 'function' to 'inflection' for precision.
      Remove noqa C901 now that the function is simpler.
      Pin against sphinx 7.2.5 as workaround for sphinx/sphinx-doc#11662. Closes jaraco/skeleton#88.
      Allow GITHUB_* settings to pass through to tests.
      Remove spinner disablement. If it's not already fixed upstream, that's where it should be fixed.
      Clean up 'color' environment variables.
      Add diff-cover check to Github Actions CI. Closes jaraco/skeleton#90.
      Add descriptions to the tox environments. Closes jaraco/skeleton#91.
      Add FORCE_COLOR to the TOX_OVERRIDE for GHA. Requires tox 4.11.1. Closes jaraco/skeleton#89.
      Prefer ``pass_env`` in tox config. Preferred failure mode for tox-dev/tox#3127 and closes jaraco/skeleton#92.
      Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83.
      Remove news fragment after allowing time to be processed downstream.
      Suppress deprecation warning in dateutil. Workaround for dateutil/dateutil#1284.
      Update Github Actions badge per actions/starter-workflows#1525.
      Separate collateral jobs on different lines for easier override/extension.
      Drop minimum requirement on pytest-mypy as most environments are already running much later. Closes jaraco/skeleton#96.
      Remove sole entry for branches-ignore. Workaround for and closes jaraco/skeleton#103.
      Bump year on badge
      Remove build and dist from excludes. It appears they are not needed and their presence blocks the names of packages like 'builder' and 'distutils'. Ref pypa/distutils#224.
      Exclude docs and tests directories properly per Setuptools behavior.
      Rely on default discovery for good heuristics for finding packages.
      Enable preview to enable preserving quotes.
      Use latest versions in RTD boilerplate.
      Remove Sphinx pin. Ref sphinx-doc/sphinx#11662.
      Include deps from the base config in diffcov.
      Registering project with tea.
      Enable complexity check and pycodestyle warnings. Closes jaraco/skeleton#110.
      Use 'extend-select' to avoid disabling the default config. Ref jaraco/skeleton#110.
      Re-enable ignoring of temporary merge queue branches. Closes jaraco/skeleton#103.
      Fetch unshallow clones in readthedocs. Closes jaraco/skeleton#114.
      Move Python 3.11 out of the test matrix.
      👹 Feed the hobgoblins (delint).
      One more level deep, pydantic now inflects the error message.
      👹 Feed the hobgoblins (delint).
      Prefer f-strings
      👹 Feed the hobgoblins (delint).
      Catch more specific exception (B017).
      👹 Feed the hobgoblins (delint).
      Fix pointless comparison (B015).
      👹 Feed the hobgoblins (delint).
      👹 Feed the hobgoblins (delint).
      Add news fragment.
      Mark type checking block as uncovered.
      Finalize

Paul (7):
      Handle "pair of ..." when word in `pl_sb_uninflected_complete`
      "octopi" as plural form for "octopus"
      Reverted "octopi"
      Reverted "syringe" test
      Created function
      Added examples to `_handle_long_compounds`
      Use `noqa: C901`

Sviatoslav Sydorenko (1):
      Enable testing merge queues @ GitHub Actions CI/CD (jaraco/skeleton#93)
clrpackages pushed a commit to clearlinux-pkgs/pypi-jaraco.context that referenced this issue Apr 9, 2024
…to version 5.1.0

Avasam (1):
      Allow mypy on PyPy (jaraco/skeleton#111)

Bartosz Sławecki (1):
      Tweak coverage configuration for type checking (jaraco/skeleton#97)

Christian Clauss (2):
      Upgrade GitHub Actions checkout (jaraco/skeleton#94)
      GitHub Actions: Combine tox jobs diffcov and docs (jaraco/skeleton#95)

Dimitri Papadopoulos Orfanos (2):
      Use the ruff formatter (jaraco/skeleton#99)
      ruff: extended-ignore → ignore (jaraco/skeleton#105)

Jason R. Coombs (71):
      ALLOW_UNICODE no longer needed on Python 3. As a result, ELLIPSES is also now enabled by default.
      Enable default encoding warning where available. See PEP 597.
      Suppress EncodingWarning in pytest_black. Workaround for shopkeep/pytest-black#67.
      Exempt warning. Workaround for realpython/pytest-mypy#152
      Add #upstream markers for filtered warnings. Add filter for platform module (ref python/cpython#100750).
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Revert "exclude build env from cov reporting (jaraco/skeleton#60)"
      Disable couldnt-parse warnings. Prescribed workaround for nedbat/coveragepy#1392. Fixes python/importlib_resources#279 and fixes jaraco/skeleton#56.
      Remove unnecessary and incorrect copyright notice. Fixes jaraco/skeleton#78.
      Replace flake8 with ruff. Fixes jaraco/skeleton#79 and sheds debt.
      Make substitution fields more prominent and distinct from true 'skeleton' references. (#71)
      Suppress EncodingWarning in build.env. Ref pypa/build#615.
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401.
      Add badge for Ruff.
      Remove inclusion of python version for docs
      Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83.
      Replace workaround for actions/setup-python#508 with 'allow-prereleases'
      Remove tox boilerplate, no longer necessary with later versions of tox.
      Require Python 3.8 or later.
      Expand 'finalize' to commit and tag the change.
      Leverage pytest-enabler 2.2 for the default config.
      Prefer 3.x for Python version (latest stable).
      Collapse skeleton history. Workaround for jaraco/skeleton#87.
      Add links to project home page and pypi. Fixes jaraco/skeleton#77.
      Replace redundant step names with simple 'Run'.
      Increase visibility of security policy. (#4)
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Pin against sphinx 7.2.5 as workaround for sphinx/sphinx-doc#11662. Closes jaraco/skeleton#88.
      Allow GITHUB_* settings to pass through to tests.
      Remove spinner disablement. If it's not already fixed upstream, that's where it should be fixed.
      Clean up 'color' environment variables.
      Add diff-cover check to Github Actions CI. Closes jaraco/skeleton#90.
      Add descriptions to the tox environments. Closes jaraco/skeleton#91.
      Add FORCE_COLOR to the TOX_OVERRIDE for GHA. Requires tox 4.11.1. Closes jaraco/skeleton#89.
      Prefer ``pass_env`` in tox config. Preferred failure mode for tox-dev/tox#3127 and closes jaraco/skeleton#92.
      Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83.
      Remove news fragment after allowing time to be processed downstream.
      Suppress deprecation warning in dateutil. Workaround for dateutil/dateutil#1284.
      Update Github Actions badge per actions/starter-workflows#1525.
      Separate collateral jobs on different lines for easier override/extension.
      Drop minimum requirement on pytest-mypy as most environments are already running much later. Closes jaraco/skeleton#96.
      Remove sole entry for branches-ignore. Workaround for and closes jaraco/skeleton#103.
      Bump year on badge
      Remove build and dist from excludes. It appears they are not needed and their presence blocks the names of packages like 'builder' and 'distutils'. Ref pypa/distutils#224.
      Exclude docs and tests directories properly per Setuptools behavior.
      Rely on default discovery for good heuristics for finding packages.
      Enable preview to enable preserving quotes.
      Use latest versions in RTD boilerplate.
      Remove Sphinx pin. Ref sphinx-doc/sphinx#11662.
      Include deps from the base config in diffcov.
      Enable complexity check and pycodestyle warnings. Closes jaraco/skeleton#110.
      Use 'extend-select' to avoid disabling the default config. Ref jaraco/skeleton#110.
      Re-enable ignoring of temporary merge queue branches. Closes jaraco/skeleton#103.
      Fetch unshallow clones in readthedocs. Closes jaraco/skeleton#114.
      Move Python 3.11 out of the test matrix.
      Configure pytest to support namespace packages. Ref pytest-dev/pytest#12112.
      Update readme and docs.
      👹 Feed the hobgoblins (delint).
      👹 Feed the hobgoblins (delint).
      Removed deprecated 'runner' parameter to tarball_context.
      Renamed tarball_context to tarball and deprecated tarball_context compatibility shim.
      Disentangle pushd from tarball.
      Add a few type hints. Ref #2
      Finalize
      👹 Feed the hobgoblins (delint).
      Implement compose for composing context managers.
      Make the function private for now, available experimentally until there's feedback (or not) on the approach.
      Deprecate null context.
      Rely on Python 3.8 syntax.
      Finalize

Joyce (1):
      Feat: initial permissions to main.yml (jaraco/skeleton#76)

Sviatoslav Sydorenko (1):
      Enable testing merge queues @ GitHub Actions CI/CD (jaraco/skeleton#93)
@JohnVillalovos
Copy link

For anybody who is trying to run tox inside of tox. Meaning using tox to run tox in a different directory this can break things for you, if you use the same environment name in both tox.ini. As the lower level tox will be using the upper level's work directory.

Conditions for breakage:

  • The top-level tox.ini environment calls lower-level tox.ini environment of the same name. In my case they were both called "validate-dhcp"
  • The environments have different requirements. So my top-level environment only has a dependency on tox while the lower-level environment has different requirements.

My work around was to do:

  [testenv:validate-dhcp]
  allowlist_externals = env
  deps = tox
  change_dir = {toxinidir}/ci
  commands =
    env 'TOX_WORK_DIR=' tox -e validate-dhcp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted. needs:reproducer ideally a failing test marked as xfail. If that is not possible exact instructions to reproduce
Projects
None yet
Development

No branches or pull requests

3 participants