forked from pool/python-pylint
* Quiet false positives for unexpected-keyword-arg when pylint cannot determine which of two or more dynamically defined classes is being instantiated. * Fix a false positive for missing-param-doc where a method which is decorated with typing.overload was expected to have a docstring specifying its parameters. * Fix a regression that raised invalid-name on class attributes merely overriding invalid names from an ancestor. * Treat assert_never() the same way when imported from typing_extensions. * Fix a false positive for consider-using-min-max-builtin when the assignment target is an attribute. * Fix an AssertionError arising from properties that return partial functions. * Fix a crash when a subclass extends __slots__. - Refresh pytest-8.patch. - Add patch support-astroid-3.3.patch: * Support astroid >= 3.3.0. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=161
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
From 8afd218a922b9b572c508ada228b7ed27a607014 Mon Sep 17 00:00:00 2001
|
|
From: Jacob Walls <jacobtylerwalls@gmail.com>
|
|
Date: Sun, 4 Aug 2024 11:46:21 -0400
|
|
Subject: [PATCH 2/4] Bump astroid to 3.3.0
|
|
|
|
---
|
|
pyproject.toml | 2 +-
|
|
requirements_test_min.txt | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
Index: pylint-3.2.6/pyproject.toml
|
|
===================================================================
|
|
--- pylint-3.2.6.orig/pyproject.toml
|
|
+++ pylint-3.2.6/pyproject.toml
|
|
@@ -41,7 +41,7 @@ dependencies = [
|
|
# Also upgrade requirements_test_min.txt.
|
|
# Pinned to dev of second minor update to allow editable installs and fix primer issues,
|
|
# see https://github.com/pylint-dev/astroid/issues/1341
|
|
- "astroid>=3.2.4,<=3.3.0-dev0",
|
|
+ "astroid>=3.3.0,<=3.4.0-dev0",
|
|
"isort>=4.2.5,<6,!=5.13.0",
|
|
"mccabe>=0.6,<0.8",
|
|
"tomli>=1.1.0;python_version<'3.11'",
|
|
Index: pylint-3.2.6/requirements_test_min.txt
|
|
===================================================================
|
|
--- pylint-3.2.6.orig/requirements_test_min.txt
|
|
+++ pylint-3.2.6/requirements_test_min.txt
|
|
@@ -1,6 +1,6 @@
|
|
.[testutils,spelling]
|
|
# astroid dependency is also defined in pyproject.toml
|
|
-astroid==3.2.4 # Pinned to a specific version for tests
|
|
+astroid==3.3.0 # Pinned to a specific version for tests
|
|
typing-extensions~=4.11
|
|
py~=1.11.0
|
|
pytest~=8.2
|