Skip to content

Commit

Permalink
Made 'inflect' an optional dependency. The show-newlines script now w…
Browse files Browse the repository at this point in the history
…ill crash unless jaraco.text[inflect] is installed.
  • Loading branch information
jaraco committed Jul 26, 2024
1 parent 69d65f3 commit 1637bf4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions newsfragments/+727cc156.removal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Made 'inflect' an optional dependency. The show-newlines script now will crash unless jaraco.text[inflect] is installed.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ dependencies = [
"jaraco.context >= 4.1",
'importlib_resources; python_version < "3.9"',
"autocommand",
"inflect",
"more_itertools",
]
dynamic = ["version"]
Expand Down Expand Up @@ -56,5 +55,6 @@ doc = [

# local
]
inflect = ["inflect"]

[tool.setuptools_scm]
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ commands =
usedevelop = True
extras =
test
inflect

[testenv:diffcov]
description = run tests and check that diff from main is covered
Expand Down

0 comments on commit 1637bf4

Please sign in to comment.