i use EasyBuild v4.9.1
here example of my easyconfig file :
easyblock = 'Conda'
name = 'mypackage'
version = '0.0.1'
homepage = 'https://mypage.com'
description = "a Python package"
dependencies = [
('Miniforge3', '24.11.3-0'),
]
toolchain = SYSTEM
environment_file = 'environment.yml'
channels = ['bioconda']
moduleclass = 'bio'
after do some check up when parameter 'environment_file' of 'Conda' block is use
it will run conda env create --force ....
which have been no longer supported in later version
conda/conda#13704 (comment)