Skip to content

Commit 9b485f5

Browse files
authored
Release v0.10.9 (#361)
* Bump version: 0.10.8 → 0.10.9 * removed redundant CI * fixing conda * Update test-conda-build.yml * checking build with new .conda format * fixing conda * changing everything to rattler * removing noarch --------- Co-authored-by: violafanfani <viola.fanfani@gmail.com>
1 parent 0f209ea commit 9b485f5

17 files changed

+143
-246
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.10.8
2+
current_version = 0.10.9
33
commit = True
44

55
[bumpversion:file:setup.py]
Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,37 @@
1-
name: conda release manual
1+
name: conda build manual release
22
on:
33
workflow_dispatch:
44
branches:
55
- master
66
- devel
77
jobs:
88
build:
9+
name: Build package
910
runs-on: ${{ matrix.os }}
1011
strategy:
1112
matrix:
12-
os: [ubuntu-latest]
13-
python-version: ['3.10']
14-
13+
include:
14+
- os: ubuntu-latest
15+
target-platform: linux-64
16+
- os: ubuntu-24.04-arm
17+
target-platform: linux-aarch64
18+
- os: macos-13
19+
target-platform: osx-64
20+
- os: macos-latest
21+
target-platform: osx-arm64
1522
steps:
16-
- uses: actions/checkout@v3
17-
- name: "Setup Conda"
18-
uses: s-weigand/setup-conda@v1
19-
with:
20-
update-conda: false
21-
python-version: ${{ matrix.python-version }}
22-
conda-channels: anaconda,conda-forge,bioconda
23-
- name: "Install Conda development packages"
24-
run: |
25-
conda install conda-build
26-
conda install -c anaconda anaconda-client
27-
- name: "Build and upload package"
28-
run: |
29-
mkdir conda-build
30-
conda build . --no-build-id --output-folder ./conda-build -c conda-forge
31-
conda install "urllib3<2"
32-
conda convert -p all ./conda-build/**/netzoopy*.bz2 --output-dir ./conda-build
33-
anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload --force -u netzoo --no-progress ./conda-build/**/netzoopy*.bz2
23+
- uses: actions/checkout@v4
24+
- name: Build conda package
25+
uses: prefix-dev/rattler-build-action@v0.2.33
26+
with:
27+
# needs to be unique for each matrix entry
28+
recipe-path: recipe/
29+
artifact-name: package-${{ matrix.target-platform }}
30+
build-args: --target-platform ${{ matrix.target-platform }}${{ matrix.target-platform == 'linux-aarch64' && ' --no-test' || '' }}
31+
- name: Show built packages
32+
run: |
33+
ls -lh rattler-build/**/*.conda || true
34+
- name: Upload package to Anaconda
35+
run: |
36+
export ANACONDA_API_KEY=${{ secrets.ANACONDA_TOKEN }}
37+
rattler-build upload anaconda -o netzoo rattler-build/**/*.conda
Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,36 @@
1-
name: publish on release conda
1+
name: conda build release
22
on:
33
release:
44
branches:
55
- master
66
jobs:
77
build:
8+
name: Build package
89
runs-on: ${{ matrix.os }}
910
strategy:
1011
matrix:
11-
os: [ubuntu-latest]
12-
python-version: ['3.10']
13-
12+
include:
13+
- os: ubuntu-latest
14+
target-platform: linux-64
15+
- os: ubuntu-24.04-arm
16+
target-platform: linux-aarch64
17+
- os: macos-13
18+
target-platform: osx-64
19+
- os: macos-latest
20+
target-platform: osx-arm64
1421
steps:
15-
- uses: actions/checkout@v3
16-
- name: "Setup Conda"
17-
uses: s-weigand/setup-conda@v1
18-
with:
19-
update-conda: true
20-
python-version: ${{ matrix.python-version }}
21-
conda-channels: anaconda, conda-forge, bioconda
22-
- name: "Install Conda development packages"
23-
run: |
24-
conda install conda-build
25-
conda install -c anaconda anaconda-client
26-
- name: "Build and upload package"
27-
run: |
28-
mkdir conda-build
29-
conda build . --no-build-id --output-folder ./conda-build
30-
conda convert -p all ./conda-build/**/netzoopy*.bz2 --output-dir ./conda-build
31-
anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload --force -u netzoo --no-progress ./conda-build/**/netzoopy*.bz2
22+
- uses: actions/checkout@v4
23+
- name: Build conda package
24+
uses: prefix-dev/rattler-build-action@v0.2.33
25+
with:
26+
# needs to be unique for each matrix entry
27+
recipe-path: recipe/
28+
artifact-name: package-${{ matrix.target-platform }}
29+
build-args: --target-platform ${{ matrix.target-platform }}${{ matrix.target-platform == 'linux-aarch64' && ' --no-test' || '' }}
30+
- name: Show built packages
31+
run: |
32+
ls -lh rattler-build/**/*.conda || true
33+
- name: Upload package to Anaconda
34+
run: |
35+
export ANACONDA_API_KEY=${{ secrets.ANACONDA_TOKEN }}
36+
rattler-build upload anaconda -o netzoo rattler-build/**/*.conda

.github/workflows/test-conda-build-39.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,36 @@
1-
name: test conda
1+
name: conda build test
22
on:
33
push:
44
branches:
55
- master
66
- devel
7+
78
jobs:
89
build:
10+
name: Build package
911
runs-on: ${{ matrix.os }}
1012
strategy:
1113
matrix:
12-
os: [ubuntu-latest]
13-
python-version: ['3.10']
14-
14+
include:
15+
- os: ubuntu-latest
16+
target-platform: linux-64
17+
- os: ubuntu-24.04-arm
18+
target-platform: linux-aarch64
19+
- os: macos-13
20+
target-platform: osx-64
21+
- os: macos-latest
22+
target-platform: osx-arm64
1523
steps:
16-
- uses: actions/checkout@v3
17-
- name: "Setup Conda"
18-
uses: s-weigand/setup-conda@v1
19-
with:
20-
update-conda: false
21-
python-version: ${{ matrix.python-version }}
22-
conda-channels: anaconda, conda-forge, bioconda
23-
- name: "Install Conda development packages"
24-
run: |
25-
conda install conda-build
26-
conda install -c anaconda anaconda-client
27-
- name: "Build and upload package"
28-
run: |
29-
mkdir conda-build
30-
conda build . --no-build-id --output-folder ./conda-build -c conda-forge
31-
conda install "urllib3<2"
32-
conda convert -p all ./conda-build/**/netzoopy*.bz2 --output-dir ./conda-build --dry-run
24+
- uses: actions/checkout@v4
25+
- name: Build conda package
26+
uses: prefix-dev/rattler-build-action@v0.2.33
27+
with:
28+
# needs to be unique for each matrix entry
29+
recipe-path: recipe/
30+
artifact-name: package-${{ matrix.target-platform }}
31+
build-args: --target-platform ${{ matrix.target-platform }}${{ matrix.target-platform == 'linux-aarch64' && ' --no-test' || '' }}
32+
- name: Show built packages
33+
run: |
34+
ls -lh rattler-build/**/*.conda || true
35+
36+

.github/workflows/test-conda-manual-310.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/test-conda-manual-38.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/test-conda-manual-39.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/test-conda-manual.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,7 @@ tests/lioness/dragon/lioness_dragon_results/
5555
docs/_build/
5656
netZooPy/panda/io.py
5757
debug_bonobo.py
58+
59+
!recipe/
60+
!recipe/recipe.yaml
61+
!recipe/test.py

0 commit comments

Comments
 (0)