1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
|
.. 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.
.. _`tracking issue`: https://github.com/pypa/pip/issues/7279
======================
Continuous Integration
======================
Supported interpreters
======================
pip support a variety of Python interpreters:
- CPython 3.9
- CPython 3.10
- CPython 3.11
- CPython 3.12
- CPython 3.13
- CPython 3.14
- Latest PyPy3
on different operating systems:
- Linux
- Windows
- macOS
and on different architectures:
- x64
- x86
- arm64 (macOS only)
so 56 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.
.. _`GitHub Actions`: https://github.com/features/actions
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** |
+-----------+----------+-------+---------------+-----------------+
| | x86 | CP3.9 | | |
| | +-------+---------------+-----------------+
| | | CP3.10| | |
| | +-------+---------------+-----------------+
| | | CP3.11| | |
| | +-------+---------------+-----------------+
| | | CP3.12| | |
| | +-------+---------------+-----------------+
| | | CP3.13| | |
| | +-------+---------------+-----------------+
| | | CP3.14| | |
| | +-------+---------------+-----------------+
| | | PyPy3 | | |
| Windows +----------+-------+---------------+-----------------+
| | x64 | CP3.9 | GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.10| | |
| | +-------+---------------+-----------------+
| | | CP3.11| | |
| | +-------+---------------+-----------------+
| | | CP3.12| | |
| | +-------+---------------+-----------------+
| | | CP3.13| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.14| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | PyPy3 | | |
+-----------+----------+-------+---------------+-----------------+
| | x86 | CP3.9 | | |
| | +-------+---------------+-----------------+
| | | CP3.10| | |
| | +-------+---------------+-----------------+
| | | CP3.11| | |
| | +-------+---------------+-----------------+
| | | CP3.12| | |
| | +-------+---------------+-----------------+
| | | CP3.13| | |
| | +-------+---------------+-----------------+
| | | CP3.14| | |
| | +-------+---------------+-----------------+
| | | PyPy3 | | |
| Linux +----------+-------+---------------+-----------------+
| | x64 | CP3.9 | GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.10| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.11| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.12| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.13| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.14| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | PyPy3 | | |
+-----------+----------+-------+---------------+-----------------+
| | arm64 | CP3.9 | GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.10| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.11| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.12| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.13| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.14| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | PyPy3 | | |
| macOS +----------+-------+---------------+-----------------+
| | x64 | CP3.9 | GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.10| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.11| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.12| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.13| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | CP3.14| GitHub | GitHub |
| | +-------+---------------+-----------------+
| | | PyPy3 | | |
+-----------+----------+-------+---------------+-----------------+
|