idiap_devtools.update_pins#
Functions
|
Filters the list of packages to return only Python packages available on PyPI. |
|
|
|
- idiap_devtools.update_pins.load_packages_from_conda_build_config(conda_build_config, condarc_options, with_pins=False)[source]#
- idiap_devtools.update_pins.filter_python_packages(resolved_packages, conda_to_python)[source]#
Filters the list of packages to return only Python packages available on PyPI.
This function will also perform name translation and de-duplication of package names when possible.
- Parameters:
resolved_packages – list of tuples
(package, version)
, returned by themamba create --dry-run
subprocess, for the packages we care about.- Returns:
List of of packages and versions available on PyPI