pypa-hatch/tests/backend/metadata
Bryce Willey 2741233fcc
Add parenthesis around dependencies with extras (#1132)
* Add parenthesis around dependencies with extras

`dependency` can be a valid spec with an `or` operation, and adding the
`and extra` to that statement will break it.

This PR always wraps the environment markers with parenthesis to prevent this,
and updates existing tests to expect the parenthesis.

* Formatted changes
2023-12-13 00:45:17 -05:00
..
__init__.py rewrite 2021-12-29 15:42:36 -05:00
test_build.py rewrite 2021-12-29 15:42:36 -05:00
test_core.py Fix console_scripts validation. (#1056) 2023-11-23 15:44:20 -05:00
test_custom_hook.py Fix lint (#706) 2023-01-06 21:05:09 -05:00
test_hatch.py Add deprecated option to allow ambiguous features (#495) 2022-09-18 21:12:13 -04:00
test_spec.py Add parenthesis around dependencies with extras (#1132) 2023-12-13 00:45:17 -05:00