Skip to content
Open
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
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.12"]
python-version: ["3.8", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
Expand All @@ -30,17 +30,16 @@ jobs:
sudo apt-get update
sudo apt-get install libstdc++6 graphviz python3-dev libgraphviz-dev pkg-config
# Install test/CI-specific dependencies not covered elsewhere
pip install --upgrade pip setuptools wheel
# setuptools 81+ drops pkg_resources, which pybel 0.15.x still imports.
pip install --upgrade pip "setuptools<81" wheel
pip install pytest pytest-cov pydot jsonschema awscli pycodestyle
mkdir -p $HOME/.pybel/data
wget -nv https://bigmech.s3.amazonaws.com/travis/pybel_cache.db -O $HOME/.pybel/data/pybel_cache.db
# PySB and dependencies
wget "https://github.com/RuleWorld/bionetgen/releases/download/BioNetGen-2.4.0/BioNetGen-2.4.0-Linux.tgz" -O bionetgen.tar.gz -nv
tar xzf bionetgen.tar.gz
pip install git+https://github.com/pysb/pysb.git
# Temporary fix. Ensure cython is installed before pyjnius
pip install "cython<3"
pip install "pyjnius==1.1.4" --no-build-isolation
pip install "pyjnius>=1.6.1"
# Now install INDRA with all its extras
pip install .[all]
# Run slow tests only if we're in the cron setting
Expand Down
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ def main():
extras_require = {
# Inputs and outputs
'trips_offline': ['pykqml'],
'reach_offline': ['cython<3', 'pyjnius==1.1.4'],
'eidos_offline': ['cython<3', 'pyjnius==1.1.4'],
'reach_offline': ['pyjnius>=1.6.1'],
'eidos_offline': ['pyjnius>=1.6.1'],
'hypothesis': ['gilda>1.0.0'],
'geneways': ['stemming', 'nltk<3.6'],
'bel': ['pybel>=0.15.0,<0.16.0'],
# texttoknowledgegraph pins lxml==5.2.1 which has no Python
# 3.13 wheels, so we skip it on 3.13 until upstream unpins.
'tkg': ['pybel>=0.15.0,<0.16.0',
'texttoknowledgegraph; python_version >= "3.9"'],
'texttoknowledgegraph; python_version >= "3.9" and python_version < "3.13"'],
'sbml': ['python-libsbml'],
# Tools and analysis
'machine': ['pytz', 'tzlocal', 'tweepy', 'pyyaml>=5.1.0',
Expand All @@ -42,9 +44,7 @@ def main():
'flask_cors',
'docstring-parser',
'gunicorn'],
# scikit-learn 1.5.0 breaks DisambManager.run_adeft_disambiguation
# see: https://github.com/gyorilab/adeft/issues/80
'sklearn_belief': ['scikit-learn<1.5.0'],
'sklearn_belief': ['scikit-learn'],
'owl': ['pronto'],
'tests':
['pytest',
Expand Down Expand Up @@ -131,6 +131,7 @@ def main():
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Mathematics',
Expand Down
Loading