git: 2dbbca780307 - main - devel/pylint: Update to 3.3.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Sep 2024 13:41:28 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2dbbca78030789ef1e3830a046d59629c7a8ea56

commit 2dbbca78030789ef1e3830a046d59629c7a8ea56
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-30 13:01:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-30 13:36:24 +0000

    devel/pylint: Update to 3.3.1
    
    Changes:        https://github.com/pylint-dev/pylint/releases
                    https://pylint.readthedocs.io/en/latest/whatsnew/3/
---
 devel/pylint/Makefile            |  6 ++---
 devel/pylint/distinfo            |  6 ++---
 devel/pylint/files/patch-astroid | 58 ----------------------------------------
 3 files changed, 6 insertions(+), 64 deletions(-)

diff --git a/devel/pylint/Makefile b/devel/pylint/Makefile
index b2d0f30bf4c3..332d2829259f 100644
--- a/devel/pylint/Makefile
+++ b/devel/pylint/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pylint
-PORTVERSION=	3.2.7
+PORTVERSION=	3.3.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMESUFFIX=	${PYTHON_PKGNAMESUFFIX}
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=62.6:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0.37.1:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=3.3.1<3.4.0:devel/py-astroid@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=3.3.4<3.4.0:devel/py-astroid@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dill>=0.3.7:devel/py-dill@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}isort>=4.2.5<6:devel/py-isort@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mccabe>=0.6<0.8:devel/py-mccabe@${PY_FLAVOR} \
@@ -24,7 +24,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=3.3.1<3.4.0:devel/py-astroid@${PY_F
 		${PYTHON_PKGNAMEPREFIX}tomlkit>=0.10.1:textproc/py-tomlkit@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.9+
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
diff --git a/devel/pylint/distinfo b/devel/pylint/distinfo
index 925514dba438..b7b0c2848fe8 100644
--- a/devel/pylint/distinfo
+++ b/devel/pylint/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1725559567
-SHA256 (pylint-3.2.7.tar.gz) = 1b7a721b575eaeaa7d39db076b6e7743c993ea44f57979127c517c6c572c803e
-SIZE (pylint-3.2.7.tar.gz) = 1511922
+TIMESTAMP = 1727314506
+SHA256 (pylint-3.3.1.tar.gz) = 9f3dcc87b1203e612b78d91a896407787e708b3f189b5fa0b307712d49ff0c6e
+SIZE (pylint-3.3.1.tar.gz) = 1516703
diff --git a/devel/pylint/files/patch-astroid b/devel/pylint/files/patch-astroid
deleted file mode 100644
index 59f1b58709de..000000000000
--- a/devel/pylint/files/patch-astroid
+++ /dev/null
@@ -1,58 +0,0 @@
-Obtained from:	https://github.com/pylint-dev/pylint/commit/466c671cbe5c4f23747b8684665cebefdf6d8fdf
-
---- pyproject.toml.orig	2024-07-21 19:48:19 UTC
-+++ 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.1,<=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'",
---- README.rst.orig	2024-07-21 19:48:19 UTC
-+++ README.rst
-@@ -135,7 +135,7 @@ isort_ (auto-formatting), autoflake_ (automated remova
- isort_ (auto-formatting), autoflake_ (automated removal of unused imports or variables), pyupgrade_
- (automated upgrade to newer python syntax) and pydocstringformatter_ (automated pep257).
- 
--.. _ruff: https://github.com/charliermarsh/ruff
-+.. _ruff: https://github.com/astral-sh/ruff
- .. _flake8: https://github.com/PyCQA/flake8
- .. _bandit: https://github.com/PyCQA/bandit
- .. _mypy: https://github.com/python/mypy
---- requirements_test_min.txt.orig	2024-07-21 19:48:19 UTC
-+++ 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.1  # Pinned to a specific version for tests
- typing-extensions~=4.11
- py~=1.11.0
- pytest~=7.4
---- tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312_311.py.orig	2024-07-21 19:48:19 UTC
-+++ tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312_311.py
-@@ -2,4 +2,4 @@ dictionary = {'0': 0}
- 
- dictionary = {'0': 0}
- # quotes are consistent when targetting 3.11 and earlier (cannot use single quotes here)
--f_string = f'{dictionary["0"]}'
-+F_STRING = f'{dictionary["0"]}'
---- tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312.py.orig	2024-07-21 19:48:19 UTC
-+++ tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312.py
-@@ -2,4 +2,4 @@ dictionary = {'0': 0}
- 
- dictionary = {'0': 0}
- # quotes are inconsistent when targetting Python 3.12 (use single quotes)
--f_string = f'{dictionary["0"]}'  # [inconsistent-quotes]
-+F_STRING = f'{dictionary["0"]}'  # [inconsistent-quotes]
---- tests/functional/i/inconsistent/inconsistent_quotes_fstring.py.orig	2024-07-21 19:48:19 UTC
-+++ tests/functional/i/inconsistent/inconsistent_quotes_fstring.py
-@@ -1,4 +1,4 @@ dictionary = {'0': 0}
- # pylint: disable=missing-module-docstring
- 
- dictionary = {'0': 0}
--f_string = f'{dictionary["0"]}'
-+F_STRING = f'{dictionary["0"]}'