Note

This section of the documentation is currently out of date.

pip developers welcome your help to update this documentation. If you’re interested in helping out, please let us know in the tracking issue, or just submit a pull request and mention it in that tracking issue.

Continuous Integration

Supported interpreters

pip support a variety of Python interpreters:

  • CPython 3.6

  • CPython 3.7

  • CPython 3.8

  • CPython 3.9

  • Latest PyPy3

on different operating systems:

  • Linux

  • Windows

  • MacOS

and on different architectures:

  • x64

  • x86

so 42 hypothetical interpreters.

Checks

pip CI runs different kind of tests:

  • lint (defined in .pre-commit-config.yaml)

  • docs

  • vendoring (is the src/_internal/_vendor directory cleanly vendored)

  • unit tests (present in tests/unit)

  • “integration” tests (mostly present in tests/functional)

  • package (test the packaging steps)

Since lint, docs, vendoring and package tests only need to run on a pip developer/contributor machine, they only need to be tested on the x64 variant of the 3 different operating systems, and when an interpreter needs to be specified it’s ok to require the latest CPython interpreter.

So only unit tests and integration tests would need to be run with the different interpreters.

Services

pip test suite and checks are distributed on GitHub Actions which provides free executors for open source packages.

Current run tests

Developer tasks

OS

docs

lint

vendoring

packaging

Linux

Github

Github

Github

Github

Windows

Github

Github

Github

Github

MacOS

Github

Github

Github

Github

Actual testing

interpreter

unit

integration

Windows

x86

CP3.6

CP3.7

CP3.8

CP3.9

PyPy3

x64

CP3.6

Github

Github

CP3.7

CP3.8

CP3.9

Github

Github

PyPy3

Linux

x86

CP3.6

CP3.7

CP3.8

CP3.9

PyPy3

x64

CP3.6

Github

Github

CP3.7

Github

Github

CP3.8

Github

Github

CP3.9

Github

Github

PyPy3

MacOS

x86

CP3.6

CP3.7

CP3.8

CP3.9

PyPy3

x64

CP3.6

Github

Github

CP3.7

Github

Github

CP3.8

Github

Github

CP3.9

Github

Github

PyPy3