From 65075b3eed18b724cfc5fdf5aae56cd007bca73a Mon Sep 17 00:00:00 2001 From: Christoph Ladurner Date: Thu, 29 Jun 2023 23:58:54 +0200 Subject: [PATCH] setup: use pytest-black-ng instead of pytest-black * pytest-black seems out of support. the last commit was from 2020-10-05. Further pytest-black uses a out of date method which mentions pytest>=7.0 with a DeprecationWarning. The simplest solution is to use pytest-black-ng which fixes this situation. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index b2e4bb7..6aad87d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -35,7 +35,7 @@ install_requires = [options.extras_require] tests = - pytest-black>=0.3.0 + pytest-black-ng>=0.4.0 pytest-invenio>=1.4.2 Sphinx>=5,<6 # Kept for backwards compatibility