From ea4af44cf9d85de6e994bbd56f8645f32f9cc272 Mon Sep 17 00:00:00 2001 From: Ondřej Nosek Date: Jul 08 2024 00:49:21 +0000 Subject: Fix unittests after creating the project in hatch Python36 unittests failed because they automaticaly installed the hatch, but it wasn't available in Python36. Signed-off-by: Ondřej Nosek --- diff --git a/pyproject.toml b/pyproject.toml index e758fc6..4315ea5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -79,7 +79,7 @@ include = [ [tool.hatch.build.targets.wheel] packages = [ - "dist/fedpkg" + "fedpkg" ] [tool.hatch.build.targets.wheel.shared-data] diff --git a/tox.ini b/tox.ini index 37fe636..ff0124b 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,12 @@ commands = setenv= PYCURL_SSL_LIBRARY=openssl +[testenv:py36] +# do not install hatch, it is not available on py36 +skip_install = True + [testenv:flake8] +skip_install = True deps = flake8 commands = python -m flake8 fedpkg/ test/