Skip to content

Commit 8137d6c

Browse files
committed
switch to rattler-build for conda
1 parent ec38bf2 commit 8137d6c

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/publish-conda.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
matrix:
1212
os: [ubuntu-latest, windows-latest, macos-15-intel] # Intel runner for conda compatibility
1313
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
14-
# Note: Excluded Python 3.14 as conda-build doesn't support it yet
15-
# Note: Using macos-15-intel (x86_64) to avoid ARM64 virtual package resolution issues
14+
# Note: rattler-build (boa's successor) supports all Python versions
15+
# Note: Using macos-15-intel (x86_64) for consistency with conda-forge practices
1616

1717
steps:
1818
- uses: actions/checkout@v4
@@ -25,16 +25,16 @@ jobs:
2525
channel-priority: strict
2626
activate-environment: build-env
2727

28-
- name: Install boa and anaconda-client
28+
- name: Install rattler-build and anaconda-client
2929
shell: bash -l {0}
3030
run: |
31-
# Use boa (conda-forge's modern build tool) for better virtual package resolution
32-
conda install -y boa anaconda-client
31+
# Use rattler-build (boa's successor, written in Rust) for better virtual package resolution
32+
conda install -y rattler-build anaconda-client
3333
3434
- name: Build conda package
3535
shell: bash -l {0}
3636
run: |
37-
conda mambabuild conda.recipe --output-folder ./conda-bld
37+
rattler-build build --recipe conda.recipe --output-dir ./conda-bld
3838
3939
- name: Upload build artifacts
4040
uses: actions/upload-artifact@v4

.github/workflows/publish-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363
matrix:
6464
os: [ubuntu-latest, windows-latest, macos-15-intel] # Intel runner for conda compatibility
6565
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
66-
# Note: Excluded Python 3.14 as conda-build doesn't support it yet
67-
# Note: Using macos-15-intel (x86_64) to avoid ARM64 virtual package resolution issues
66+
# Note: rattler-build (boa's successor) supports all Python versions
67+
# Note: Using macos-15-intel (x86_64) for consistency with conda-forge practices
6868

6969
steps:
7070
- uses: actions/checkout@v4
@@ -77,16 +77,16 @@ jobs:
7777
channel-priority: strict
7878
activate-environment: build-env
7979

80-
- name: Install boa and anaconda-client
80+
- name: Install rattler-build and anaconda-client
8181
shell: bash -l {0}
8282
run: |
83-
# Use boa (conda-forge's modern build tool) for better virtual package resolution
84-
conda install -y boa anaconda-client
83+
# Use rattler-build (boa's successor, written in Rust) for better virtual package resolution
84+
conda install -y rattler-build anaconda-client
8585
8686
- name: Build conda package
8787
shell: bash -l {0}
8888
run: |
89-
conda mambabuild conda.recipe --output-folder ./conda-bld
89+
rattler-build build --recipe conda.recipe --output-dir ./conda-bld
9090
9191
- name: Upload Conda artifacts
9292
uses: actions/upload-artifact@v4

conda.recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ source:
2020
build:
2121
number: 0
2222
script: {{ PYTHON }} -m pip install . -vv
23-
# Skip Python 2.x, 3.7 and below, and 3.14+ (conda-build doesn't support 3.14 yet)
23+
# Skip Python 2.x, 3.7 and below, and 3.14+ (not yet released)
2424
skip: true # [py<38 or py>=314]
2525

2626
requirements:

0 commit comments

Comments
 (0)