Skip to content

Commit 7d98ba1

Browse files
authored
Merge pull request #1615 from BastianZim/patch-1
Add enum34 to empty packages
2 parents 16eaf34 + dc21696 commit 7d98ba1

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/maintainer/knowledge_base.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,10 +924,33 @@ Currently available packages:
924924
+=============+===================+==============+
925925
| dataclasses | python >=3.6,<3.7 | python >=3.7 |
926926
+-------------+-------------------+--------------+
927+
| enum34 | python =2.7 | python >=3.4 |
928+
+-------------+-------------------+--------------+
927929
| typing | | python >=3 |
928930
+-------------+-------------------+--------------+
929931

930932

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+
931954
Noarch builds
932955
=============
933956

0 commit comments

Comments
 (0)