From 46a8d9e629ac502864a99acaa9418d1c5cd32388 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Fri, 1 Mar 2024 09:07:23 +0100 Subject: [PATCH] build: use poetry v1.8.1 (#81) Signed-off-by: Jan Kowalleck --- .github/workflows/python.yml | 2 +- .github/workflows/release.yml | 2 +- pyproject.toml | 12 ++++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 7987cab..293592b 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -38,7 +38,7 @@ concurrency: env: REPORTS_DIR: CI_reports PYTHON_VERSION_DEFAULT: "3.11" - POETRY_VERSION: "1.7.1" + POETRY_VERSION: "1.8.1" jobs: coding-standards: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c801d94..65ee65a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ concurrency: env: PYTHON_VERSION_DEFAULT: "3.11" - POETRY_VERSION: "1.7.1" + POETRY_VERSION: "1.8.1" jobs: quicktest: diff --git a/pyproject.toml b/pyproject.toml index ef77f4c..13a25c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,18 @@ documentation = "https://py-serializable.readthedocs.io/" packages = [ { include = "serializable" } ] +include = [ + # all is an object -> prevent parse issue with dependabot + { path="README.md", format =["sdist"] }, + { path="CHANGELOG.md", format=["sdist"] }, + { path="docs", format=["sdist"] }, + { path="tests", format=["sdist"] }, +] +exclude = [ + # exclude dotfiles and dotfolders + "**/.*", + "docs/_build", +] classifiers = [ # Trove classifiers - https://packaging.python.org/specifications/core-metadata/#metadata-classifier # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers