Skip to content

Commit

Permalink
[cfg] Upgrade some Python dependencies
Browse files Browse the repository at this point in the history
mypy 1.5.1
pylint 2.17.6
python-ldap 3.4.3
  • Loading branch information
bruntib committed Oct 2, 2023
1 parent f03b76c commit 0b9d4ec
Show file tree
Hide file tree
Showing 17 changed files with 23 additions and 30 deletions.
5 changes: 4 additions & 1 deletion analyzer/codechecker_analyzer/pre_analysis_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,10 @@ def signal_handler(signum, frame):
raise
finally:
pool.join()
# Return whether the call completed without raising an exception.
# The following pylint report is suppressed, because "result" would not
# be set if Pool.map_async() itself would raise an exception. If
# exceptions are raised by the callback functions, "result" is set.
# pylint: disable=used-before-assignment
if not result.successful():
# If the remote call raised an exception then that exception will
# be reraised by get().
Expand Down
1 change: 0 additions & 1 deletion analyzer/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ lxml==4.9.2
portalocker==2.2.1
psutil==5.8.0
PyYAML==6.0.1
mypy_extensions==0.4.3
3 changes: 1 addition & 2 deletions analyzer/requirements_py/dev/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ pytest==7.3.1
pycodestyle==2.7.0
psutil==5.8.0
portalocker==2.2.1
pylint==2.8.2
pylint==2.17.6
mkdocs==1.2.3
PyYAML==6.0.1
mypy_extensions==0.4.3
coverage==5.5.0
1 change: 0 additions & 1 deletion analyzer/requirements_py/osx/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ portalocker==2.2.1
psutil==5.8.0
scan-build==2.0.19
PyYAML==6.0.1
mypy_extensions==0.4.3
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==7.3.1
pycodestyle==2.4.0
pylint==2.8.2
pylint==2.17.6
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==7.3.1
pycodestyle==2.4.0
pylint==2.8.2
pylint==2.17.6
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==7.3.1
pycodestyle==2.4.0
pylint==2.8.2
pylint==2.17.6
3 changes: 1 addition & 2 deletions codechecker_common/requirements_py/dev/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
portalocker==2.2.1
coverage==5.5.0
mypy==0.812
mypy_extensions==0.4.3
mypy==1.5.1
PyYAML==6.0.1
5 changes: 2 additions & 3 deletions tools/bazel/requirements_py/dev/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pytest==7.3.1
pycodestyle==2.7.0
pylint==2.8.2
mypy==0.812
mypy_extensions==0.4.3
pylint==2.17.6
mypy==1.5.1
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
#
# -------------------------------------------------------------------------

from typing import Any, Callable, List, Optional, Union
from typing import Callable, List, Optional, Union


class CheckerLabels:
severity: Callable[[Any, str], str]
severity: Callable[[str], str]
label_of_checker: Callable[
[Any, str, str, Optional[str]], Union[str, List[str]]]
[str, str, Optional[str]], Union[str, List[str]]]
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import logging
import sys

from typing import Any, Callable, Iterable, List, Optional, Set
from typing import Callable, Iterable, List, Optional, Set

from codechecker_report_converter.report import Report, SkipListHandlers
from codechecker_report_converter.report.hash import get_report_path_hash
Expand All @@ -18,8 +18,8 @@


class GenericSuppressHandler:
get_suppressed: Callable[[Any, Report], bool]
store_suppress_bug_id: Callable[[Any, str, str, str, str], bool]
get_suppressed: Callable[[Report], bool]
store_suppress_bug_id: Callable[[str, str, str, str], bool]


def get_mentioned_original_files(reports: List[Report]) -> Set[str]:
Expand Down
5 changes: 2 additions & 3 deletions tools/report-converter/requirements_py/dev/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
pytest==7.3.1
pycodestyle==2.7.0
pylint==2.8.2
pylint==2.17.6
portalocker==2.2.1
mypy==0.812
mypy_extensions==0.4.3
mypy==1.5.1
5 changes: 2 additions & 3 deletions tools/tu_collector/requirements_py/dev/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pytest==7.3.1
pycodestyle==2.7.0
pylint==2.8.2
mypy==0.812
mypy_extensions==0.4.3
pylint==2.17.6
mypy==1.5.1
1 change: 0 additions & 1 deletion web/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ sqlalchemy==1.3.23
alembic==1.5.5
portalocker==2.2.1
psutil==5.8.0
mypy_extensions==0.4.3
thrift==0.13.0
gitpython==3.1.34
PyYAML==6.0.1
Expand Down
2 changes: 1 addition & 1 deletion web/requirements_py/auth/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
python-ldap==3.4.0
python-ldap==3.4.3
python-pam==1.8.4
3 changes: 1 addition & 2 deletions web/requirements_py/dev/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ psycopg2-binary==2.8.6
pg8000==1.15.2
psutil==5.8.0
portalocker==2.2.1
pylint==2.8.2
pylint==2.17.6
pytest==7.3.1
mkdocs==1.2.3
mypy_extensions==0.4.3
coverage==5.5.0
thrift==0.13.0
gitpython==3.1.34
Expand Down
1 change: 0 additions & 1 deletion web/requirements_py/osx/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ alembic==1.5.5
portalocker==2.2.1
psutil==5.8.0
sqlalchemy==1.3.23
mypy_extensions==0.4.3
thrift==0.13.0

./api/py/codechecker_api/dist/codechecker_api.tar.gz
Expand Down

0 comments on commit 0b9d4ec

Please sign in to comment.