From 6dd0ffb4be09d8392ff5af3433f6ffca94ffdd6f 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d6e1de5b..f0773dd2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,10 +22,14 @@ dependencies = [ "python-dateutil>=2.6", "tzdata>=2020.1", 'backports.zoneinfo>=0.2.1; python_version < "3.9"', - 'time-machine>=2.6.0; implementation_name != "pypy"', 'importlib-resources>=5.9.0; python_version < "3.9"' ] +[project.optional-dependencies] +test = [ + 'time-machine>=2.6.0; implementation_name != "pypy"', +] + [project.urls] Homepage = "https://pendulum.eustace.io" Documentation = "https://pendulum.eustace.io/docs"