Skip to content

Commit

Permalink
Update max python version (#38)
Browse files Browse the repository at this point in the history
* update `ci.yml` to run in multiple python versions

* update biopython minimal version

* update base python image

* update python version classifiers

* update `pypi-publish.yml`

* bump version

* typo
  • Loading branch information
rvhonorato authored Oct 3, 2024
1 parent a325426 commit 062504e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ on: push

jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
fail-fast: false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}

- uses: snok/install-poetry@v1
with:
Expand All @@ -21,7 +25,13 @@ jobs:

- run: poetry install --no-interaction --no-root

- run: poetry run pytest --cov --cov-report xml:coverage.xml --cov-append -vv --hypothesis-show-statistics
- name: run tests
run: >-
poetry run pytest --cov
--cov-report xml:coverage.xml
--cov-append
-vv
--hypothesis-show-statistics
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- uses: snok/install-poetry@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#==============================================================================================
FROM python:3.10
FROM python:3.12
WORKDIR /opt/software
COPY . .
RUN pip install .
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "prodigy-prot"
license = "Apache-2.0"
version = "2.2.2"
version = "2.2.3"
description = "PROtein binDIng enerGY prediction"
authors = [
"Computational Structural Biology Group at Utrecht University <[email protected]>",
Expand All @@ -10,16 +10,17 @@ readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]

[tool.poetry.dependencies]
python = "^3.9"
biopython = "1.80"
biopython = "^1.80"
freesasa = "2.2.1"
numpy = "^1.22.0"

Expand Down

0 comments on commit 062504e

Please sign in to comment.