#26 Add method for virtualenv with --seeder pip
Merged 2 years ago by churchyard. Opened 2 years ago by lbalhar.
tests/ lbalhar/python seeder-pip  into  master

file modified
+2
@@ -28,6 +28,8 @@ 

    virtualenv --python=$PYTHON venv

  elif [ "$METHOD" == "virtualenv-no-download" ]; then

    virtualenv --no-download --python=$PYTHON venv

+ elif [ "$METHOD" == "virtualenv-seeder-pip" ]; then

+   virtualenv --seeder pip --python=$PYTHON venv

  else

    echo 'Unsupported $METHOD' $METHOD >&2

  exit 1

file modified
+6
@@ -19,6 +19,9 @@ 

      - smoke27:

          dir: smoke

          run: VERSION=2.7 METHOD=virtualenv ./venv.sh

+     - smoke27_seeder_pip:

+         dir: smoke

+         run: VERSION=2.7 METHOD=virtualenv-seeder-pip ./venv.sh

      - smoke35:

          dir: smoke

          run: VERSION=3.5 METHOD=virtualenv-no-download ./venv.sh
@@ -34,6 +37,9 @@ 

      - smoke39:

          dir: smoke

          run: VERSION=3.9 METHOD=venv ./venv.sh

+     - smoke39_seeder_pip:

+         dir: smoke

+         run: VERSION=3.9 METHOD=virtualenv-seeder-pip ./venv.sh

      - smoke34_optional:

          dir: smoke

          run: VERSION=3.4 METHOD=venv INSTALL_OR_SKIP=true ./venv.sh

--seeder pip uses pip (from wheel) to install seed packages (pip, setuptools
and wheel) from our own system wheels.

Looks reasonable. Would you please also test this option here (see tests.yml)?

1 new commit added

  • Test virtualenv with pip for Py 2.7 (bundled wheels in ensurepip) and Py 3.9
2 years ago

Done for the latest Python and for Python 2.7 where we have bundled older pip in ensurepip.

A typo:

Unsupported $METHOD venv-seeder-pip

2 new commits added

  • Test virtualenv with pip for Py 2.7 (bundled wheels in ensurepip) and Py 3.9
  • Add method for virtualenv with --seeder pip
2 years ago

@bgoncalv Could you please re-trigger the CI test manually?

Pull-Request has been merged by churchyard

2 years ago