summaryrefslogtreecommitdiff
path: root/src/tox/tox_env/python/pip/req
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'
* 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
* Handle whitespace around requirements (#2779)Bernát Gábor2022-12-261-1/+1
| | | Resolves https://github.com/tox-dev/tox/issues/2773
* Support for --no-deps within deps (#2678)Bernát Gábor2022-12-111-5/+11
| | | 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
* PythonDeps: move `cli_only` handling logic to `_parse_requirements` (#2547)Masen Furer2022-11-252-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * [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-174-28/+33
|
* 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-261-1/+3
|
* Expose the configuration load mechanism to plugins (#2217)Bernát Gábor2021-09-152-4/+4
|
* Bump formattersBernát Gábor2021-05-071-1/+1
| | | | 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-132-93/+148
| | | | 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-111-2/+2
| | | | | | | | | * 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-094-0/+527