Skip to content

Commit 056cd0a

Browse files
authored
Add ess-dmsc channel for conda build and confluent kafka package name in the conda meta. (#253)
1 parent c1ae371 commit 056cd0a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
create-args: >-
2727
conda-build
2828
boa
29-
- run: conda mambabuild --channel conda-forge --channel scipp --no-anaconda-upload --override-channels --output-folder conda/package conda
29+
- run: conda mambabuild --channel conda-forge --channel scipp --channel ess-dmsc --no-anaconda-upload --override-channels --output-folder conda/package conda
3030

3131
- uses: actions/upload-artifact@v4
3232
with:

conda/meta.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ source:
99

1010
{% set pyproject = load_file_data('pyproject.toml') %}
1111
{% set dependencies = pyproject.get('project', {}).get('dependencies', {}) %}
12-
12+
{% set conda_package_name_registry = {
13+
"graphviz": "python-graphviz",
14+
"confluent_kafka": "python-confluent-kafka"
15+
} %}
1316

1417
requirements:
1518
build:
@@ -21,7 +24,7 @@ requirements:
2124
- python>=3.10
2225

2326
{% for package in dependencies %}
24-
- {% if package == "graphviz" %}python-graphviz{% else %}{{ package }}{% endif %}
27+
- {{conda_package_name_registry.get(package, package)}}
2528
{% endfor %}
2629

2730

0 commit comments

Comments
 (0)