Skip to content

Commit

Permalink
The deps in the new test are not compatible with older Python and pip
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzymadness committed Jun 21, 2024
1 parent 19c00d8 commit 15674c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_micropipenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
WIN = sys.platform == "win32"
BIN_DIR = "Scripts" if WIN else "bin"
SP_DIR = ("lib", "site-packages") if WIN else ("lib", "python*", "site-packages")
PY_LE_37 = sys.version_info[:2] <= (3, 7)
MANYLINUX_2014 = PIP_VERSION.major >= 19 and PIP_VERSION.minor >= 3


@contextmanager
Expand Down Expand Up @@ -373,6 +375,8 @@ def test_install_poetry_type_url(venv):


@pytest.mark.online
@pytest.mark.skipif(PY_LE_37, reason="Deps not compatible with Python <= 3.7")
@pytest.mark.skipif(not MANYLINUX_2014, reason="Deps provided as manylinux2014 wheels - needs pip 19.3+.")
def test_install_poetry_complex_dep_tree_deploy(venv):
"""Test invoking installation using information from a Poetry project using url source format."""
cmd = [
Expand Down

0 comments on commit 15674c5

Please sign in to comment.