Skip to content

Commit

Permalink
remove mamba from build script
Browse files Browse the repository at this point in the history
  • Loading branch information
taoliu committed Feb 21, 2025
1 parent 8a833cf commit 463ff2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish-to-anaconda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']
python-version: ['3.13']
arch: ['x64']
name: Build conda package in x64 under Python ${{ matrix.python-version }}
steps:
Expand All @@ -39,10 +39,8 @@ jobs:
# Useful for debugging any issues with conda
conda info -a
# configure the channels
conda config --add channels defaults
conda config --add channels conda-forge
conda config --add channels macs3
conda install -q mamba -c conda-forge
- name: Build conda package
run: |
mkdir bld-dir
Expand All @@ -52,7 +50,7 @@ jobs:
# Now add this folder as a highest priority channel
conda config --add channels "file://`pwd`/bld-dir"
# install MACS3 from local repo
mamba create -q -n MACS3 macs3
conda create -q -n MACS3 macs3
# Activate this environment
source /usr/share/miniconda/etc/profile.d/conda.sh
conda activate MACS3
Expand All @@ -71,7 +69,7 @@ jobs:
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
mamba install anaconda-client
conda install anaconda-client
anaconda upload bld-dir/**/macs3-*.tar.bz2
8 changes: 4 additions & 4 deletions conda/macs3/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "macs3" %}
{% set version = "3.0.2" %}
{% set version = "3.0.3" %}

package:
name: "{{ name|lower }}"
Expand All @@ -17,7 +17,7 @@ requirements:
build:
- {{ compiler('c') }}
- zlib
- python >=3.11
- python >=3.13
- numpy >=1.25
- scipy >=1.12
- Cython ~=3.0
Expand All @@ -26,7 +26,7 @@ requirements:
- hmmlearn >=0.3.2
- scikit-learn >=1.3
host:
- python >=3.11
- python >=3.13
- zlib
- numpy >=1.25
- scipy >=1.12
Expand All @@ -35,7 +35,7 @@ requirements:
- scikit-learn >=1.3
- cykhash >=2.0,<3.0
run:
- python >=3.11
- python >=3.13
- numpy >=1.25
- scipy >=1.12
- hmmlearn >=0.3.2
Expand Down

0 comments on commit 463ff2a

Please sign in to comment.