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
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
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
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
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
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
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
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
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
Expand Up @@ -185,7 +185,7 @@ contributors:
- Marco Forte <fortemarco.irl@gmail.com>
- Ionel Maries Cristian <contact@ionelmc.ro>
- Gergely Kalmár <gergely.kalmar@logikal.jp>
- Drummond Ogilvie <me@daogilvie.com>
- Drum Ogilvie <me@daogilvie.com>
- Daniel Harding <dharding@gmail.com>
- Damien Baty <damien.baty@polyconseil.fr>
- Benjamin Drung <benjamin.drung@profitbricks.com>: contributing Debian Developer
Expand Down Expand Up @@ -499,6 +499,7 @@ contributors:
- Daniele Procida <daniele@vurt.org>
- Daniela Plascencia <daplascen@gmail.com>
- Daniel R. Neal <dan.r.neal@gmail.com> (danrneal)
- Daniel Mouritzen <dmrtzn@gmail.com>
- Daniel Draper <Germandrummer92@users.noreply.github.com>
- Daniel Dorani <ddandd@gmail.com> (doranid)
- Daniel Brookman <53625739+dbrookman@users.noreply.github.com>
Expand Down
48 changes: 48 additions & 0 deletions doc/whatsnew/2/2.15/index.rst
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