Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pylint-dev/pylint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.16.0
Choose a base ref
...
head repository: pylint-dev/pylint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.16.1
Choose a head ref
  • 3 commits
  • 5 files changed
  • 3 contributors

Commits on Feb 1, 2023

  1. Add missing release date

    cdce8p committed Feb 1, 2023
    Copy the full SHA
    0fba80c View commit details

Commits on Feb 2, 2023

  1. [crash] Fix crashes on python interpreter < 3.9 (#8163) (#8165)

    Closes #8161
    
    Co-authored-by: Marc Schmitzer <marc@solute.de>
    (cherry picked from commit 4689b19)
    
    Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
    github-actions[bot] and Pierre-Sassoulas authored Feb 2, 2023
    Copy the full SHA
    40f6711 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f48ec66 View commit details
Showing with 20 additions and 7 deletions.
  1. +16 −3 doc/whatsnew/2/2.16/index.rst
  2. +1 −1 pylint/__pkginfo__.py
  3. +1 −1 pylint/checkers/imports.py
  4. +1 −1 tbump.toml
  5. +1 −1 towncrier.toml
19 changes: 16 additions & 3 deletions doc/whatsnew/2/2.16/index.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@

***************************
What's New in Pylint 2.16
***************************

.. toctree::
:maxdepth: 2

:Release:2.16
:Date: TBA
:Release: 2.16
:Date: 2023-02-01

Summary -- Release highlights
=============================
@@ -33,6 +32,20 @@ Last but not least @clavedeluna and @nickdrozd became triagers, welcome to the t

.. towncrier release notes start
What's new in Pylint 2.16.1?
----------------------------
Release date: 2023-02-02


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

- Fix a crash happening for python interpreter < 3.9 following a failed typing
update.

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


What's new in Pylint 2.16.0?
----------------------------
Release date: 2023-02-01
2 changes: 1 addition & 1 deletion pylint/__pkginfo__.py
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@

from __future__ import annotations

__version__ = "2.16.0"
__version__ = "2.16.1"


def get_numversion_from_version(v: str) -> tuple[int, int, int]:
2 changes: 1 addition & 1 deletion pylint/checkers/imports.py
Original file line number Diff line number Diff line change
@@ -176,7 +176,7 @@ def _make_tree_defs(mod_files_list: ItemsView[str, set[str]]) -> _ImportTree:
assert isinstance(node[0], dict)
node = node[0].setdefault(prefix, ({}, [])) # type: ignore[arg-type,assignment]
assert isinstance(node[1], list)
node[1] += files
node[1].extend(files)
return tree_defs


2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github_url = "https://github.com/PyCQA/pylint"

[version]
current = "2.16.0"
current = "2.16.1"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
2 changes: 1 addition & 1 deletion towncrier.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.towncrier]
version = "2.16.0"
version = "2.16.1"
directory = "doc/whatsnew/fragments"
filename = "doc/whatsnew/2/2.16/index.rst"
template = "doc/whatsnew/fragments/_template.rst"