Skip to content

Commit

Permalink
Add support for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Oct 5, 2021
1 parent 44a1a68 commit b13c12a
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.10'
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip setuptools
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
- release_18.01
- release_17.09
include:
- os: ubuntu-latest
tox_env: py310
galaxy_version: dev
- os: ubuntu-latest
tox_env: py39
galaxy_version: dev
Expand All @@ -69,7 +72,7 @@ jobs:
key: pip-cache-${{ matrix.tox_env }}-${{ matrix.galaxy_version }}
- name: Calculate Python version for BioBlend from tox_env
id: get_bioblend_python_version
run: echo "::set-output name=bioblend_python_version::$(echo "${{ matrix.tox_env }}" | sed -e 's/^py\([0-9]\)\([0-9]\+\)/\1.\2/')"
run: echo "::set-output name=bioblend_python_version::$(echo "${{ matrix.tox_env }}" | sed -e 's/^py\([3-9]\)\([0-9]\+\)/\1.\2/')"
- name: Set up Python for BioBlend
uses: actions/setup-python@v2
with:
Expand Down Expand Up @@ -110,6 +113,7 @@ jobs:
tar xvzf ${{ matrix.galaxy_version }}.tar.gz | tail
cd galaxy-${{ matrix.galaxy_version }}
export GALAXY_DIR=$PWD
export GALAXY_PYTHON=python${{ steps.get_galaxy_python_version.outputs.galaxy_python_version }}
export GALAXY_VERSION=${{ matrix.galaxy_version }}
# Export GALAXY_CONFIG_FILE environment variable to be used by run_galaxy.sh
export GALAXY_CONFIG_FILE=config/galaxy.ini
Expand Down
2 changes: 1 addition & 1 deletion ABOUT.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ interacting with `Galaxy`_ and `CloudMan`_ APIs.

BioBlend is supported and tested on:

- Python 3.6, 3.7, 3.8 and 3.9
- Python 3.6, 3.7, 3.8, 3.9 and 3.10
- Galaxy release_17.09 and later.

BioBlend's goal is to make it easier to script and automate the running of
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### BioBlend v - unreleased

* Added support for Python 3.10. Added support for Galaxy release 21.09.

* Added ``get_extra_files()`` method to ``HistoryClient``.

* Improvements to type annotations, tests and documentation

### BioBlend v0.16.0 - 2021-06-13

* Added support for Galaxy release 21.05.
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ APIs.

BioBlend is supported and tested on:

- Python 3.6, 3.7, 3.8 and 3.9
- Python 3.6, 3.7, 3.8, 3.9 and 3.10
- Galaxy release_17.09 and later.

Full docs are available at https://bioblend.readthedocs.io/ with a quick library
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Scientific/Engineering :: Bio-Informatics
description = Galaxy and CloudMan API library
license = MIT
Expand Down

0 comments on commit b13c12a

Please sign in to comment.