Skip to content

Commit a9f8996

Browse files
committed
Fix poetry and nox versions to latest, bump dependency versions, update pyproject.toml format
1 parent 293a4ad commit a9f8996

File tree

7 files changed

+400
-351
lines changed

7 files changed

+400
-351
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
with:
1212
python-version: '3.12'
1313
architecture: x64
14-
- run: pip install nox==2024.10.9
15-
- run: pip install poetry==1.8.4
14+
- run: pip install nox==2025.5.1
15+
- run: pip install poetry==2.1.3
1616
- run: nox
1717
- run: poetry build
1818
- run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}

.github/workflows/test-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
with:
1313
python-version: '3.12'
1414
architecture: x64
15-
- run: pip install nox==2024.10.9
16-
- run: pip install poetry==1.8.4
15+
- run: pip install nox==2025.5.1
16+
- run: pip install poetry==2.1.3
1717
- run: nox
1818
- run: version=$(poetry version --short) && poetry version $version.dev.$(date +%s)
1919
- run: poetry build

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
with:
1414
python-version: ${{ matrix.python-version }}
1515
architecture: x64
16-
- run: pip install nox==2024.10.9
17-
- run: pip install poetry==1.8.4
16+
- run: pip install nox==2025.5.1
17+
- run: pip install poetry==2.1.3
1818
- run: nox

envs/breakfast-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ channels:
55
- nodefaults
66
dependencies:
77
- python>=3.11,<3.13
8-
- poetry
8+
- poetry==2.1.3
99
- poetry-plugin-export
1010
- fortran-compiler
11-
- nox
11+
- nox==2025.5.1
1212
- pre-commit

noxfile.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ def install_with_constraints(session: Session, *args: str, **kwargs: Any) -> Non
2727
kwargs: Additional keyword arguments for Session.install.
2828
"""
2929
with tempfile.NamedTemporaryFile() as requirements:
30-
# Hide a warning that I have already handled
31-
session.run(
32-
"poetry",
33-
"config",
34-
"warnings.export",
35-
"false",
36-
external=True,
37-
)
3830
session.run(
3931
"poetry",
4032
"export",

poetry.lock

Lines changed: 380 additions & 327 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
1-
[tool.poetry]
1+
[project]
22
name = "breakfast"
33
version = "0.4.5"
4-
description = "breakfast: fast putative outbreak cluster and infection chain detection using SNPs"
5-
authors = ["Matthew Huska <HuskaM@rki.de>", "Denis Beslic <BeslicD@rki.de>"]
6-
license = "MIT"
4+
description = "Fast putative outbreak cluster and infection chain detection using SNPs."
75
readme = "README.md"
8-
homepage = "https://github.com/rki-mf1/breakfast"
6+
license = "MIT"
7+
authors = [
8+
{name = "Matthew Huska", email = "HuskaM@rki.de"},
9+
{name = "Denis Beslic", email = "BeslicD@rki.de"},
10+
]
11+
12+
[project.urls]
913
repository = "https://github.com/rki-mf1/breakfast"
1014

15+
[project.scripts]
16+
breakfast = "breakfast.console:main"
17+
1118
[tool.poetry.dependencies]
1219
python = ">=3.11,<3.13"
1320
networkx = "^3.4.2"
@@ -26,9 +33,6 @@ flake8 = "^7.1.1"
2633
flake8-black = "^0.3.2"
2734
flake8-import-order = "^0.18.1"
2835

29-
[tool.poetry.scripts]
30-
breakfast = "breakfast.console:main"
31-
3236
[tool.coverage.paths]
3337
source = ["src", "*/site-packages"]
3438

0 commit comments

Comments
 (0)