From b9f5c3c386439791cdd36f68e4285cb11b49d0c9 Mon Sep 17 00:00:00 2001 From: Jan-Niklas Weder Date: Wed, 11 Mar 2026 13:05:07 +0100 Subject: [PATCH 1/2] Replaced license file definition with new one for pyproject.toml --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fbd8298..638745f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,8 @@ classifiers = [ "Topic :: Scientific/Engineering :: Bio-Informatics", ] keywords = [ "genome-scale metabolic model", "constraint-based modelling", "COBRApy", "Escher", "metabolic model curation" ] -license= { file = "LICENSE" } +license-files = ["LICENSE", "src/cobramod/static/LICENSES.txt"] + dependencies = [ "colorlog", "cobra>=0.29.0", From be19d79bacf66a394449fce0d652389a59b057c1 Mon Sep 17 00:00:00 2001 From: Jan-Niklas Weder Date: Wed, 11 Mar 2026 13:46:26 +0100 Subject: [PATCH 2/2] New version of 'pkginfo' required for twine check --- .github/workflows/test-build-and-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-build-and-publish.yml b/.github/workflows/test-build-and-publish.yml index cd6d496..92c81f9 100644 --- a/.github/workflows/test-build-and-publish.yml +++ b/.github/workflows/test-build-and-publish.yml @@ -61,7 +61,7 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip setuptools wheel build + python -m pip install --upgrade pip setuptools wheel build pkginfo yarn install - name: Build JS @@ -145,7 +145,7 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip setuptools wheel twine build + python -m pip install --upgrade pip setuptools wheel twine build pkginfo - name: Check the package run: twine check dist/*