Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python Requirements Update #402

Merged
merged 3 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# make upgrade
#
astroid==3.0.3
astroid==3.1.0
# via
# pylint
# pylint-celery
Expand Down Expand Up @@ -33,7 +33,7 @@ pbr==6.0.0
# via stevedore
platformdirs==4.2.0
# via pylint
pylint==3.0.3
pylint==3.1.0
# via
# -r requirements/base.in
# pylint-celery
Expand All @@ -53,15 +53,15 @@ pyyaml==6.0.1
# via code-annotations
six==1.16.0
# via -r requirements/base.in
stevedore==5.1.0
stevedore==5.2.0
# via code-annotations
text-unidecode==1.3
# via python-slugify
tomli==2.0.1
# via pylint
tomlkit==0.12.3
# via pylint
typing-extensions==4.9.0
typing-extensions==4.10.0
# via
# astroid
# pylint
2 changes: 1 addition & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ tomli==2.0.1
# tox
tox==4.13.0
# via -r requirements/ci.in
virtualenv==20.25.0
virtualenv==20.25.1
# via tox
10 changes: 5 additions & 5 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# make upgrade
#
astroid==3.0.3
astroid==3.1.0
# via
# -r requirements/base.txt
# pylint
Expand Down Expand Up @@ -63,7 +63,7 @@ pluggy==1.4.0
# via tox
py==1.11.0
# via tox
pylint==3.0.3
pylint==3.1.0
# via
# -r requirements/base.txt
# pylint-celery
Expand All @@ -90,7 +90,7 @@ six==1.16.0
# via
# -r requirements/base.txt
# tox
stevedore==5.1.0
stevedore==5.2.0
# via
# -r requirements/base.txt
# code-annotations
Expand All @@ -114,10 +114,10 @@ tox==3.28.0
# tox-battery
tox-battery==0.6.2
# via -r requirements/dev.in
typing-extensions==4.9.0
typing-extensions==4.10.0
# via
# -r requirements/base.txt
# astroid
# pylint
virtualenv==20.25.0
virtualenv==20.25.1
# via tox
2 changes: 1 addition & 1 deletion requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ wheel==0.42.0
# The following packages are considered to be unsafe in a requirements file:
pip==24.0
# via -r requirements/pip.in
setuptools==69.1.0
setuptools==69.1.1
# via -r requirements/pip.in
14 changes: 7 additions & 7 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
asgiref==3.7.2
# via django
astroid==3.0.3
astroid==3.1.0
# via
# -r requirements/dev.txt
# pylint
Expand All @@ -22,7 +22,7 @@ code-annotations==1.6.0
# via
# -c requirements/constraints.txt
# -r requirements/dev.txt
coverage==7.4.1
coverage==7.4.3
# via -r requirements/test.in
dill==0.3.8
# via
Expand Down Expand Up @@ -84,7 +84,7 @@ py==1.11.0
# via
# -r requirements/dev.txt
# tox
pylint==3.0.3
pylint==3.1.0
# via
# -r requirements/dev.txt
# pylint-celery
Expand All @@ -99,7 +99,7 @@ pylint-plugin-utils==0.8.2
# -r requirements/dev.txt
# pylint-celery
# pylint-django
pytest==8.0.1
pytest==8.0.2
# via -r requirements/test.in
python-slugify==8.0.4
# via
Expand All @@ -117,7 +117,7 @@ six==1.16.0
# tox
sqlparse==0.4.4
# via django
stevedore==5.1.0
stevedore==5.2.0
# via
# -r requirements/dev.txt
# code-annotations
Expand All @@ -141,13 +141,13 @@ tox==3.28.0
# tox-battery
tox-battery==0.6.2
# via -r requirements/dev.txt
typing-extensions==4.9.0
typing-extensions==4.10.0
# via
# -r requirements/dev.txt
# asgiref
# astroid
# pylint
virtualenv==20.25.0
virtualenv==20.25.1
# via
# -r requirements/dev.txt
# tox
4 changes: 1 addition & 3 deletions test/plugins/pylint_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ def test_invalid_python():
messages = run_pylint(source, "all")
assert len(messages) == 1
message = messages.pop()
# Pylint 1.x says the source is <string>, Pylint 2.x says <unknown>
message = message.replace("<string>", "XXX").replace("<unknown>", "XXX")
assert message == "1:syntax-error:Parsing failed: 'invalid syntax (XXX, line 1)'"
assert message == "1:syntax-error:Parsing failed: 'invalid syntax (source, line 1)'"


# I would have tested that the msgids must be valid, but pylint doesn't seem
Expand Down