Skip to content

Commit

Permalink
Document the SPEC-0 rule for bundled Python (#501)
Browse files Browse the repository at this point in the history
# Description

Document the decision of using SPEC-0 to dictate which Python version
should be bundled in each installer release. See
napari/packaging#189 and
https://napari.zulipchat.com/#narrow/channel/309872-plugins/topic/Bundled.20Python.20will.20be.20bumped.20to.203.2E11/near/476977691.
  • Loading branch information
jaimergp authored Oct 18, 2024
1 parent 918fb72 commit 4043d7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/developers/coredev/packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ The main OS-agnostic keys are:

Then, depending on the operating systems and the installer format, we customize the configuration a bit more.

The bundled Python version in the installers follows the Python version installed in the CI
`make_bundle_conda.yml` workflow at `napari/packaging`. Update the CI matrix configuration to bump
the bundled Python. We use the oldest version supported by the [SPEC-0][SPEC0] recommendations.

#### Default installation path

This depends on each OS. Our general strategy is to put the general installation under
Expand Down Expand Up @@ -259,3 +263,4 @@ Generating a `conda`-based installer requires several components in place:
[21]: https://anaconda.org/conda-forge/napari
[22]: https://github.com/conda/constructor/blob/764ba8a/constructor/nsis/_nsis.py
[nap-2]: https://napari.org/dev/naps/2-conda-based-packaging.html
[SPEC0]: https://scientific-python.org/specs/spec-0000/

0 comments on commit 4043d7f

Please sign in to comment.