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

Release 2.15.5 #7660

Merged
merged 11 commits into from
Oct 21, 2022
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
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

env:
# Also change CACHE_VERSION in the other workflows
CACHE_VERSION: 28
CACHE_VERSION: 31
DEFAULT_PYTHON: "3.10"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request: ~

env:
CACHE_VERSION: 28
CACHE_VERSION: 31
DEFAULT_PYTHON: "3.10"
PRE_COMMIT_CACHE: ~/.cache/pre-commit

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/primer-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- ".github/workflows/primer-test.yaml"

env:
CACHE_VERSION: 28
CACHE_VERSION: 31

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/primer_comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

env:
# This needs to be the SAME as in the Main and PR job
CACHE_VERSION: 28
CACHE_VERSION: 31

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/primer_run_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

env:
# This needs to be the SAME as in the PR and comment job
CACHE_VERSION: 28
CACHE_VERSION: 31

jobs:
run-primer:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/primer_run_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:

env:
# This needs to be the SAME as in the Main and comment job
CACHE_VERSION: 28
CACHE_VERSION: 31

jobs:
run-primer:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- doc/data/messages/**

env:
CACHE_VERSION: 28
CACHE_VERSION: 31

jobs:
tests-linux:
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ contributors:
- Marco Forte <[email protected]>
- Ionel Maries Cristian <[email protected]>
- Gergely Kalmár <[email protected]>
- Drummond Ogilvie <[email protected]>
- Drum Ogilvie <[email protected]>
- Daniel Harding <[email protected]>
- Damien Baty <[email protected]>
- Benjamin Drung <[email protected]>: contributing Debian Developer
Expand Down Expand Up @@ -499,6 +499,7 @@ contributors:
- Daniele Procida <[email protected]>
- Daniela Plascencia <[email protected]>
- Daniel R. Neal <[email protected]> (danrneal)
- Daniel Mouritzen <[email protected]>
- Daniel Draper <[email protected]>
- Daniel Dorani <[email protected]> (doranid)
- Daniel Brookman <[email protected]>
Expand Down
48 changes: 48 additions & 0 deletions doc/whatsnew/2/2.15/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,54 @@ Marc Byrne became a maintainer, welcome to the team !

.. towncrier release notes start

What's new in Pylint 2.15.5?
----------------------------
Release date: 2022-10-21


False Positives Fixed
---------------------

- Fix a false positive for ``simplify-boolean-expression`` when multiple values
are inferred for a constant.

Closes #7626 (`#7626 <https://github.com/PyCQA/pylint/issues/7626>`_)



Other Bug Fixes
---------------

- Remove ``__index__`` dunder method call from ``unnecessary-dunder-call``
check.

Closes #6795 (`#6795 <https://github.com/PyCQA/pylint/issues/6795>`_)

- Fixed a multi-processing crash that prevents using any more than 1 thread on
MacOS.

The returned module objects and errors that were cached by the linter plugin
loader
cannot be reliably pickled. This means that ``dill`` would throw an error
when
attempting to serialise the linter object for multi-processing use.

Closes #7635. (`#7635 <https://github.com/PyCQA/pylint/issues/7635>`_)



Other Changes
-------------

- Add a keyword-only ``compare_constants`` argument to ``safe_infer``.

Refs #7626 (`#7626 <https://github.com/PyCQA/pylint/issues/7626>`_)

- Sort ``--generated-rcfile`` output.

Refs #7655 (`#7655 <https://github.com/PyCQA/pylint/issues/7655>`_)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When copy pasting the release in github I currently have to remove the link manually (it's rst and github want markdown).



What's new in Pylint 2.15.4?
----------------------------
Release date: 2022-10-10
Expand Down
Loading