From f9d86db0da8b92229e9eb8ac1928994eef4c182d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 3 Oct 2024 16:43:49 +0200 Subject: [PATCH] Update sdist rules to include `tox.toml` (#3389) Update sdist rules to include `tox.toml`, rather than `tox.ini` that no longer exists. This fixes test failures due to missing tox configuration. Fixes #3389 --- docs/changelog/3389.bugfix.rst | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 docs/changelog/3389.bugfix.rst diff --git a/docs/changelog/3389.bugfix.rst b/docs/changelog/3389.bugfix.rst new file mode 100644 index 0000000000..c0f6db23de --- /dev/null +++ b/docs/changelog/3389.bugfix.rst @@ -0,0 +1,2 @@ +Include ``tox.toml`` in sdist archives to fix test failures resulting from its lack. +- by :user:`mgorny` diff --git a/pyproject.toml b/pyproject.toml index 4f9836d6ed..50142c5b2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,7 +107,7 @@ build.hooks.vcs.version-file = "src/tox/version.py" build.targets.sdist.include = [ "/src", "/tests", - "/tox.ini", + "/tox.toml", ] version.source = "vcs"