Skip to content

Commit fa7c0bd

Browse files
authored
Release 0.21.2
Merge pull request #2287 from dweindl/release_0.21.2
2 parents ec4ee25 + 5e64ed4 commit fa7c0bd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+648
-573
lines changed

.github/actions/setup-swig/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
swig_version:
88
description: 'Swig version to build'
99
required: false
10-
default: '4.1.1'
10+
default: '4.2.0'
1111

1212
runs:
1313
using: "composite"

.github/workflows/deploy_branch.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313

1414
steps:
1515
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v4
16+
uses: actions/setup-python@v5
1717
with:
1818
python-version: ${{ matrix.python-version }}
1919

20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 20
2323

@@ -31,7 +31,7 @@ jobs:
3131
scripts/buildSdist.sh
3232
3333
- name: "Upload artifact: sdist"
34-
uses: actions/upload-artifact@v3
34+
uses: actions/upload-artifact@v4
3535
with:
3636
name: sdist
3737
path: python/sdist/dist/amici-*.gz

.github/workflows/deploy_protected.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525

2626
steps:
2727
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v4
28+
uses: actions/setup-python@v5
2929
with:
3030
python-version: ${{ matrix.python-version }}
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3232
- run: git archive -o container/amici.tar.gz --format=tar.gz HEAD
3333
- name: Set up QEMU
3434
uses: docker/setup-qemu-action@v2

.github/workflows/deploy_release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,20 @@ jobs:
1414
matrix:
1515
python-version: [3.9]
1616

17+
environment:
18+
name: pypi
19+
url: https://pypi.org/p/amici
20+
21+
permissions:
22+
id-token: write
23+
1724
steps:
1825
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v5
2027
with:
2128
python-version: ${{ matrix.python-version }}
2229

23-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
2431
with:
2532
fetch-depth: 20
2633

@@ -40,8 +47,6 @@ jobs:
4047
- name: Publish a Python distribution to PyPI
4148
uses: pypa/gh-action-pypi-publish@release/v1
4249
with:
43-
user: __token__
44-
password: ${{ secrets.pypi_password }}
4550
packages-dir: python/sdist/dist
4651

4752
bioSimulatorsUpdateCliAndDockerImage:

.github/workflows/test_benchmark_collection_models.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929

3030
steps:
3131
- name: Set up Python ${{ matrix.python-version }}
32-
uses: actions/setup-python@v4
32+
uses: actions/setup-python@v5
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535

36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3737
with:
3838
fetch-depth: 20
3939

@@ -49,15 +49,15 @@ jobs:
4949
- name: Install AMICI sdist
5050
run: |
5151
pip3 install --user petab[vis] && \
52-
AMICI_PARALLEL_COMPILE=2 pip3 install -v --user \
52+
AMICI_PARALLEL_COMPILE="" pip3 install -v --user \
5353
$(ls -t python/sdist/dist/amici-*.tar.gz | head -1)[petab,test,vis]
5454
5555
# retrieve test models
5656
- name: Download and test benchmark collection
5757
run: |
5858
git clone --depth 1 https://github.com/benchmarking-initiative/Benchmark-Models-PEtab.git \
5959
&& export BENCHMARK_COLLECTION="$(pwd)/Benchmark-Models-PEtab/Benchmark-Models/" \
60-
&& AMICI_PARALLEL_COMPILE=2 tests/benchmark-models/test_benchmark_collection.sh
60+
&& AMICI_PARALLEL_COMPILE="" tests/benchmark-models/test_benchmark_collection.sh
6161
6262
# run gradient checks
6363
- name: Run Gradient Checks
@@ -66,9 +66,9 @@ jobs:
6666
&& cd tests/benchmark-models && pytest ./test_petab_benchmark.py
6767
6868
# upload results
69-
- uses: actions/upload-artifact@v3
69+
- uses: actions/upload-artifact@v4
7070
with:
71-
name: computation times
71+
name: computation-times-${{ matrix.python-version }}-${{ matrix.extract_subexpressions }}
7272
path: |
7373
tests/benchmark-models/computation_times.csv
7474
tests/benchmark-models/computation_times.png

.github/workflows/test_doc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424

2525
steps:
2626
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v5
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030

31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3232
- run: git fetch --prune --unshallow
3333

3434
- name: Set up doxygen
@@ -47,11 +47,11 @@ jobs:
4747

4848
steps:
4949
- name: Set up Python ${{ matrix.python-version }}
50-
uses: actions/setup-python@v4
50+
uses: actions/setup-python@v5
5151
with:
5252
python-version: ${{ matrix.python-version }}
5353

54-
- uses: actions/checkout@v3
54+
- uses: actions/checkout@v4
5555
- run: git fetch --prune --unshallow
5656

5757
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV

.github/workflows/test_install.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313

1414
steps:
1515
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v4
16+
uses: actions/setup-python@v5
1717
with:
1818
python-version: ${{ matrix.python-version }}
1919

20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
- run: git fetch --prune --unshallow
2222

2323
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
@@ -54,11 +54,11 @@ jobs:
5454

5555
steps:
5656
- name: Set up Python ${{ matrix.python-version }}
57-
uses: actions/setup-python@v4
57+
uses: actions/setup-python@v5
5858
with:
5959
python-version: ${{ matrix.python-version }}
6060

61-
- uses: actions/checkout@v3
61+
- uses: actions/checkout@v4
6262
- run: git fetch --prune --unshallow
6363

6464
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
@@ -87,11 +87,11 @@ jobs:
8787

8888
steps:
8989
- name: Set up Python ${{ matrix.python-version }}
90-
uses: actions/setup-python@v4
90+
uses: actions/setup-python@v5
9191
with:
9292
python-version: ${{ matrix.python-version }}
9393

94-
- uses: actions/checkout@v3
94+
- uses: actions/checkout@v4
9595
- run: git fetch --prune --unshallow
9696

9797
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV

.github/workflows/test_matlab.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-20.04
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- run: git fetch --prune --unshallow
2020

2121
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV

.github/workflows/test_performance.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727

2828
steps:
2929
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v4
30+
uses: actions/setup-python@v5
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333

34-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3535
with:
3636
fetch-depth: 20
3737

@@ -51,7 +51,7 @@ jobs:
5151
5252
- name: Install AMICI sdist
5353
run: |
54-
AMICI_PARALLEL_COMPILE=2 check_time.sh \
54+
AMICI_PARALLEL_COMPILE="" check_time.sh \
5555
install_sdist pip3 install -v --user \
5656
$(ls -t python/sdist/dist/amici-*.tar.gz | head -1)
5757
@@ -64,7 +64,7 @@ jobs:
6464
AMICI_IMPORT_NPROCS=2 check_time.sh petab_import python tests/performance/test.py import
6565
6666
- name: "Upload artifact: CS_Signalling_ERBB_RAS_AKT_petab"
67-
uses: actions/upload-artifact@v3
67+
uses: actions/upload-artifact@v4
6868
with:
6969
name: model_performance_test
7070
path: model_performance_test

.github/workflows/test_petab_test_suite.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626

2727
steps:
2828
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232

33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434
with:
3535
fetch-depth: 20
3636

@@ -78,15 +78,14 @@ jobs:
7878
- name: Run PEtab test suite
7979
run: |
8080
source ./build/venv/bin/activate \
81-
&& AMICI_PARALLEL_COMPILE=2 pytest -v \
81+
&& AMICI_PARALLEL_COMPILE="" pytest -v \
8282
--cov-report=xml:coverage.xml \
8383
--cov-append \
8484
--cov=amici \
8585
tests/petab_test_suite/
8686
8787
- name: Codecov
88-
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev'
89-
uses: codecov/[email protected]
88+
uses: codecov/codecov-action@v4
9089
with:
9190
token: ${{ secrets.CODECOV_TOKEN }}
9291
file: coverage.xml

0 commit comments

Comments
 (0)