summaryrefslogtreecommitdiff
path: root/src/tox/tox_env/python
Commit message (Collapse)AuthorAgeFilesLines
* Fix for requirements.txt using both --index-url and --find-links (#2959)release-4.4.8Alexander Clausen2023-03-261-2/+2
| | | | | Without the fix, installation would fail with: AttributeError: 'Namespace' object has no attribute 'find_links'
* Bump deps and tools (#2954)Bernát Gábor2023-03-231-3/+3
|
* Support recursive extras defined in pyproject.toml (#2905)Masen Furer2023-01-282-6/+19
| | | | | | | | | | | | | | | | * 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
* pip_install: constrain_package_deps is now False by default (#2899)Masen Furer2023-01-251-1/+1
|
* Enforce constraints during install_package_deps (#2888)Masen Furer2023-01-251-1/+50
| | | Fix https://github.com/tox-dev/tox/issues/2386
* Include WHEEL metadata when using PDM and poetry backends (#2881)Masen Furer2023-01-181-1/+9
| | | | Fix https://github.com/tox-dev/tox/issues/2880 Fix https://github.com/tox-dev/tox/issues/2870
* Allow package names with env markers with pip binary options (#2853)q0w2023-01-112-12/+29
| | | Fixes https://github.com/tox-dev/tox/issues/2814#issuecomment-1374804987
* Revert to supporting simple Python factors (#2849)Stephen Finucane2023-01-111-4/+13
| | | | | | 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-11/+14
| | | Fixes https://github.com/tox-dev/tox/issues/2838
* Handle properly pip --no-binary / --only-binary options in requirements.txt ↵q0w2023-01-063-5/+32
| | | | | format files. (#2834) Fixes https://github.com/tox-dev/tox/issues/2814
* Fix various issues with missing interpreters (#2828)Stephen Finucane2023-01-062-13/+19
| | | fix https://github.com/tox-dev/tox/issues/2811
* Fail on mismatched python spec attributes (#2824)Stephen Finucane2023-01-051-1/+1
| | | Closes https://github.com/tox-dev/tox/issues/2754
* Add more c-extension env-vars to default pass_env (#2818)Bernát Gábor2023-01-041-1/+2
|
* update how extras are extracted to handle cases with more than 2 groups (#2812)dconathan2023-01-031-22/+40
| | | | | | 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-1/+10
| | | | | (#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-1/+4
|
* Fix extracting extras from markers with many extras (#2792)q0w2022-12-301-2/+1
| | | Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* Show installed packages after setup in CI envs (#2794)Bernát Gábor2022-12-302-9/+9
| | | Resolves https://github.com/tox-dev/tox/issues/2685
* Fix --skip-missing-interpreters (#2793)q0w2022-12-291-0/+8
| | | Closes https://github.com/tox-dev/tox/issues/2649
* Handle whitespace around requirements (#2779)Bernát Gábor2022-12-261-1/+1
| | | Resolves https://github.com/tox-dev/tox/issues/2773
* Fix change_dir is not always relative to tox_root (#2761)Bernát Gábor2022-12-201-6/+2
| | | Resolves https://github.com/tox-dev/tox/issues/2619
* Fix plain section shadows env config (#2742)Bernát Gábor2022-12-171-2/+2
| | | Resolves https://github.com/tox-dev/tox/issues/2636
* Fix python hash seed not being set (#2739)Bernát Gábor2022-12-161-0/+7
| | | Resolves https://github.com/tox-dev/tox/issues/2645
* Fix legacy flags, deprecate them and remove --index-url (#2731)Bernát Gábor2022-12-151-3/+2
| | | Resolves https://github.com/tox-dev/tox/issues/2690
* Add py_dot_ver and py_impl (#2716)Bernát Gábor2022-12-141-0/+12
| | | Resolves https://github.com/tox-dev/tox/issues/2640
* Add PKG_CONFIG_PATH to default passenv (#2700)Bernát Gábor2022-12-131-0/+1
|
* Add tox_on_install and tox_env_teardown plugin hooks (#2687)Bernát Gábor2022-12-133-5/+5
|
* Fix requirements.txt parsing (#2683)Bernát Gábor2022-12-111-2/+2
| | | Resolves https://github.com/tox-dev/tox/issues/2682
* Support for --no-deps within deps (#2678)Bernát Gábor2022-12-113-15/+40
| | | Resolves https://github.com/tox-dev/tox/issues/2674
* Normalize extra names passed in (#2668)Bernát Gábor2022-12-091-0/+9
| | | Resolves https://github.com/tox-dev/tox/issues/2655
* Pass through NUMBER_OF_PROCESSORS on Windows (#2647)Bernát Gábor2022-12-081-0/+1
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Create session views of the build wheel/sdist into temp_dir (#2614)Bernát Gábor2022-12-072-4/+19
| | | Resolves https://github.com/tox-dev/tox/issues/2612
* Do not conflate extra markers and extra dependencies (#2605)Bernát Gábor2022-12-061-9/+8
| | | Resolves https://github.com/tox-dev/tox/issues/2603
* Better handling of build backend without editable support and add ↵Bernát Gábor2022-12-053-21/+33
| | | | | | --exit-and-dump-after flag (#2597) Resolves https://github.com/tox-dev/tox/issues/2567 Resolves https://github.com/tox-dev/tox/issues/2595
* Fallback to editable-legacy if the build backend does not have ↵Bernát Gábor2022-12-042-9/+22
| | | | | build_editable (#2590) Resolves https://github.com/tox-dev/tox/issues/2567
* Support for recursive extras (#2579)Bernát Gábor2022-12-023-11/+45
| | | Resolves https://github.com/tox-dev/tox/issues/2568
* Avoid recreation of virtualenv due to symlinks (#2574)Sorin Sbarnea2022-12-011-1/+1
|
* Allow installing relative paths that go outside tox root folder (#2554)Sorin Sbarnea2022-11-291-3/+8
| | | | 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-265-29/+54
|
* PythonDeps: move `cli_only` handling logic to `_parse_requirements` (#2547)Masen Furer2022-11-253-15/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | * [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-102-13/+54
|
* Check 3.11 support (#2492)Bernát Gábor2022-09-091-0/+3
|
* Bump tools (#2491)Bernát Gábor2022-09-092-4/+2
|
* Bump lintersBernát Gábor2022-09-091-1/+1
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Keep v3 injected environment variable list (#2313)Bernát Gábor2022-01-111-0/+6
|
* Better selection support (#2290)Bernát Gábor2022-01-043-10/+9
|
* Bump lintersBernát Gábor2021-12-114-8/+11
| | | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Drop python 3.6 support (#2275)Bernát Gábor2021-11-1714-120/+143
|
* Use pyproject-api package (#2274)Bernát Gábor2021-11-161-1/+2
|
* Update setup changelogBernát Gábor2021-11-165-10/+21
| | | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>