| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Co-authored-by: kdestin <101366538+kdestin@users.noreply.github.com>
Co-authored-by: TJ Bruno <tj.bruno@everactive.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test_sync_write_decode_surrogate: utf-8 decode
When SyncWrite decodes bytes as utf-8, it should replace unknown
sequences with the unicode surrogate codepoint instead of crashing the
program.
Test case for #2969
* SyncWrite: decode with errors='surrogateescape'
Avoid bubbling UnicodeDecodeError up from stream handling internals.
Tox has no way of knowing that the bytestream emitted by a command will
be valid utf-8, even if utf-8 is ostensibly the "correct" encoding for
the stream. It's always possible for an arbitrary command to return
non-utf-8 bytes, and this situation should not break tox.
Fix #2969
|
|
|
|
|
| |
Without the fix, installation would fail with:
AttributeError: 'Namespace' object has no attribute 'find_links'
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test_source_ini: custom config can overlap testenv
regression test for plugin behavior in #2926
* IniSource.get_loader: check section.prefix
ensure that loaders returned from .ini source are bound
to the correct section prefix, if specified.
add comment explaining why the code must look up the name
in the _section_mapping
fix #2926
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|
|
| |
Fix https://github.com/tox-dev/tox/issues/2916
|
| |
|
|
|
| |
fixes https://github.com/tox-dev/tox/issues/2702
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test_package_pyproject: recursive extras
Add regression test for issue #2904
* test_package_pyproject: when project deps has a self-referential extra
the project depends on an extra defined within itself
* Support recursive extras defined in pyproject.toml
Expand extras that reference an extra of the same package name to respect local
changes to package metadata.
Fix #2904
|
|
|
| |
Fix https://github.com/tox-dev/tox/issues/2890
|
| |
|
| |
|
|
|
| |
Fix https://github.com/tox-dev/tox/issues/2386
|
|
|
|
| |
Fix https://github.com/tox-dev/tox/issues/2880
Fix https://github.com/tox-dev/tox/issues/2870
|
|
|
| |
Closes https://github.com/tox-dev/tox/issues/2878
|
|
|
| |
Fix https://github.com/tox-dev/tox/issues/2876
|
|
|
| |
Fix https://github.com/tox-dev/tox/issues/2862
|
|
|
| |
Fix https://github.com/tox-dev/tox/issues/2869
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test_replace_tox_env: add missing chain cases
When a replacement references a replacement
in a non-testenv section it should also be expanded
* Recursive ini-value substitution
Expand substitution expressions that result from a previous subsitution
expression replacement value (up to 100 times).
Fix #2863
* cr: changelog: fix trailing period
* test_replace_tox_env: tests for MAX_REPLACE_DEPTH
Create a long chain of substitution values and assert that
they stop being processed after some time.
|
| |
|
|
|
| |
Fixes https://github.com/tox-dev/tox/issues/2814#issuecomment-1374804987
|
|
|
|
|
|
| |
Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Fixes https://github.com/tox-dev/tox/issues/2657
Fixes https://github.com/tox-dev/tox/issues/2848
|
|
|
| |
Fixes https://github.com/tox-dev/tox/issues/2838
|
|
|
|
|
| |
format files. (#2834)
Fixes https://github.com/tox-dev/tox/issues/2814
|
|
|
| |
fix https://github.com/tox-dev/tox/issues/2811
|
|
|
| |
Closes https://github.com/tox-dev/tox/issues/2754
|
| |
|
|
|
| |
Resolves https://github.com/tox-dev/tox/issues/2815
|
|
|
|
| |
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Resolves https://github.com/tox-dev/tox/issues/2821
|
| |
|
|
|
|
|
|
| |
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
Resolves https://github.com/tox-dev/tox/issues/2791
fixes https://github.com/tox-dev/tox/issues/2791
|
|
|
|
|
| |
(#2813)
Resolves https://github.com/tox-dev/tox/issues/2543
|
| |
|
|
|
| |
Co-authored-by: q0w <43147888+q0w@users.noreply.github.com>
|
|
|
| |
Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
|
|
|
| |
Resolves https://github.com/tox-dev/tox/issues/2685
|
|
|
| |
Closes https://github.com/tox-dev/tox/issues/2649
|
|
|
| |
Resolves https://github.com/tox-dev/tox/issues/2768
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allow hyphenated factors (#2786)
* Enable multiple uses of '-f' meaning 'OR'
Previously, when `-f` was passed, it overwrote the last value. The
result was that `-f foo -f bar` was equivalent to only passing
`-f bar`. Under the new behavior, `-f foo -f bar` combines `foo` and
`bar` as selection criteria, using OR-semantics. Envs matching
`foo OR bar` will be selected.
The existing multi-value argument behavior for `-f` is retained, in
which `-f foo bar` means `foo AND bar`. The behaviors can be combined
to express a variety of environment selections which were not
previously possible in a single invocation. e.g. `-f foo bar -f baz`
meaning `(foo AND bar) OR baz`.
No existing tests fail, and the new behavior is checked by a new test.
The help message for `-f` is updated.
* Allow factors to be passed hyphenated
The existing parsing of factors allows multiple factors to be selected
by passing them as multiple arguments to the `-f` flag. For example,
`-f foo bar` to pass both `foo` and `bar` as factors. This can now be
passed equivalently using `-f foo-bar`. The meaning of this
usage is identical to `-f foo bar`.
A new test checks the behavior, and very closely mirrors the existing
`-f` selection test so that their outputs are exactly equivalent.
* Make factor tests parametrized & apply pre-commit
These three tests are nearly identical in structure, and rely upon the
same project configuration. Convert from three distinct test cases to
a single parametrized test.
Also apply pre-commit, which does some mild reformatting.
* Add changelog entry for #2766
* Fix missing annotation in tests
* Fix changelog entry for #2766
* Improve env selection with factors: perf and types
- use tuple instead of list for immutable data
- use `continue` and `break` to skip unnecessary loop iterations
* Cleanup factor selection tests
- convert args from list[str] to tuple[str, ...]
- reformat str concat into a `.format()` usage
* Remove unreachable factor selection check
This check cannot be reached because it relies on an impossible
combination of factors and labels.
|
|
|
| |
Closes https://github.com/tox-dev/tox/issues/2770
|
|
|
| |
Resolves https://github.com/tox-dev/tox/issues/2773
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Override toxworkdir with --workdir.
* Override toxworkdir with --workdir.
* Override toxworkdir with --workdir.
* Override toxworkdir with --workdir.
* Override toxworkdir with --workdir.
* Override toxworkdir with --workdir.
* Override toxworkdir with --workdir.
* Override toxworkdir with --workdir.
* Override toxworkdir with --workdir.
* Override toxworkdir with --workdir.
* Override toxworkdir with --workdir.
* Override toxworkdir with --workdir.
|
| |
|
|
|
|
|
| |
* Suppress a report output when verbosity = 0.
* Use os.linesep
|
|
|
| |
Resolves https://github.com/tox-dev/tox/issues/2619
|
|
|
|
| |
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Resolves https://github.com/tox-dev/tox/issues/2747
|
| |
|
|
|
| |
Resolves https://github.com/tox-dev/tox/issues/2746
|