Skip to content

Commit 039f60a

Browse files
committed
revert back to conda-build
1 parent 8137d6c commit 039f60a

3 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/publish-conda.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ 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: rattler-build (boa's successor) supports all Python versions
14+
# Note: Excluded Python 3.14 as conda-build doesn't support it yet
1515
# Note: Using macos-15-intel (x86_64) for consistency with conda-forge practices
1616

1717
steps:
@@ -25,16 +25,15 @@ jobs:
2525
channel-priority: strict
2626
activate-environment: build-env
2727

28-
- name: Install rattler-build and anaconda-client
28+
- name: Install conda-build and anaconda-client
2929
shell: bash -l {0}
3030
run: |
31-
# Use rattler-build (boa's successor, written in Rust) for better virtual package resolution
32-
conda install -y rattler-build anaconda-client
31+
conda install -y conda-build anaconda-client
3332
3433
- name: Build conda package
3534
shell: bash -l {0}
3635
run: |
37-
rattler-build build --recipe conda.recipe --output-dir ./conda-bld
36+
conda build conda.recipe --output-folder ./conda-bld
3837
3938
- name: Upload build artifacts
4039
uses: actions/upload-artifact@v4

.github/workflows/publish-release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ 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: rattler-build (boa's successor) supports all Python versions
66+
# Note: Excluded Python 3.14 as conda-build doesn't support it yet
6767
# Note: Using macos-15-intel (x86_64) for consistency with conda-forge practices
6868

6969
steps:
@@ -77,16 +77,15 @@ jobs:
7777
channel-priority: strict
7878
activate-environment: build-env
7979

80-
- name: Install rattler-build and anaconda-client
80+
- name: Install conda-build and anaconda-client
8181
shell: bash -l {0}
8282
run: |
83-
# Use rattler-build (boa's successor, written in Rust) for better virtual package resolution
84-
conda install -y rattler-build anaconda-client
83+
conda install -y conda-build anaconda-client
8584
8685
- name: Build conda package
8786
shell: bash -l {0}
8887
run: |
89-
rattler-build build --recipe conda.recipe --output-dir ./conda-bld
88+
conda build conda.recipe --output-folder ./conda-bld
9089
9190
- name: Upload Conda artifacts
9291
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+ (not yet released)
23+
# Skip Python 2.x, 3.7 and below, and 3.14+ (conda-build doesn't support 3.14 yet)
2424
skip: true # [py<38 or py>=314]
2525

2626
requirements:

0 commit comments

Comments
 (0)