summaryrefslogtreecommitdiff
path: root/tests/tox_env/python
Commit message (Collapse)AuthorAgeFilesLines
* Fix `tox_root` propagation to `work_dir` (#2962)release-4.4.10Teejay2023-04-051-1/+10
| | | | | Co-authored-by: kdestin <101366538+kdestin@users.noreply.github.com> Co-authored-by: TJ Bruno <tj.bruno@everactive.com>
* Fix for requirements.txt using both --index-url and --find-links (#2959)release-4.4.8Alexander Clausen2023-03-261-0/+10
| | | | | Without the fix, installation would fail with: AttributeError: 'Namespace' object has no attribute 'find_links'
* Bump deps and tools (#2913)Bernát Gábor2023-02-051-1/+0
|
* Support recursive extras defined in pyproject.toml (#2905)Masen Furer2023-01-281-0/+52
| | | | | | | | | | | | | | | | * 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
* Enforce constraints during install_package_deps (#2888)Masen Furer2023-01-251-1/+137
| | | Fix https://github.com/tox-dev/tox/issues/2386
* Allow package names with env markers with pip binary options (#2853)q0w2023-01-111-0/+7
| | | Fixes https://github.com/tox-dev/tox/issues/2814#issuecomment-1374804987
* Revert to supporting simple Python factors (#2849)Stephen Finucane2023-01-112-12/+37
| | | | | | 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
* Only return Python factor on base_python conflict (#2840)Stephen Finucane2023-01-101-14/+23
| | | Fixes https://github.com/tox-dev/tox/issues/2838
* Handle properly pip --no-binary / --only-binary options in requirements.txt ↵q0w2023-01-061-6/+33
| | | | | format files. (#2834) Fixes https://github.com/tox-dev/tox/issues/2814
* Fix various issues with missing interpreters (#2828)Stephen Finucane2023-01-061-3/+34
| | | fix https://github.com/tox-dev/tox/issues/2811
* Fail on mismatched python spec attributes (#2824)Stephen Finucane2023-01-051-0/+1
| | | Closes https://github.com/tox-dev/tox/issues/2754
* update how extras are extracted to handle cases with more than 2 groups (#2812)dconathan2023-01-031-1/+9
| | | | | | 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
* Packaging inherits from pkgenv, deps and document tox 4 packaging changes ↵Bernát Gábor2023-01-031-0/+15
| | | | | (#2813) Resolves https://github.com/tox-dev/tox/issues/2543
* Better message when command parsing on empty input (#2807)Bernát Gábor2023-01-021-0/+11
|
* Reuse package_env with --installpkg (#2803)Bernát Gábor2023-01-021-0/+11
| | | Co-authored-by: q0w <43147888+q0w@users.noreply.github.com>
* Relax test_list_installed_deps() to allow other packages (#2796)Michał Górny2022-12-301-2/+2
| | | | | | | Relax the check in `test_list_installed_deps()` to allow `pip freeze` to return other packages before `pip`. This is necessary if the Python interpreter vendors some packages itself, so that they are available even in fresh venv. This is the case e.g. for cffi in PyPy.
* Fix extracting extras from markers with many extras (#2792)q0w2022-12-301-0/+6
| | | Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* Show installed packages after setup in CI envs (#2794)Bernát Gábor2022-12-301-0/+10
| | | Resolves https://github.com/tox-dev/tox/issues/2685
* Fix --skip-missing-interpreters (#2793)q0w2022-12-291-0/+12
| | | Closes https://github.com/tox-dev/tox/issues/2649
* Handle whitespace around requirements (#2779)Bernát Gábor2022-12-261-0/+7
| | | Resolves https://github.com/tox-dev/tox/issues/2773
* Remove incorrect docstringBernát Gábor2022-12-181-3/+0
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix plain section shadows env config (#2742)Bernát Gábor2022-12-171-2/+6
| | | Resolves https://github.com/tox-dev/tox/issues/2636
* Fix python hash seed not being set (#2739)Bernát Gábor2022-12-161-0/+48
| | | Resolves https://github.com/tox-dev/tox/issues/2645
* Fix requirements.txt parsing (#2683)Bernát Gábor2022-12-111-0/+9
| | | Resolves https://github.com/tox-dev/tox/issues/2682
* Support for --no-deps within deps (#2678)Bernát Gábor2022-12-111-0/+21
| | | Resolves https://github.com/tox-dev/tox/issues/2674
* Normalize extra names passed in (#2668)Bernát Gábor2022-12-091-0/+22
| | | Resolves https://github.com/tox-dev/tox/issues/2655
* Create session views of the build wheel/sdist into temp_dir (#2614)Bernát Gábor2022-12-071-0/+11
| | | Resolves https://github.com/tox-dev/tox/issues/2612
* Do not conflate extra markers and extra dependencies (#2605)Bernát Gábor2022-12-061-7/+7
| | | Resolves https://github.com/tox-dev/tox/issues/2603
* Better handling of build backend without editable support and add ↵Bernát Gábor2022-12-052-5/+5
| | | | | | --exit-and-dump-after flag (#2597) Resolves https://github.com/tox-dev/tox/issues/2567 Resolves https://github.com/tox-dev/tox/issues/2595
* Do not pull in Python 2 as dependency (#2589)Bernát Gábor2022-12-041-17/+0
|
* Fallback to editable-legacy if the build backend does not have ↵Bernát Gábor2022-12-045-7/+39
| | | | | build_editable (#2590) Resolves https://github.com/tox-dev/tox/issues/2567
* Support for recursive extras (#2579)Bernát Gábor2022-12-021-2/+16
| | | Resolves https://github.com/tox-dev/tox/issues/2568
* Allow installing relative paths that go outside tox root folder (#2554)Sorin Sbarnea2022-11-292-7/+10
| | | | Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net> Fixes https://github.com/tox-dev/tox/issues/2366
* PEP-660 support (#2502)Bernát Gábor2022-11-261-3/+4
|
* PythonDeps: move `cli_only` handling logic to `_parse_requirements` (#2547)Masen Furer2022-11-251-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | * [test case] tox4: fails to process requirement files with --hash Add a test case for issue #2373 * Specifying `--hash` in the deps list doesn't work (pip would reject this anyway). * Specifying `--hash` in a requirements.txt file named in the deps list should work, and recursive parsing should correctly extract the hash. * PythonDeps: move cli_only handling logic to _parse_requirements Remove `cli_only` parameter from `build_parser`. Remove special case handling for `--hash` option (only valid in requirements.txt files, not `pip install`). Validate options in PythonDeps._parse_requirements: * Only check "cli_only" logic for ParsedRequirement objects that directly come from the PythonDeps. * Allow included requirements.txt lines to correctly parse `--hash` (Fix #2373). * Provides a more contextual error message to end users when `--hash` is used in the deps list. * changelog for issue #2373
* Use PEP-621 to load project dependencies (#2499)Bernát Gábor2022-09-103-62/+172
|
* Better selection support (#2290)Bernát Gábor2022-01-042-3/+5
|
* Bump lintersBernát Gábor2021-12-112-2/+7
| | | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Drop python 3.6 support (#2275)Bernát Gábor2021-11-1711-19/+39
|
* Use pyproject-api package (#2274)Bernát Gábor2021-11-161-1/+1
|
* Update setup changelogBernát Gábor2021-11-166-18/+31
| | | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Support for the --discover flag (#2245)Bernát Gábor2021-10-041-1/+3
|
* Support for external packages and builders (#2235)Bernát Gábor2021-09-2610-155/+301
|
* No pyproject.toml or setup.py and no --install-pkg assumes no package (#2225)Bernát Gábor2021-09-181-4/+4
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Expose the configuration load mechanism to plugins (#2217)Bernát Gábor2021-09-152-2/+2
|
* Fix old-new value on recreate cache miss-match are swapped (#2212)Bernát Gábor2021-09-112-2/+2
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Check base python against env name and raise if differs (#2156)Bernát Gábor2021-08-151-2/+67
|
* Migrate to platformdirs from appdirs (#2117)Bernát Gábor2021-07-261-5/+5
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Fix typos (#2029)Miroslav Šedivý2021-04-141-1/+1
|
* Allow hexadecimal characters only in --hash (#2024)Miroslav Šedivý2021-04-141-3/+12
|