Skip to content

Commit dc21696

Browse files
committed
Add Non-version-specific Python packages
1 parent 2c315a1 commit dc21696

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/maintainer/knowledge_base.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -930,6 +930,27 @@ Currently available packages:
930930
+-------------+-------------------+--------------+
931931

932932

933+
.. _knowledge:all-installs:
934+
935+
Non-version-specific Python packages
936+
------------------------------------
937+
For some dependencies, upstream maintainers list Python versions where those packages are needed,
938+
even if the packages can actually be installed under all Python versions.
939+
940+
Implementing this restriction in conda-forge is currently only possible through the use of ``skips``
941+
which restricts the corresponding conda-forge recipes from becoming ``noarch``.
942+
943+
Therefore, the conda-forge community maintains a list of packages that are safe to be installed under all Python versions,
944+
even if the original package only requires it for some versions.
945+
946+
For example, the package `pyquil <https://github.com/rigetti/pyquil>`__ only
947+
`requires <https://github.com/rigetti/pyquil/blob/497791e8108d8780109d75410be786c5f6e590ea/pyproject.toml#L30>`__ ``importlib-metadata`` for ``python <3.8`` but it is actually save to be installed under ``python >=3.8`` as well.
948+
949+
Currently available packages:
950+
951+
- importlib-metadata
952+
953+
933954
Noarch builds
934955
=============
935956

0 commit comments

Comments
 (0)