Skip to content

Commit

Permalink
Ignore pip compile errors on Python < 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Jun 16, 2023
1 parent 3657016 commit a51dcf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/system/test_dependency_managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ def test_pipenv_works_with_pyscaffold(tmpfolder, venv_path, venv_run):
venv_run("pipenv --bare run flake8 src/myproj/skeleton.py")


@pytest.mark.xfail(
sys.version_info < (3, 7), reason="pip-compile may fail in old Python"
)
def test_piptools_works_with_pyscaffold(tmpfolder, monkeypatch):
venv_path = Path(str(tmpfolder), "myproj/.venv").resolve()
find = partial(find_venv_bin, venv_path)
Expand Down

0 comments on commit a51dcf4

Please sign in to comment.