summaryrefslogtreecommitdiff
path: root/src/tox/tox_env/python/pip
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'
* 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
* 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
* 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
* Better message when command parsing on empty input (#2807)Bernát Gábor2023-01-021-1/+4
|
* Show installed packages after setup in CI envs (#2794)Bernát Gábor2022-12-301-7/+1
| | | Resolves https://github.com/tox-dev/tox/issues/2685
* Handle whitespace around requirements (#2779)Bernát Gábor2022-12-261-1/+1
| | | Resolves https://github.com/tox-dev/tox/issues/2773
* 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
* 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-261-4/+6
|
* 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
* Better selection support (#2290)Bernát Gábor2022-01-041-1/+1
|
* Drop python 3.6 support (#2275)Bernát Gábor2021-11-176-44/+52
|
* Update setup changelogBernát Gábor2021-11-161-1/+4
| | | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Support for external packages and builders (#2235)Bernát Gábor2021-09-263-5/+9
|
* Expose the configuration load mechanism to plugins (#2217)Bernát Gábor2021-09-153-9/+9
|
* Internal changes to accomodate tox-conda (#2172)Bernát Gábor2021-08-211-7/+12
| | | | | | | | | - introduce ToxEnvCreateArgs to simplify tox env interface - allow skipping the list dependencies configuration for pip installer - expose python environment creation directly via ensure_python_env - executable should only be part of the python cache for virtual environments (moved it in PythonInfo to extra info set) Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Bump formattersBernát Gábor2021-05-072-2/+2
| | | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Allow hexadecimal characters only in --hash (#2024)Miroslav Šedivý2021-04-141-1/+1
|
* Fix requirements file rewrite (#2026)Bernát Gábor2021-04-134-103/+153
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net> Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Fix regex validation for SHA 512 hashes (#2020)Jürgen Gmach2021-04-121-1/+1
| | | | | The regex searched for `521` instead of `512`. Closes #2018
* Minor code improvements (#2017)Miroslav Šedivý2021-04-112-5/+3
| | | | | | | | | * Use !r to repr strings * Simplify loops and expressions * Improve exception traceback * Add Python 3.10 to installation.rst
* Port pip requirements.txt parser (#2009)Bernát Gábor2021-04-096-412/+632
|
* Support extras in (editable) path requirements (#1998)Bernát Gábor2021-04-061-15/+40
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Refactor: Simplify and clean up the code (#1997)Miroslav Šedivý2021-04-061-1/+1
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* remove duplicated word (#1992)Jürgen Gmach2021-04-051-1/+1
|
* Start plugin interface documentation and installer (#1991)Bernát Gábor2021-04-053-0/+576
- Add documentation for the plugin interface - Introduce the installer abstraction - Rework how we handle tox deps section, requirement and constraint files - Support for escaping comments in tox.ini configs Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>