@@ -229,6 +229,22 @@ class MatchspecTable(StrictBaseModel):
229229 subdirectory : NonEmptyStr | None = Field (None , description = "A subdirectory to use in the repo" )
230230
231231
232+ class SourceSpecTable (StrictBaseModel ):
233+ """A precise description of a source package location."""
234+
235+ path : NonEmptyStr | None = Field (None , description = "The path to the source package" )
236+
237+ url : NonEmptyStr | None = Field (None , description = "The URL to the source package" )
238+ md5 : Md5Sum | None = Field (None , description = "The md5 hash of the source package" )
239+ sha256 : Sha256Sum | None = Field (None , description = "The sha256 hash of the source package" )
240+
241+ git : NonEmptyStr | None = Field (None , description = "The git URL to the source repo" )
242+ rev : NonEmptyStr | None = Field (None , description = "A git SHA revision to use" )
243+ tag : NonEmptyStr | None = Field (None , description = "A git tag to use" )
244+ branch : NonEmptyStr | None = Field (None , description = "A git branch to use" )
245+ subdirectory : NonEmptyStr | None = Field (None , description = "A subdirectory to use in the repo" )
246+
247+
232248MatchSpec = NonEmptyStr | MatchspecTable
233249CondaPackageName = NonEmptyStr
234250
@@ -499,6 +515,9 @@ class Target(StrictBaseModel):
499515 pypi_dependencies : dict [PyPIPackageName , PyPIRequirement ] | None = Field (
500516 None , description = "The PyPI dependencies for this target"
501517 )
518+ develop : dict [CondaPackageName , SourceSpecTable ] | None = Field (
519+ None , description = "Source packages whose dependencies should be installed without building the package itself. Useful for development environments."
520+ )
502521 tasks : dict [TaskName , TaskInlineTable | list [DependsOn ] | NonEmptyStr ] | None = Field (
503522 None , description = "The tasks of the target"
504523 )
@@ -534,6 +553,9 @@ class Feature(StrictBaseModel):
534553 pypi_dependencies : dict [PyPIPackageName , PyPIRequirement ] | None = Field (
535554 None , description = "The PyPI dependencies of this feature"
536555 )
556+ develop : dict [CondaPackageName , SourceSpecTable ] | None = Field (
557+ None , description = "Source packages whose dependencies should be installed without building the package itself. Useful for development environments."
558+ )
537559 tasks : dict [TaskName , TaskInlineTable | list [DependsOn ] | NonEmptyStr ] | None = Field (
538560 None , description = "The tasks provided by this feature"
539561 )
@@ -807,6 +829,9 @@ class BaseManifest(StrictBaseModel):
807829 pypi_dependencies : dict [PyPIPackageName , PyPIRequirement ] | None = Field (
808830 None , description = "The PyPI dependencies"
809831 )
832+ develop : dict [CondaPackageName , SourceSpecTable ] | None = Field (
833+ None , description = "Source packages whose dependencies should be installed without building the package itself. Useful for development environments."
834+ )
810835 tasks : dict [TaskName , TaskInlineTable | list [DependsOn ] | NonEmptyStr ] | None = Field (
811836 None , description = "The tasks of the project"
812837 )
0 commit comments