From nobody Thu Aug 15 11:54:32 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wl3Sn0L3jz5TTsW; Thu, 15 Aug 2024 11:54:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wl3Sm5XD0z3xhB; Thu, 15 Aug 2024 11:54:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723722872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8s0khXVzWkwkZnrCFpT6SfQw6TlHnlZIDsC6chysEsE=; b=rBxST+7DoB3iZnimVYNhtJfDtsxBRujNupU9qbfqn8nUxp+cp1XtJBpW/raaeL16+vzC9y N2WTtYarX+Hb8SRBpKAKNzU305Yrtln2I9jPVOKXoipXy8DCu6Md4ll60uhgc0CpjurXuC j537jZy3JK4yu8NKRLDiwyM3U9NZO8419EjHjJRKy8QXpz9BDO79ja6/qQzshWcvbpOmId wctp1WTl996GcPiSOMVYY+/nvIz8jHddKKQYeLcIC9EQsHsH027RaK4MCRibbHuYA0hx// f1F20ad5AfeNsl01YI4X75mjqMGaqMnz+8weKoMRNDOglFNH1BqIYvz55cIhXw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723722872; a=rsa-sha256; cv=none; b=j1iR3+TtMakKlYf3rCAP3ejOvcmjgrT6HKdieeeyH1qRLU7B1y48+j1K1Ab4BRdnSDydxp 7lCZx7GeHh2+d7f1oX2fB53qIhCUVXh6dHRKkTonRdv5N680iML/9zFCXtJrwnwD05frFW toiplXc2d1dZQbfA0BesM9I7VtDbK00wzofGmsw5aaXdFAICk6smPSlsVbb0vPdWrL2Qyh 2xSzaKeFGPAF3C86FkIrYaxuaQdM43fjsQPkhw1pGY6aPnovAdbRSR5OaRd+XBJ8nMTFHF QyuS9/NoWntAF7+/d97V5yM/gOTCQjb5GgaC0XbxyY2C6+Ux6Td4p/0L6fP7BA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723722872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8s0khXVzWkwkZnrCFpT6SfQw6TlHnlZIDsC6chysEsE=; b=T3Jem1OF9M2DBY2d4enLd4qH8guALnDnTfnoWX/sStxWciANIZrUFROu0sVxCtySfuWBFc aUODeqrI9cHDnRqbryIuqlk/1Oz3DcAWVBMg0ryhTSjXeBx/OFRSADZ2FnQ5pFynrZUDsh AlEBD+Y0Toa2D0e+JY1SFFHsFZ5VvySvGKIPT+ceQFTPJXRBbmlGcOzEEuv25/aOrU5Hsu GsocvcUaZt47anUymN3T/tvIc/8MVx19CWsBOaU0WUFNbMwwf4M8oeFtEG7lwealMwRfvU kU9AHmlDTPLc4Ookzu8X1BzsLhPWfswjHKOXMF7T2R68maIbrKDpvuJh9OgGHw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wl3Sm58bRzM1M; Thu, 15 Aug 2024 11:54:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47FBsWj6056626; Thu, 15 Aug 2024 11:54:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47FBsWa9056623; Thu, 15 Aug 2024 11:54:32 GMT (envelope-from git) Date: Thu, 15 Aug 2024 11:54:32 GMT Message-Id: <202408151154.47FBsWa9056623@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 513f7ea496b0 - main - devel/pylint: Allow build with py-astroid 3.3.1+ List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 513f7ea496b04bb298930a3f95225d6842acd928 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=513f7ea496b04bb298930a3f95225d6842acd928 commit 513f7ea496b04bb298930a3f95225d6842acd928 Author: Po-Chuan Hsieh AuthorDate: 2024-08-15 09:41:22 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-08-15 10:55:26 +0000 devel/pylint: Allow build with py-astroid 3.3.1+ - Bump PORTREVISION for package change Obtained from: https://github.com/pylint-dev/pylint/commit/466c671cbe5c4f23747b8684665cebefdf6d8fdf --- devel/pylint/Makefile | 3 ++- devel/pylint/files/patch-astroid | 58 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 1 deletion(-) diff --git a/devel/pylint/Makefile b/devel/pylint/Makefile index a2a2a94315f8..3b545b39b24c 100644 --- a/devel/pylint/Makefile +++ b/devel/pylint/Makefile @@ -1,5 +1,6 @@ PORTNAME= pylint PORTVERSION= 3.2.6 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} @@ -15,7 +16,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.2.4<3.3.0_99:devel/py-astroid@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astroid>=3.3.1<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} \ diff --git a/devel/pylint/files/patch-astroid b/devel/pylint/files/patch-astroid new file mode 100644 index 000000000000..59f1b58709de --- /dev/null +++ b/devel/pylint/files/patch-astroid @@ -0,0 +1,58 @@ +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"]}'