Skip to content

Commit

Permalink
Merge pull request #24 from rki-mf1/bump-all-versions
Browse files Browse the repository at this point in the history
Bump all deps, including python (>=3.11,<3.13)
  • Loading branch information
matthuska authored Nov 15, 2024
2 parents e242439 + 123214a commit 69576ef
Show file tree
Hide file tree
Showing 7 changed files with 395 additions and 351 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
architecture: x64
- run: pip install nox==2024.10.9
- run: pip install poetry==1.8.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
architecture: x64
- run: pip install nox==2024.10.9
- run: pip install poetry==1.8.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.12']
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion envs/breakfast-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- bioconda
- nodefaults
dependencies:
- python>=3.9,<3.10
- python>=3.11,<3.13
- poetry
- poetry-plugin-export
- fortran-compiler
Expand Down
7 changes: 4 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Nox sessions."""

import tempfile
from typing import Any

Expand Down Expand Up @@ -47,15 +48,15 @@ def install_with_constraints(session: Session, *args: str, **kwargs: Any) -> Non
session.install("-r", requirements.name, *args, **kwargs)


@nox.session(python="3.9")
@nox.session(python="3.12")
def black(session: Session) -> None:
"""Run black code formatter."""
args = session.posargs or locations
install_with_constraints(session)
session.run("black", *args)


@nox.session(python="3.9")
@nox.session(python="3.12")
def lint(session: Session) -> None:
"""Lint using flake8."""
args = session.posargs or locations
Expand All @@ -73,7 +74,7 @@ def lint(session: Session) -> None:
session.run("flake8", *args)


@nox.session(python=["3.10", "3.9"])
@nox.session(python=["3.11", "3.12"])
def tests(session):
args = session.posargs or ["--cov"]
session.run("poetry", "install", "--without", "dev", external=True)
Expand Down
707 changes: 375 additions & 332 deletions poetry.lock

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ homepage = "https://github.com/rki-mf1/breakfast"
repository = "https://github.com/rki-mf1/breakfast"

[tool.poetry.dependencies]
python = ">=3.9,<3.11"
networkx = "^2.8"
pandas = "^1.4.2"
scikit-learn = "^1.0.2"
numpy = "^1.22.3"
scipy = "^1.8.0"
click = "^8.1.3"
python = ">=3.11,<3.13"
networkx = "^3.4.2"
pandas = "^2.2.3"
scikit-learn = "^1.5.2"
numpy = "^2.1.3"
scipy = "^1.14.1"
click = "^8.1.7"

[tool.poetry.group.dev.dependencies]
pytest = "^7.1.2"
coverage = {extras = ["toml"], version = "^6.3.2"}
pytest-cov = "^3.0.0"
black = "^22.3.0"
flake8 = "^4.0.1"
pytest = "^8.3.3"
coverage = "^7.6.6"
pytest-cov = "^6.0.0"
black = "^24.10.0"
flake8 = "^7.1.1"
flake8-black = "^0.3.2"
flake8-import-order = "^0.18.1"

Expand Down

0 comments on commit 69576ef

Please sign in to comment.