Enhance meta.yaml for Dynamic Version and Dependencies (Like pyproject.toml) #5509
Open
2 tasks done
Labels
type::feature
request for a new feature or capability
Checklist
What is the idea?
To introduce features in
conda-build
that allow for more dynamic versioning and dependency management within themeta.yaml
file, similar to the capabilities offered bypyproject.toml
withsetuptools-build
.Why is this needed?
Currently,
meta.yaml
requires manual specification of package versions and dependencies. This can be cumbersome and error-prone, especially when dealing with frequent updates. By adopting a more dynamic approach, we can streamline the packaging process and reduce the risk of inconsistencies. Additionally,pyproject.toml
is becoming the preferred method for defining Python package metadata, whilesetup.py
is considered less common and potentially less maintainable.What should happen?
ds_utils.__version__
) within themeta.yaml
file to automatically set the version.requirements.txt
) inmeta.yaml
where dependencies are listed for both build and runtime environments.Additional Context
conda-build
to build and upload packages for various Python versions and platforms. Build Script:conda-build
.The text was updated successfully, but these errors were encountered: