From a08b3c37c4df3052b2bfa0d399b13c75a47b2047 Mon Sep 17 00:00:00 2001 From: Bartosz Sokorski Date: Tue, 17 Dec 2024 22:15:50 +0100 Subject: [PATCH] Make time-machine an optional dependency as intended --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8f03b3cc..1bfc1d2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,10 @@ classifiers = [ dependencies = [ "python-dateutil>=2.6", "tzdata>=2020.1", +] + +[project.optional-dependencies] +test = [ 'time-machine>=2.6.0; implementation_name != "pypy"', ]