From 1637bf41fd3d267855be8c3a5fafa75256195aaa Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 26 Jul 2024 14:03:06 -0400 Subject: [PATCH] Made 'inflect' an optional dependency. The show-newlines script now will crash unless jaraco.text[inflect] is installed. --- newsfragments/+727cc156.removal.rst | 1 + pyproject.toml | 2 +- tox.ini | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 newsfragments/+727cc156.removal.rst diff --git a/newsfragments/+727cc156.removal.rst b/newsfragments/+727cc156.removal.rst new file mode 100644 index 0000000..e9e4dcd --- /dev/null +++ b/newsfragments/+727cc156.removal.rst @@ -0,0 +1 @@ +Made 'inflect' an optional dependency. The show-newlines script now will crash unless jaraco.text[inflect] is installed. \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index e96d197..df6ab7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,6 @@ dependencies = [ "jaraco.context >= 4.1", 'importlib_resources; python_version < "3.9"', "autocommand", - "inflect", "more_itertools", ] dynamic = ["version"] @@ -56,5 +55,6 @@ doc = [ # local ] +inflect = ["inflect"] [tool.setuptools_scm] diff --git a/tox.ini b/tox.ini index cc4db36..8d95dda 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,7 @@ commands = usedevelop = True extras = test + inflect [testenv:diffcov] description = run tests and check that diff from main is covered