-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
Add config_settings support for build backend calls #3090
Conversation
The current implementation allows [testenv:.pkg]
pep517_config_settings =
a = b
x = yz |
You likely want to have a base settings and then allow overriding for wheel/sdist/editable. |
Do you mean something like [testenv:.pkg]
pep517_config_settings_base =
a = b
x = yz
pep517_config_settings_sdist =
a = c
x = z
pep517_config_settings_wheel =
a = W
x = W ? In the interest of keeping things simple, I'm not convinced that's necessary. After all, there's a separate setting for sdist/wheel/editable builds, and when the user wants to change that, she has to touch the config anyway. E.g., from [testenv:.pkg]
package = editable
pep517_config_settings =
a = b
x = yz to [testenv:.pkg]
;package = editable
;pep517_config_settings =
; a = b
; x = yz
package = sdist
pep517_config_settings =
a = S
x = S What do you think? |
Multiple different tox environments can reuse the same packaging environment, so it's important they are configurred differently: [testenv]
wheel_build_env = .pkg
[testenv:wheel]
package = wheel
[testenv:sdist]
package = sdist
[testenv:editable]
package = editable All these 3 envs will use the same |
Ah, so what should the config look like exactly? |
[testenv]
wheel_build_env = .pkg
[testenv:wheel]
package = wheel
[testenv:sdist]
package = sdist
[testenv:editable]
package = editable
[testenv:.pkg]
config_settings =
a = S
config_settings_wheel =
a = S
config_settings_sdist =
a = S
config_settings_editable =
a = S If |
If config_settings =
a = S
b = T
config_settings_wheel =
a = U should the complete list of config settings by a = U
b = T or a = U ? |
Don't merge. Instead override. |
What about the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add tests too please.
|
Where would they go? |
I'm having substantial problems setting up a test. There seems to be no similar test prototype I could take inspiration from. For example |
@gaborbernat I'm gonna need some guidance here. |
ef436e7
to
f95523c
Compare
Will need tox-dev/pyproject-api#99 first released. |
f95523c
to
9ce22eb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9ce22eb
to
524c6eb
Compare
524c6eb
to
e3ec070
Compare
Signed-off-by: Bernát Gábor <[email protected]>
e3ec070
to
6e6a75f
Compare
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `23.7.0` -> `23.9.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/black/23.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/black/23.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/black/23.7.0/23.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/black/23.7.0/23.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [exceptiongroup](https://togithub.com/agronholm/exceptiongroup) ([changelog](https://togithub.com/agronholm/exceptiongroup/blob/main/CHANGES.rst)) | `==1.1.2` -> `==1.1.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/exceptiongroup/1.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/exceptiongroup/1.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/exceptiongroup/1.1.2/1.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/exceptiongroup/1.1.2/1.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [httpcore](https://togithub.com/encode/httpcore) | `==0.17.3` -> `==0.18.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/httpcore/0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/httpcore/0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/httpcore/0.17.3/0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/httpcore/0.17.3/0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [httpx](https://togithub.com/encode/httpx) ([changelog](https://togithub.com/encode/httpx/blob/master/CHANGELOG.md)) | `==0.24.1` -> `==0.25.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/httpx/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/httpx/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/httpx/0.24.1/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/httpx/0.24.1/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lightkube-models](https://togithub.com/gtsystem/lightkube-models) | `==1.27.1.4` -> `==1.28.1.4` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/lightkube-models/1.28.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/lightkube-models/1.28.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/lightkube-models/1.27.1.4/1.28.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lightkube-models/1.27.1.4/1.28.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [mypy](https://www.mypy-lang.org/) ([source](https://togithub.com/python/mypy), [changelog](https://mypy-lang.blogspot.com/)) | `1.5.0` -> `1.5.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/mypy/1.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/mypy/1.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/mypy/1.5.0/1.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/1.5.0/1.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `7.4.0` -> `7.4.2` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest/7.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest/7.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest/7.4.0/7.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest/7.4.0/7.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [tox](https://togithub.com/tox-dev/tox) ([changelog](https://tox.wiki/en/latest/changelog.html)) | `4.8.0` -> `4.11.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/tox/4.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/tox/4.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/tox/4.8.0/4.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/tox/4.8.0/4.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>psf/black (black)</summary> ### [`v23.9.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2391) [Compare Source](https://togithub.com/psf/black/compare/23.9.0...23.9.1) Due to various issues, the previous release (23.9.0) did not include compiled mypyc wheels, which make Black significantly faster. These issues have now been fixed, and this release should come with compiled wheels once again. There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12 wheels in a future release as soon as the mypyc bug is fixed. ##### Packaging - Upgrade to mypy 1.5.1 ([#​3864](https://togithub.com/psf/black/issues/3864)) ##### Performance - Store raw tuples instead of NamedTuples in Black's cache, improving performance and decreasing the size of the cache ([#​3877](https://togithub.com/psf/black/issues/3877)) ### [`v23.9.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2390) [Compare Source](https://togithub.com/psf/black/compare/23.7.0...23.9.0) ##### Preview style - More concise formatting for dummy implementations ([#​3796](https://togithub.com/psf/black/issues/3796)) - In stub files, add a blank line between a statement with a body (e.g an `if sys.version_info > (3, x):`) and a function definition on the same level ([#​3862](https://togithub.com/psf/black/issues/3862)) - Fix a bug whereby spaces were removed from walrus operators within subscript([#​3823](https://togithub.com/psf/black/issues/3823)) ##### Configuration - Black now applies exclusion and ignore logic before resolving symlinks ([#​3846](https://togithub.com/psf/black/issues/3846)) ##### Performance - Avoid importing `IPython` if notebook cells do not contain magics ([#​3782](https://togithub.com/psf/black/issues/3782)) - Improve caching by comparing file hashes as fallback for mtime and size ([#​3821](https://togithub.com/psf/black/issues/3821)) ##### *Blackd* - Fix an issue in `blackd` with single character input ([#​3558](https://togithub.com/psf/black/issues/3558)) ##### Integrations - Black now has an [official pre-commit mirror](https://togithub.com/psf/black-pre-commit-mirror). Swapping `https://github.com/psf/black` to `https://github.com/psf/black-pre-commit-mirror` in your `.pre-commit-config.yaml` will make Black about 2x faster ([#​3828](https://togithub.com/psf/black/issues/3828)) - The `.black.env` folder specified by `ENV_PATH` will now be removed on the completion of the GitHub Action ([#​3759](https://togithub.com/psf/black/issues/3759)) </details> <details> <summary>agronholm/exceptiongroup (exceptiongroup)</summary> ### [`v1.1.3`](https://togithub.com/agronholm/exceptiongroup/compare/1.1.2...1.1.3) [Compare Source](https://togithub.com/agronholm/exceptiongroup/compare/1.1.2...1.1.3) </details> <details> <summary>encode/httpcore (httpcore)</summary> ### [`v0.18.0`](https://togithub.com/encode/httpcore/blob/HEAD/CHANGELOG.md#0180-September-8th-2023) [Compare Source](https://togithub.com/encode/httpcore/compare/0.17.3...0.18.0) - Add support for HTTPS proxies. ([#​745](https://togithub.com/encode/httpcore/issues/745), [#​786](https://togithub.com/encode/httpcore/issues/786)) - Drop Python 3.7 support. ([#​727](https://togithub.com/encode/httpcore/issues/727)) - Handle `sni_hostname` extension with SOCKS proxy. ([#​774](https://togithub.com/encode/httpcore/issues/774)) - Handle HTTP/1.1 half-closed connections gracefully. ([#​641](https://togithub.com/encode/httpcore/issues/641)) - Change the type of `Extensions` from `Mapping[Str, Any]` to `MutableMapping[Str, Any]`. ([#​762](https://togithub.com/encode/httpcore/issues/762)) </details> <details> <summary>encode/httpx (httpx)</summary> ### [`v0.25.0`](https://togithub.com/encode/httpx/blob/HEAD/CHANGELOG.md#0250-11th-Sep-2023) [Compare Source](https://togithub.com/encode/httpx/compare/0.24.1...0.25.0) ##### Removed - Drop support for Python 3.7. ([#​2813](https://togithub.com/encode/httpx/issues/2813)) ##### Added - Support HTTPS proxies. ([#​2845](https://togithub.com/encode/httpx/issues/2845)) - Change the type of `Extensions` from `Mapping[Str, Any]` to `MutableMapping[Str, Any]`. ([#​2803](https://togithub.com/encode/httpx/issues/2803)) - Add `socket_options` argument to `httpx.HTTPTransport` and `httpx.AsyncHTTPTransport` classes. ([#​2716](https://togithub.com/encode/httpx/issues/2716)) - The `Response.raise_for_status()` method now returns the response instance. For example: `data = httpx.get('...').raise_for_status().json()`. ([#​2776](https://togithub.com/encode/httpx/issues/2776)) ##### Fixed - Return `500` error response instead of exceptions when `raise_app_exceptions=False` is set on `ASGITransport`. ([#​2669](https://togithub.com/encode/httpx/issues/2669)) - Ensure all `WSGITransport` environs have a `SERVER_PROTOCOL`. ([#​2708](https://togithub.com/encode/httpx/issues/2708)) - Always encode forward slashes as `%2F` in query parameters ([#​2723](https://togithub.com/encode/httpx/issues/2723)) - Use Mozilla documentation instead of `httpstatuses.com` for HTTP error reference ([#​2768](https://togithub.com/encode/httpx/issues/2768)) </details> <details> <summary>python/mypy (mypy)</summary> ### [`v1.5.1`](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) </details> <details> <summary>pytest-dev/pytest (pytest)</summary> ### [`v7.4.2`](https://togithub.com/pytest-dev/pytest/releases/tag/7.4.2): pytest 7.4.2 (2023-09-07) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.1...7.4.2) ### Bug Fixes - [#​11237](https://togithub.com/pytest-dev/pytest/issues/11237): Fix doctest collection of `functools.cached_property` objects. - [#​11306](https://togithub.com/pytest-dev/pytest/issues/11306): Fixed bug using `--importmode=importlib` which would cause package `__init__.py` files to be imported more than once in some cases. - [#​11367](https://togithub.com/pytest-dev/pytest/issues/11367): Fixed bug where `user_properties` where not being saved in the JUnit XML file if a fixture failed during teardown. - [#​11394](https://togithub.com/pytest-dev/pytest/issues/11394): Fixed crash when parsing long command line arguments that might be interpreted as files. ### Improved Documentation - [#​11391](https://togithub.com/pytest-dev/pytest/issues/11391): Improved disclaimer on pytest plugin reference page to better indicate this is an automated, non-curated listing. ### [`v7.4.1`](https://togithub.com/pytest-dev/pytest/releases/tag/7.4.1): pytest 7.4.1 (2023-09-02) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.0...7.4.1) ## Bug Fixes - [#​10337](https://togithub.com/pytest-dev/pytest/issues/10337): Fixed bug where fake intermediate modules generated by `--import-mode=importlib` would not include the child modules as attributes of the parent modules. - [#​10702](https://togithub.com/pytest-dev/pytest/issues/10702): Fixed error assertion handling in `pytest.approx` when `None` is an expected or received value when comparing dictionaries. - [#​10811](https://togithub.com/pytest-dev/pytest/issues/10811): Fixed issue when using `--import-mode=importlib` together with `--doctest-modules` that caused modules to be imported more than once, causing problems with modules that have import side effects. </details> <details> <summary>tox-dev/tox (tox)</summary> ### [`v4.11.3`](https://togithub.com/tox-dev/tox/releases/tag/4.11.3) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.11.2...4.11.3) #### What's Changed - docs(plugin): explain plugin registration by [@​hashar](https://togithub.com/hashar) in [https://github.com/tox-dev/tox/pull/3116](https://togithub.com/tox-dev/tox/pull/3116) - Fix error caused by a bad `base_python` path by [@​Tbruno25](https://togithub.com/Tbruno25) in [https://github.com/tox-dev/tox/pull/3122](https://togithub.com/tox-dev/tox/pull/3122) #### New Contributors - [@​hashar](https://togithub.com/hashar) made their first contribution in [https://github.com/tox-dev/tox/pull/3116](https://togithub.com/tox-dev/tox/pull/3116) **Full Changelog**: tox-dev/tox@4.11.2...4.11.3 ### [`v4.11.2`](https://togithub.com/tox-dev/tox/releases/tag/4.11.2) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.11.1...4.11.2) #### What's Changed - Fix typos discovered by codespell by [@​cclauss](https://togithub.com/cclauss) in [https://github.com/tox-dev/tox/pull/3113](https://togithub.com/tox-dev/tox/pull/3113) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/tox-dev/tox/pull/3114](https://togithub.com/tox-dev/tox/pull/3114) - Providing example to make CLI help more helpful for -x,--override by [@​posita](https://togithub.com/posita) in [https://github.com/tox-dev/tox/pull/3119](https://togithub.com/tox-dev/tox/pull/3119) - Remove stray colons in `config.rst` left over from [#​3111](https://togithub.com/tox-dev/tox/issues/3111) by [@​posita](https://togithub.com/posita) in [https://github.com/tox-dev/tox/pull/3120](https://togithub.com/tox-dev/tox/pull/3120) #### New Contributors - [@​cclauss](https://togithub.com/cclauss) made their first contribution in [https://github.com/tox-dev/tox/pull/3113](https://togithub.com/tox-dev/tox/pull/3113) - [@​posita](https://togithub.com/posita) made their first contribution in [https://github.com/tox-dev/tox/pull/3119](https://togithub.com/tox-dev/tox/pull/3119) **Full Changelog**: tox-dev/tox@4.11.1...4.11.2 ### [`v4.11.1`](https://togithub.com/tox-dev/tox/releases/tag/4.11.1) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.11.0...4.11.1) #### What's Changed - Tests: Don't assume Python 3.10 is always installed, use current Python version by [@​hroncok](https://togithub.com/hroncok) in [https://github.com/tox-dev/tox/pull/3108](https://togithub.com/tox-dev/tox/pull/3108) - Set the --parallel default to "auto", not CPU count by [@​paravoid](https://togithub.com/paravoid) in [https://github.com/tox-dev/tox/pull/3109](https://togithub.com/tox-dev/tox/pull/3109) - Fix , being used as value parser for env var configs by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3111](https://togithub.com/tox-dev/tox/pull/3111) **Full Changelog**: tox-dev/tox@4.11.0...4.11.1 ### [`v4.11.0`](https://togithub.com/tox-dev/tox/releases/tag/4.11.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.10.0...4.11.0) #### What's Changed - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3102](https://togithub.com/tox-dev/tox/pull/3102) - Fix type checker and bump tools by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3107](https://togithub.com/tox-dev/tox/pull/3107) - Add config_settings support for build backend calls by [@​nschloe](https://togithub.com/nschloe) in [https://github.com/tox-dev/tox/pull/3090](https://togithub.com/tox-dev/tox/pull/3090) #### New Contributors - [@​nschloe](https://togithub.com/nschloe) made their first contribution in [https://github.com/tox-dev/tox/pull/3090](https://togithub.com/tox-dev/tox/pull/3090) **Full Changelog**: tox-dev/tox@4.10.0...4.11.0 ### [`v4.10.0`](https://togithub.com/tox-dev/tox/releases/tag/4.10.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.9.0...4.10.0) ##### What's Changed - Set basepython for docs env in alignment to Read the Docs default by [@​jugmac00](https://togithub.com/jugmac00) in [https://github.com/tox-dev/tox/pull/3097](https://togithub.com/tox-dev/tox/pull/3097) - Document release process by [@​jugmac00](https://togithub.com/jugmac00) in [https://github.com/tox-dev/tox/pull/3094](https://togithub.com/tox-dev/tox/pull/3094) - Replace undefined settings with overrides when appending by [@​stefanor](https://togithub.com/stefanor) in [https://github.com/tox-dev/tox/pull/3101](https://togithub.com/tox-dev/tox/pull/3101) - Accept environments with defined factors or of python selector form - suggest closest by [@​BeyondEvil](https://togithub.com/BeyondEvil) in [https://github.com/tox-dev/tox/pull/3099](https://togithub.com/tox-dev/tox/pull/3099) ##### New Contributors - [@​BeyondEvil](https://togithub.com/BeyondEvil) made their first contribution in [https://github.com/tox-dev/tox/pull/3099](https://togithub.com/tox-dev/tox/pull/3099) **Full Changelog**: tox-dev/tox@4.9.0...4.10.0 ### [`v4.9.0`](https://togithub.com/tox-dev/tox/releases/tag/4.9.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.8.0...4.9.0) ##### What's Changed - Disallow command line environments which are not explicitly specified in the config file by [@​tjsmart](https://togithub.com/tjsmart) in [https://github.com/tox-dev/tox/pull/3089](https://togithub.com/tox-dev/tox/pull/3089) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3091](https://togithub.com/tox-dev/tox/pull/3091) ##### New Contributors - [@​tjsmart](https://togithub.com/tjsmart) made their first contribution in [https://github.com/tox-dev/tox/pull/3089](https://togithub.com/tox-dev/tox/pull/3089) **Full Changelog**: tox-dev/tox@4.8.0...4.9.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 1am and before 2am on saturday" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/spark-k8s-toolkit-py). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tox](https://togithub.com/tox-dev/tox) ([changelog](https://tox.wiki/en/latest/changelog.html)) | dev | minor | `4.5.1` -> `4.11.4` | --- ### Release Notes <details> <summary>tox-dev/tox (tox)</summary> ### [`v4.11.4`](https://togithub.com/tox-dev/tox/releases/tag/4.11.4) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.11.3...4.11.4) #### What's Changed - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3124](https://togithub.com/tox-dev/tox/pull/3124) - Fix `quickstart` command from requiring `root` positional argument by [@​Tbruno25](https://togithub.com/Tbruno25) in [https://github.com/tox-dev/tox/pull/3123](https://togithub.com/tox-dev/tox/pull/3123) - docs(config): fix default value for install_command by [@​hashar](https://togithub.com/hashar) in [https://github.com/tox-dev/tox/pull/3126](https://togithub.com/tox-dev/tox/pull/3126) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3128](https://togithub.com/tox-dev/tox/pull/3128) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3132](https://togithub.com/tox-dev/tox/pull/3132) - Added Python 3.12 in installation docs by [@​mj0nez](https://togithub.com/mj0nez) in [https://github.com/tox-dev/tox/pull/3133](https://togithub.com/tox-dev/tox/pull/3133) - Fix terminal size in tox commands ([#​2999](https://togithub.com/tox-dev/tox/issues/2999)) by [@​ziima](https://togithub.com/ziima) in [https://github.com/tox-dev/tox/pull/3139](https://togithub.com/tox-dev/tox/pull/3139) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3135](https://togithub.com/tox-dev/tox/pull/3135) - Use the new ruff formatter over black by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3142](https://togithub.com/tox-dev/tox/pull/3142) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3147](https://togithub.com/tox-dev/tox/pull/3147) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3149](https://togithub.com/tox-dev/tox/pull/3149) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3154](https://togithub.com/tox-dev/tox/pull/3154) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3161](https://togithub.com/tox-dev/tox/pull/3161) - docs(config): Fix base_python default reference by [@​rpatterson](https://togithub.com/rpatterson) in [https://github.com/tox-dev/tox/pull/3156](https://togithub.com/tox-dev/tox/pull/3156) - Fixed 'AppData' not passed to env by default ([#​3151](https://togithub.com/tox-dev/tox/issues/3151)) by [@​Stefanhg](https://togithub.com/Stefanhg) in [https://github.com/tox-dev/tox/pull/3160](https://togithub.com/tox-dev/tox/pull/3160) #### New Contributors - [@​mj0nez](https://togithub.com/mj0nez) made their first contribution in [https://github.com/tox-dev/tox/pull/3133](https://togithub.com/tox-dev/tox/pull/3133) - [@​Stefanhg](https://togithub.com/Stefanhg) made their first contribution in [https://github.com/tox-dev/tox/pull/3160](https://togithub.com/tox-dev/tox/pull/3160) **Full Changelog**: tox-dev/tox@4.11.3...4.11.4 ### [`v4.11.3`](https://togithub.com/tox-dev/tox/releases/tag/4.11.3) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.11.2...4.11.3) #### What's Changed - docs(plugin): explain plugin registration by [@​hashar](https://togithub.com/hashar) in [https://github.com/tox-dev/tox/pull/3116](https://togithub.com/tox-dev/tox/pull/3116) - Fix error caused by a bad `base_python` path by [@​Tbruno25](https://togithub.com/Tbruno25) in [https://github.com/tox-dev/tox/pull/3122](https://togithub.com/tox-dev/tox/pull/3122) #### New Contributors - [@​hashar](https://togithub.com/hashar) made their first contribution in [https://github.com/tox-dev/tox/pull/3116](https://togithub.com/tox-dev/tox/pull/3116) **Full Changelog**: tox-dev/tox@4.11.2...4.11.3 ### [`v4.11.2`](https://togithub.com/tox-dev/tox/releases/tag/4.11.2) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.11.1...4.11.2) #### What's Changed - Fix typos discovered by codespell by [@​cclauss](https://togithub.com/cclauss) in [https://github.com/tox-dev/tox/pull/3113](https://togithub.com/tox-dev/tox/pull/3113) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/tox-dev/tox/pull/3114](https://togithub.com/tox-dev/tox/pull/3114) - Providing example to make CLI help more helpful for -x,--override by [@​posita](https://togithub.com/posita) in [https://github.com/tox-dev/tox/pull/3119](https://togithub.com/tox-dev/tox/pull/3119) - Remove stray colons in `config.rst` left over from [#​3111](https://togithub.com/tox-dev/tox/issues/3111) by [@​posita](https://togithub.com/posita) in [https://github.com/tox-dev/tox/pull/3120](https://togithub.com/tox-dev/tox/pull/3120) #### New Contributors - [@​cclauss](https://togithub.com/cclauss) made their first contribution in [https://github.com/tox-dev/tox/pull/3113](https://togithub.com/tox-dev/tox/pull/3113) - [@​posita](https://togithub.com/posita) made their first contribution in [https://github.com/tox-dev/tox/pull/3119](https://togithub.com/tox-dev/tox/pull/3119) **Full Changelog**: tox-dev/tox@4.11.1...4.11.2 ### [`v4.11.1`](https://togithub.com/tox-dev/tox/releases/tag/4.11.1) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.11.0...4.11.1) #### What's Changed - Tests: Don't assume Python 3.10 is always installed, use current Python version by [@​hroncok](https://togithub.com/hroncok) in [https://github.com/tox-dev/tox/pull/3108](https://togithub.com/tox-dev/tox/pull/3108) - Set the --parallel default to "auto", not CPU count by [@​paravoid](https://togithub.com/paravoid) in [https://github.com/tox-dev/tox/pull/3109](https://togithub.com/tox-dev/tox/pull/3109) - Fix , being used as value parser for env var configs by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3111](https://togithub.com/tox-dev/tox/pull/3111) **Full Changelog**: tox-dev/tox@4.11.0...4.11.1 ### [`v4.11.0`](https://togithub.com/tox-dev/tox/releases/tag/4.11.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.10.0...4.11.0) #### What's Changed - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3102](https://togithub.com/tox-dev/tox/pull/3102) - Fix type checker and bump tools by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3107](https://togithub.com/tox-dev/tox/pull/3107) - Add config_settings support for build backend calls by [@​nschloe](https://togithub.com/nschloe) in [https://github.com/tox-dev/tox/pull/3090](https://togithub.com/tox-dev/tox/pull/3090) #### New Contributors - [@​nschloe](https://togithub.com/nschloe) made their first contribution in [https://github.com/tox-dev/tox/pull/3090](https://togithub.com/tox-dev/tox/pull/3090) **Full Changelog**: tox-dev/tox@4.10.0...4.11.0 ### [`v4.10.0`](https://togithub.com/tox-dev/tox/releases/tag/4.10.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.9.0...4.10.0) #### What's Changed - Set basepython for docs env in alignment to Read the Docs default by [@​jugmac00](https://togithub.com/jugmac00) in [https://github.com/tox-dev/tox/pull/3097](https://togithub.com/tox-dev/tox/pull/3097) - Document release process by [@​jugmac00](https://togithub.com/jugmac00) in [https://github.com/tox-dev/tox/pull/3094](https://togithub.com/tox-dev/tox/pull/3094) - Replace undefined settings with overrides when appending by [@​stefanor](https://togithub.com/stefanor) in [https://github.com/tox-dev/tox/pull/3101](https://togithub.com/tox-dev/tox/pull/3101) - Accept environments with defined factors or of python selector form - suggest closest by [@​BeyondEvil](https://togithub.com/BeyondEvil) in [https://github.com/tox-dev/tox/pull/3099](https://togithub.com/tox-dev/tox/pull/3099) #### New Contributors - [@​BeyondEvil](https://togithub.com/BeyondEvil) made their first contribution in [https://github.com/tox-dev/tox/pull/3099](https://togithub.com/tox-dev/tox/pull/3099) **Full Changelog**: tox-dev/tox@4.9.0...4.10.0 ### [`v4.9.0`](https://togithub.com/tox-dev/tox/releases/tag/4.9.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.8.0...4.9.0) #### What's Changed - Disallow command line environments which are not explicitly specified in the config file by [@​tjsmart](https://togithub.com/tjsmart) in [https://github.com/tox-dev/tox/pull/3089](https://togithub.com/tox-dev/tox/pull/3089) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3091](https://togithub.com/tox-dev/tox/pull/3091) #### New Contributors - [@​tjsmart](https://togithub.com/tjsmart) made their first contribution in [https://github.com/tox-dev/tox/pull/3089](https://togithub.com/tox-dev/tox/pull/3089) **Full Changelog**: tox-dev/tox@4.8.0...4.9.0 ### [`v4.8.0`](https://togithub.com/tox-dev/tox/releases/tag/4.8.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.7.0...4.8.0) #### What's Changed - Correct "notset" typo in --hashseed's --help text. by [@​lamby](https://togithub.com/lamby) in [https://github.com/tox-dev/tox/pull/3082](https://togithub.com/tox-dev/tox/pull/3082) - Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/tox-dev/tox/pull/3085](https://togithub.com/tox-dev/tox/pull/3085) - Allow extending lists with --override foo+=bar by [@​stefanor](https://togithub.com/stefanor) in [https://github.com/tox-dev/tox/pull/3088](https://togithub.com/tox-dev/tox/pull/3088) #### New Contributors - [@​lamby](https://togithub.com/lamby) made their first contribution in [https://github.com/tox-dev/tox/pull/3082](https://togithub.com/tox-dev/tox/pull/3082) - [@​stefanor](https://togithub.com/stefanor) made their first contribution in [https://github.com/tox-dev/tox/pull/3088](https://togithub.com/tox-dev/tox/pull/3088) **Full Changelog**: tox-dev/tox@4.7.0...4.8.0 ### [`v4.7.0`](https://togithub.com/tox-dev/tox/releases/tag/4.7.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.6.4...4.7.0) #### What's Changed - Fix doc alignment and link check by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3059](https://togithub.com/tox-dev/tox/pull/3059) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3061](https://togithub.com/tox-dev/tox/pull/3061) - Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/tox-dev/tox/pull/3063](https://togithub.com/tox-dev/tox/pull/3063) - Update a test regex to work with Python 3.12+ by [@​hroncok](https://togithub.com/hroncok) in [https://github.com/tox-dev/tox/pull/3066](https://togithub.com/tox-dev/tox/pull/3066) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3067](https://togithub.com/tox-dev/tox/pull/3067) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3070](https://togithub.com/tox-dev/tox/pull/3070) - Remove broken link by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3072](https://togithub.com/tox-dev/tox/pull/3072) - Add sponsor button for tidelift by [@​jugmac00](https://togithub.com/jugmac00) in [https://github.com/tox-dev/tox/pull/3079](https://togithub.com/tox-dev/tox/pull/3079) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3081](https://togithub.com/tox-dev/tox/pull/3081) - Make --hashseed default to PYTHONHASHSEED, if defined by [@​paravoid](https://togithub.com/paravoid) in [https://github.com/tox-dev/tox/pull/3076](https://togithub.com/tox-dev/tox/pull/3076) **Full Changelog**: tox-dev/tox@4.6.4...4.7.0 ### [`v4.6.4`](https://togithub.com/tox-dev/tox/releases/tag/4.6.4) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.6.3...4.6.4) #### What's Changed - Ensure tox r -e docs generates the documentation by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3047](https://togithub.com/tox-dev/tox/pull/3047) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/tox-dev/tox/pull/3051](https://togithub.com/tox-dev/tox/pull/3051) - Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/tox-dev/tox/pull/3052](https://togithub.com/tox-dev/tox/pull/3052) - s/setup.cfg/pyproject.toml/ in the development docs by [@​sk1p](https://togithub.com/sk1p) in [https://github.com/tox-dev/tox/pull/3058](https://togithub.com/tox-dev/tox/pull/3058) - Fix hang and zombie process on interrupt (CTRL-C). by [@​sk1p](https://togithub.com/sk1p) in [https://github.com/tox-dev/tox/pull/3057](https://togithub.com/tox-dev/tox/pull/3057) **Full Changelog**: tox-dev/tox@4.6.3...4.6.4 ### [`v4.6.3`](https://togithub.com/tox-dev/tox/releases/tag/4.6.3) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.6.2...4.6.3) #### What's Changed - Made issue template have less whitespace by [@​jamesbraza](https://togithub.com/jamesbraza) in [https://github.com/tox-dev/tox/pull/3038](https://togithub.com/tox-dev/tox/pull/3038) - Docs link of env var subs section to `set_env` by [@​jamesbraza](https://togithub.com/jamesbraza) in [https://github.com/tox-dev/tox/pull/3039](https://togithub.com/tox-dev/tox/pull/3039) - Removed duplicate text in bug report template by [@​jamesbraza](https://togithub.com/jamesbraza) in [https://github.com/tox-dev/tox/pull/3040](https://togithub.com/tox-dev/tox/pull/3040) - Ensure `get_requires*` hook is called before `prepare_metadata*` by [@​abravalheri](https://togithub.com/abravalheri) in [https://github.com/tox-dev/tox/pull/3044](https://togithub.com/tox-dev/tox/pull/3044) #### New Contributors - [@​jamesbraza](https://togithub.com/jamesbraza) made their first contribution in [https://github.com/tox-dev/tox/pull/3038](https://togithub.com/tox-dev/tox/pull/3038) - [@​abravalheri](https://togithub.com/abravalheri) made their first contribution in [https://github.com/tox-dev/tox/pull/3044](https://togithub.com/tox-dev/tox/pull/3044) **Full Changelog**: tox-dev/tox@4.6.2...4.6.3 ### [`v4.6.2`](https://togithub.com/tox-dev/tox/releases/tag/4.6.2) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.6.1...4.6.2) #### What's Changed - Avoid cache collision between wheel and editable wheel builds by [@​f3flight](https://togithub.com/f3flight) in [https://github.com/tox-dev/tox/pull/3035](https://togithub.com/tox-dev/tox/pull/3035) **Full Changelog**: tox-dev/tox@4.6.1...4.6.2 ### [`v4.6.1`](https://togithub.com/tox-dev/tox/releases/tag/4.6.1) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.6.0...4.6.1) #### What's Changed - Update `usedevelop` doc by referring to PEP-660. by [@​tibortakacs](https://togithub.com/tibortakacs) in [https://github.com/tox-dev/tox/pull/3025](https://togithub.com/tox-dev/tox/pull/3025) - Use ruff by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3033](https://togithub.com/tox-dev/tox/pull/3033) #### New Contributors - [@​tibortakacs](https://togithub.com/tibortakacs) made their first contribution in [https://github.com/tox-dev/tox/pull/3025](https://togithub.com/tox-dev/tox/pull/3025) **Full Changelog**: tox-dev/tox@4.6.0...4.6.1 ### [`v4.6.0`](https://togithub.com/tox-dev/tox/releases/tag/4.6.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.5.2...4.6.0) #### What's Changed - Remove unnecessary Future usage by [@​living180](https://togithub.com/living180) in [https://github.com/tox-dev/tox/pull/3020](https://togithub.com/tox-dev/tox/pull/3020) - Test against 3.12.0-beta.1 by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3022](https://togithub.com/tox-dev/tox/pull/3022) - Add --list-dependencies options by [@​lengau](https://togithub.com/lengau) in [https://github.com/tox-dev/tox/pull/3024](https://togithub.com/tox-dev/tox/pull/3024) #### New Contributors - [@​living180](https://togithub.com/living180) made their first contribution in [https://github.com/tox-dev/tox/pull/3020](https://togithub.com/tox-dev/tox/pull/3020) - [@​lengau](https://togithub.com/lengau) made their first contribution in [https://github.com/tox-dev/tox/pull/3024](https://togithub.com/tox-dev/tox/pull/3024) **Full Changelog**: tox-dev/tox@4.5.2...4.6.0 ### [`v4.5.2`](https://togithub.com/tox-dev/tox/releases/tag/4.5.2) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.5.1.1...4.5.2) #### What's Changed - Add 3.12 support by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/2998](https://togithub.com/tox-dev/tox/pull/2998) - Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/tox-dev/tox/pull/3003](https://togithub.com/tox-dev/tox/pull/3003) - Update list of maintainers by [@​jugmac00](https://togithub.com/jugmac00) in [https://github.com/tox-dev/tox/pull/3008](https://togithub.com/tox-dev/tox/pull/3008) - fix legacy `tox --devenv venv` by [@​asottile](https://togithub.com/asottile) in [https://github.com/tox-dev/tox/pull/3013](https://togithub.com/tox-dev/tox/pull/3013) - Fix legacy devenv by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3019](https://togithub.com/tox-dev/tox/pull/3019) **Full Changelog**: tox-dev/tox@4.5.1...4.5.2 ### [`v4.5.1.1`](https://togithub.com/tox-dev/tox/compare/4.5.1...4.5.1.1) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.5.1...4.5.1.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy42NC4yIiwidXBkYXRlZEluVmVyIjoiMzcuNjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: descope[bot] <descope[bot]@users.noreply.github.com>
@@ -0,0 +1 @@ | |||
Add support for setting build backend ``config_settings`` in the configuration file - by :user:`gaborbernat`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nschloe did you forget to use your own username here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really. I made some contributions here, but Gabor finished it all up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see. Well, you can always enumerate several people..
Thanks for the contrib, by the way! I was just checking if tox already handles the config settings and found this :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nschloe I don't see any mentions of just config_settings
that is not hook-specific but shared. Did that end up not being implemented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't remember. Maybe @gaborbernat knows something here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We did not add that, but you can do that with config reference in your tox file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gaborbernat do you mean compute dynamically in a toxfile.py
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I meant just set it once in tox.ini
and use config reference to set it for every hook you care about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gaborbernat when you say “config reference”, what exactly do you mean? I'm guessing that's what I don't understand. Could you help me bridge the gap in understanding?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refering to another config in the config file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I didn't know about that new syntax. The old one was substitutions. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically, the old one was reference with substitution (because in INI text is text, so what's the difference). The new one is separated because TOML has types, and text != array.
This is a first (non-working) stab at #3080. I tried to add a config setting just like #1891, but it doesn't seem to get passed on to
self.core
. It's supposed to be used likeAny hints on what's missing?