Skip to content

Commit 0d279c1

Browse files
authored
local-recipes-index python-requires (#3802)
1 parent cae4946 commit 0d279c1

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

devops/devops_local_recipes_index.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Local Recipes Index Repository
44
==============================
55

6-
The **Local Recipes Index** is a repository type introduced in Conan to enhance
6+
The **Local Recipes Index** is an **experimental** repository type introduced in Conan to enhance
77
flexibility in managing C/C++ package recipes. This repository type allows users to
88
use a local directory as a Conan remote, where the directory structure mirrors that of
99
the `conan-center-index` GitHub repository.
@@ -232,6 +232,13 @@ Several important points should be considered when using this new feature:
232232
revisions. In contrast, a `local-recipes-index` remote can only represent a single
233233
snapshot at any given time.
234234

235+
- ConanCenter does not use ``python-requires``, as this is a mechanism more intended for
236+
first-party packages. Using ``python-requires`` in a ``local-recipes-index`` repository
237+
is possible (and experimental) at this moment, but only if the ``python-requires`` are also in the same index repository.
238+
It is not intended or planned to support having these ``python-requires`` in other repositories
239+
or in the user Conan cache.
240+
241+
235242
Furthermore, this feature does not support placing server URLs directly in recipes; remote
236243
repositories must be explicitly added with `conan remote add`. Decoupling abstract package
237244
requirements, such as "zlib/1.3.1", from their specific origins is crucial to resolving

tutorial/conan_repositories/setup_local_recipes_index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Local Recipes Index Repository
44
==============================
55

6-
The `local_recipes_index` repository is a special type of repository to which you cannot
6+
The `local_recipes_index` repository is an **experimental** special type of repository to which you cannot
77
upload packages or store binaries. The purpose of this remote is:
88

99
- Enable contributors to share package recipes with the community, particularly for

0 commit comments

Comments
 (0)