Skip to content

Commit 05cef5a

Browse files
committed
.
1 parent db78db7 commit 05cef5a

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

.github/workflows/ci-conda.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
version: ${{ steps.publish-pretest.outputs.version }}
2929
buildstr: ${{ steps.publish-pretest.outputs.buildstr }}
3030
steps:
31-
- name: Set up Python 3.8
31+
- name: Set up Python 3.13
3232
uses: actions/setup-python@v5
3333
with:
34-
python-version: 3.8
34+
python-version: 3.13
3535
- uses: actions/checkout@v4
3636
with:
3737
fetch-depth: 0
@@ -54,12 +54,12 @@ jobs:
5454
runs-on: ubuntu-latest
5555
strategy:
5656
matrix:
57-
python-version: ["3.9","3.10"]
57+
python-version: ["3.9","3.10","3.11"]
5858
steps:
59-
- name: Set up Python 3.8
59+
- name: Set up Python 3.13
6060
uses: actions/setup-python@v5
6161
with:
62-
python-version: 3.8
62+
python-version: 3.13
6363
- name: Add conda to system path
6464
shell: bash
6565
run: |
@@ -94,10 +94,10 @@ jobs:
9494
if: ( github.ref_name == 'master' ) && ( github.repository == 'pinellolab/dictys' )
9595
runs-on: ubuntu-latest
9696
steps:
97-
- name: Set up Python 3.8
97+
- name: Set up Python 3.13
9898
uses: actions/setup-python@v5
9999
with:
100-
python-version: 3.8
100+
python-version: 3.13
101101
- uses: actions/checkout@v4
102102
with:
103103
fetch-depth: 0

.github/workflows/ci-inference.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
strategy:
2424
matrix:
25-
python-version: ["3.9","3.10"]
25+
python-version: ["3.9","3.10","3.11"]
2626
nth: ["2"]
2727
steps:
2828
- uses: actions/checkout@v4
@@ -53,7 +53,7 @@ jobs:
5353
runs-on: ubuntu-latest
5454
strategy:
5555
matrix:
56-
python-version: ["3.9","3.10"]
56+
python-version: ["3.9","3.10","3.11"]
5757
nth: ["1","2"]
5858
steps:
5959
- uses: actions/checkout@v4
@@ -84,7 +84,7 @@ jobs:
8484
runs-on: ubuntu-latest
8585
strategy:
8686
matrix:
87-
python-version: ["3.9","3.10"]
87+
python-version: ["3.9","3.10","3.11"]
8888
nth: ["2"]
8989
steps:
9090
- uses: actions/checkout@v4

.github/workflows/ci-install.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
- uses: actions/checkout@v4
4343
with:
4444
ref: ${{ steps.version.outputs.version }}
45-
- name: Set up Python 3.8
45+
- name: Set up Python 3.13
4646
uses: actions/setup-python@v5
4747
with:
48-
python-version: 3.8
48+
python-version: 3.13
4949
- name: Obtain install script
5050
id: runscript
5151
run: |
@@ -83,10 +83,10 @@ jobs:
8383
runs-on: ubuntu-latest
8484
needs: install-script-bash
8585
steps:
86-
- name: Set up Python 3.8
86+
- name: Set up Python 3.13
8787
uses: actions/setup-python@v5
8888
with:
89-
python-version: 3.8
89+
python-version: 3.13
9090
- name: Add conda to system path
9191
run: |
9292
# $CONDA is an environment variable pointing to the root of the miniconda directory
@@ -119,10 +119,10 @@ jobs:
119119
- uses: actions/checkout@v4
120120
with:
121121
ref: ${{ steps.version.outputs.version }}
122-
- name: Set up Python 3.8
122+
- name: Set up Python 3.13
123123
uses: actions/setup-python@v5
124124
with:
125-
python-version: 3.8
125+
python-version: 3.13
126126
- name: Obtain install script
127127
id: run0
128128
run: |
@@ -151,7 +151,7 @@ jobs:
151151
tail -n +$linestart README.rst | head -n $lineend | tail -n +$linestart2 | head -n $lineend2
152152
s1="$(tail -n +$linestart README.rst | head -n $lineend | tail -n +$linestart2 | head -n $lineend2 | grep '^[[:blank:]]' | sed 's/^[[:space:]]*//g')"
153153
#If failed here: update this line and the same line in /.github/actions/install-conda/action.yml to match the lines in /README.rst
154-
cmp <(echo "$s1") <(echo "conda create -y -n dictys -c conda-forge python=3.9 mamba"; echo ". activate dictys"; echo "mamba install -y -c lingfeiwang -c bioconda -c conda-forge -c pytorch dictys pytorch torchvision torchaudio cpuonly") || exit 1
154+
cmp <(echo "$s1") <(echo "conda create -y -n dictys -c conda-forge python=3.10 mamba"; echo ". activate dictys"; echo "mamba install -y -c lingfeiwang -c bioconda -c conda-forge -c pytorch dictys pytorch torchvision torchaudio cpuonly") || exit 1
155155
echo "run<<EOF" >> $GITHUB_ENV
156156
echo "$s1" >> $GITHUB_ENV
157157
echo "EOF" >> $GITHUB_ENV
@@ -165,10 +165,10 @@ jobs:
165165
runs-on: ubuntu-latest
166166
needs: install-script-conda
167167
steps:
168-
- name: Set up Python 3.8
168+
- name: Set up Python 3.13
169169
uses: actions/setup-python@v5
170170
with:
171-
python-version: 3.8
171+
python-version: 3.13
172172
- name: Add conda to system path
173173
run: |
174174
# $CONDA is an environment variable pointing to the root of the miniconda directory
@@ -183,7 +183,7 @@ jobs:
183183
runs-on: ubuntu-latest
184184
strategy:
185185
matrix:
186-
python-version: ["3.9","3.10",""]
186+
python-version: ["3.9","3.10","3.11",""]
187187
cuda-version: ["11.7",""]
188188
steps:
189189
- name: Show version

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ First install `Anaconda/Miniconda <https://docs.conda.io/en/latest/miniconda.htm
2727

2828
.. code-block::
2929
30-
conda create -y -n dictys -c conda-forge python=3.9 mamba
30+
conda create -y -n dictys -c conda-forge python=3.10 mamba
3131
. activate dictys
3232
mamba install -y -c lingfeiwang -c bioconda -c conda-forge -c pytorch dictys pytorch torchvision torchaudio cpuonly
3333
@@ -37,15 +37,15 @@ Alternatively, **with GPU computation** for PyTorch (here CUDA 11.7):
3737

3838
.. code-block::
3939
40-
conda create -y -n dictys -c conda-forge python=3.9 mamba
40+
conda create -y -n dictys -c conda-forge python=3.10 mamba
4141
. activate dictys
4242
mamba install -y -c lingfeiwang -c bioconda -c conda-forge -c pytorch -c nvidia dictys pytorch torchvision torchaudio pytorch-cuda=11.7
4343
4444
Or, with earlier versions (here CUDA 11.3, only supported in PyTorch 1):
4545

4646
.. code-block::
4747
48-
conda create -y -n dictys -c conda-forge python=3.9 mamba
48+
conda create -y -n dictys -c conda-forge python=3.10 mamba
4949
. activate dictys
5050
mamba install -y -c lingfeiwang -c bioconda -c conda-forge -c pytorch -c nvidia dictys pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3
5151

0 commit comments

Comments
 (0)