Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2026 11:19:15 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: feb06b2fbe0a - main - devel/pylint: Allow build with py-astroid 4.1.1+
Message-ID:  <69f5ddb3.30e7f.6dfa5f83@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit feb06b2fbe0accb2b356bc2717ef9698f4f792a1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-02 11:13:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-02 11:13:30 +0000

    devel/pylint: Allow build with py-astroid 4.1.1+
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/pylint-dev/pylint/commit/40817ce1a1b62a41486d81eff5b2db3bd9c23755
                    https://github.com/pylint-dev/pylint/commit/074153dfd44821c22127c73ef10ab7dcdb5971a4
---
 devel/pylint/Makefile                   |  3 ++-
 devel/pylint/files/patch-pyproject.toml | 14 +++++++++++++-
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/devel/pylint/Makefile b/devel/pylint/Makefile
index 993d76f33d6e..acbb75d1d48b 100644
--- a/devel/pylint/Makefile
+++ b/devel/pylint/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pylint
 PORTVERSION=	4.0.5
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI \
 		https://github.com/pylint-dev/pylint/releases/download/v${PORTVERSION}/
@@ -16,7 +17,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>=4.0.2<4.1_99:devel/py-astroid@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=4.1.1<4.2.0_99:devel/py-astroid@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dill>=0.3.7:devel/py-dill@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}isort>=5<9:devel/py-isort@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mccabe>=0.6<0.8:devel/py-mccabe@${PY_FLAVOR} \
diff --git a/devel/pylint/files/patch-pyproject.toml b/devel/pylint/files/patch-pyproject.toml
index d2826b97b284..5d0748b1ae8c 100644
--- a/devel/pylint/files/patch-pyproject.toml
+++ b/devel/pylint/files/patch-pyproject.toml
@@ -1,4 +1,7 @@
---- pyproject.toml.orig	2025-05-04 17:07:20 UTC
+Obtained from:	https://github.com/pylint-dev/pylint/commit/40817ce1a1b62a41486d81eff5b2db3bd9c23755
+		https://github.com/pylint-dev/pylint/commit/074153dfd44821c22127c73ef10ab7dcdb5971a4
+
+--- pyproject.toml.orig	2026-02-20 09:06:52 UTC
 +++ pyproject.toml
 @@ -1,15 +1,15 @@ build-backend = "setuptools.build_meta"
  [build-system]
@@ -19,3 +22,12 @@
  authors = [
    { name = "Python Code Quality Authority", email = "code-quality@python.org" },
  ]
+@@ -40,7 +40,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>=4.0.2,<=4.1.dev0",
++  "astroid>=4.1.1,<=4.2.0b1",
+   "colorama>=0.4.5; sys_platform=='win32'",
+   "dill>=0.2; python_version<'3.11'",
+   "dill>=0.3.6; python_version>='3.11'",


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f5ddb3.30e7f.6dfa5f83>