Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,33 +244,37 @@ jobs:
conda list conda-build
conda build --help

- name: Build package
- name: Build packages
shell: bash -l {0}
run: |
PKG_PATH=$(conda build conda-recipe \
conda build conda-recipe \
--output \
--override-channels \
-c conda-forge \
-c bioconda)
-c bioconda > pkg_paths.txt

echo "PKG_PATH=$PKG_PATH" >> "$GITHUB_ENV"
cat pkg_paths.txt

conda build conda-recipe \
--override-channels \
-c conda-forge \
-c bioconda \
--no-anaconda-upload

test -f "$PKG_PATH"
echo "Built: $PKG_PATH"
while read -r pkg_path; do
test -f "$pkg_path"
echo "Built: $pkg_path"
done < pkg_paths.txt

- name: Upload to Anaconda
shell: bash -l {0}
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
anaconda \
-t "$ANACONDA_API_TOKEN" \
upload "$PKG_PATH" \
--user CCPBioSim \
--force
while read -r pkg_path; do
anaconda \
-t "$ANACONDA_API_TOKEN" \
upload "$pkg_path" \
--user CCPBioSim \
--force
done < pkg_paths.txt
6 changes: 2 additions & 4 deletions .github/workflows/weekly-regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ concurrency:

jobs:
regression:
name: SIST Regression (${{ matrix.os }}, Python ${{ matrix.python-version }})
name: SIST Regression (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 30
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
os: [ubuntu-26.04, macos-26-intel, macos-26]
python-version: ["3.12", "3.13", "3.14"]

steps:
- name: Checkout
Expand Down Expand Up @@ -52,5 +51,4 @@ jobs:
--override-channels \
-c conda-forge \
-c bioconda \
--python ${{ matrix.python-version }} \
--no-anaconda-upload
4 changes: 4 additions & 0 deletions conda-recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
python:
- "3.12"
- "3.13"
- "3.14"
7 changes: 3 additions & 4 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,20 @@ requirements:
- make

host:
- python >=3.12
- python
- pip
- setuptools >=77,<84

run:
- python >=3.12
- python >=3.12,<3.15
- biopython >=1.85,<2.0
- beautifulsoup4 >=4.12,<5.0
- irf >=3.09,<3.10

test:
requires:
- python >=3.12
- python
- pytest >=9,<10

source_files:
- tests
- pyproject.toml
Expand Down
2 changes: 1 addition & 1 deletion docs/source/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Source tests
The pytest suite validates command-line behaviour and the maintained scientific
reference outputs.

Python 3.12 or later is supported for source testing. A direct source test run
Python 3.12, 3.13, or 3.14 is supported for source testing. A direct source test run
also requires:

* GNU Make
Expand Down
2 changes: 1 addition & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ A source build requires:

* a C++ compiler
* GNU Make
* Python 3.12 or later
* Python 3.12, 3.13, or 3.14
* IRF 3.09 available as ``irf`` on ``PATH``

Build both C++ components from the repository root:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "SIST"
dynamic = ["version"]
description = "Stress-Induced Structural Transitions in superhelical DNA."
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.12,<3.15"
dependencies = [
"biopython>=1.85,<2.0",
"beautifulsoup4>=4.12,<5.0",
Expand Down
Loading