Skip to content

Commit

Permalink
Add a testutil extra-require and add gitpython to it
Browse files Browse the repository at this point in the history
Closes #5486
  • Loading branch information
Pierre-Sassoulas committed Feb 26, 2022
1 parent 5bdd503 commit 1eb2085
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ Release date: TBA

Closes #5322

* Added a ``testutil`` extra require to the packaging, as ``gitpython`` should not be a dependency
all the time but is still required to use the primer helper code in ``pylint.testutil``. You can
install it with ``pip install pylint[testutil]``.

Closes #5486

* Added several checkers to deal with unicode security issues
(see `Trojan Sources <https://trojansource.codes/>`_ and
`PEP 672 <https://www.python.org/dev/peps/pep-0672/>`_ for details) that also
Expand Down
3 changes: 1 addition & 2 deletions requirements_test_min.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
-e .
-e .[testutil]
# astroid dependency is also defined in setup.cfg
astroid==2.9.3 # Pinned to a specific version for tests
pytest~=7.0
pytest-benchmark~=3.4
gitpython>3
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ install_requires =
typing-extensions>=3.10.0;python_version<"3.10"
python_requires = >=3.6.2
[options.extras_require]
testutil=gitpython>3
[options.packages.find]
include =
pylint*
Expand Down

0 comments on commit 1eb2085

Please sign in to comment.