feat(schemas): add package schema v1.2.2 with conda channel support#25
Merged
LittleCoinCoin merged 1 commit intoCrackingShells:mainfrom Nov 3, 2025
Merged
Conversation
- Add conda channel support for Python dependencies - Enable mixed pip/conda package management - Support for specialized conda channels (colomoto, conda-forge, bioconda) - Add comprehensive documentation and migration guide - Include practical MaBoSS example demonstrating conda install -c colomoto maboss - Update all documentation to reflect v1.2.2 capabilities - Maintain backward compatibility with all previous versions Resolves conda channel dependency management requirements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR introduces package schema v1.2.2 with conda channel support, enabling packages to specify conda channels for Python dependencies. This enhancement allows for more flexible dependency management, particularly for scientific packages distributed through specialized conda channels.
Key Features
🎯 Conda Channel Support
channelfield: Optional field for specifying conda channels (e.g.,colomoto,conda-forge,bioconda)package_manager: Re-enabledcondasupport alongsidepip📋 Schema Changes
package_schema_versionto accept"1.2.2"channelfield with pattern validation^[a-zA-Z0-9_\-]+$$schemaproperty support for JSON schema references📚 Documentation
v1.2.2_migration_guide.mdconda install -c colomoto mabossUse Case Example
The schema now supports the requested conda channel functionality:
Translates to:
{ "name": "maboss", "version_constraint": ">= 2.5.0", "package_manager": "conda", "channel": "colomoto" }Files Added/Modified
New Files
package/v1.2.2/hatch_pkg_metadata_schema.json- Main schema filedocs/package/v1.2.2_migration_guide.md- Migration documentationexamples/maboss_package_example.json- Practical conda channel exampleModified Files
README.md- Updated schema referencesdocs/package/fields.md- Updated field documentationdocs/package/examples.md- Added v1.2.2 examplesdocs/package/overview.md- Updated version informationdocs/usage/access.md- Updated schema URLsValidation
✅ JSON schema syntax validation passed
✅ Conda channel examples validate successfully
✅ Mixed pip/conda dependencies work correctly
✅ MaBoSS example with
colomotochannel validates perfectly✅ Backward compatibility maintained
Backward Compatibility
Benefits
bioconda,conda-forgeThis enhancement significantly improves the schema's capability to handle complex scientific computing dependencies while maintaining the simplicity and backward compatibility of the existing system.
Pull Request opened by Augment Code with guidance from the PR author