Unrecognised and invalid lines don't disable optimisation
Lines in requirements files that we don't recognise or are syntax errors
do not disable our "optimised" build process.
MODIFY
tests/unit/test_utils.py
tests/unit/test_utils.py
@@ -152,8 +152,8 @@ def test_open_guess_encoding():
("--pre pandas", False),
# These are invalid lines as far as pip is concerned, check that our
# code is robust and continues running
- ("--unrecognized", True),
- ("-e", True),
+ ("--unrecognized", False),
+ ("-e", False),
],
)
def test_local_pip_requirement(req, is_local):

Unrecognised and invalid lines don't disable optimisation

Lines in requirements files that we don't recognise or are syntax errors
do not disable our "optimised" build process.