From nobody Sat Nov 30 20:34:18 2024 X-Original-To: dev-commits-ports-main@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 4Y11x66rRxz5fcXs; Sat, 30 Nov 2024 20:34:18 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y11x668K4z4Whc; Sat, 30 Nov 2024 20:34:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732998858; 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=GlkJKHqMKeYbwo28PCc9A63W4n56b7ysVzl+A8cGrWA=; b=CYL1+rIEVf58C7Uw5NWgIXXEpLh+h+vhC8PuTadL3jG5soYkovclHRwz1C2SPnvhjPSS1O socHzXFz1lLEATTjXzqLw33JWg1wZO+Q7/wtea0uvjRqMo6bxurVnzBMS/ssPbeEA3hcs6 qCiD5r0UHQo/oqt9okOCfsJVPAedPEwx7nkVTH3Msw64uR9Cj3vWsDnxgDUJ+5XrYeVyJj 7cxg/iiweSSt+42ZDdgBDv6Jbavk4Hy95QosrAhuvJm0bJhL8kmxPNec5kTjcd2bpucWjt wBWXb6lHTo0tyXoHjwA6xRzanWYPtCmAqT0erOgvb6VI58DjJcHqjOsJr3XNTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732998858; 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=GlkJKHqMKeYbwo28PCc9A63W4n56b7ysVzl+A8cGrWA=; b=uGtBYfyQjs29+qIyQtHFxRoFHb4oX00oJinr5FVWBtxGaemVbSll0gtMO+F+BJcSJSUqAp j4Nc0qwA6ZU/eqaQmzha/v+q+i/T5+JB4J96jTG+s7YzcrfC05KCxVu04pIz2o44tSU3CD 1cchHbv4q7GL03L4y5JV2bjhL+Ieiacon7JNSGXQ5oE5kssMU6OLX57//HJCu4vKHfaA4Z zsC1t3YiY1fkizCgcgnZCKB6kUpz3icyhumgZWwVpyYF1ZOOrpuMA5m7xKKpDWshrZ9Q+R 0UEIITpAp0h0yYlFuIMrPVyULnAw82rqoaBZU3ITFA8Qka+6lXGQbX08sRUgrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732998858; a=rsa-sha256; cv=none; b=L8W+PIcigJV2EE4Qa3qknECAkx3dAJpQiF8jJtgKPhvhdQjKl7YGoKTggzHBm3te+GEv7x /nJcrfNyF76bdhsCdg8/UG2UNzlNFEewtIcIQaW2h242tNM1Ajwn4hEP7DgYywwuwTalRX HmwuXBPSm2yM/3X8KfqL3BvPQoQGB3gdWLbvsMeLebqBEGmWprHATOewx8Qwsi0tWi/wMU t3EHTeAoSZi6dooyaKdRGrQsJ9e+1M/8FhghT9ubowYkDbMtnzvQcPVlgwt93civ3AbITO wFYdHhByS6ZcN9iFem1w0zWmoAiKof03KUzh2+VzxQXClnGFzLgZmplYWAKIMg== 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 4Y11x65RkszNhl; Sat, 30 Nov 2024 20:34:18 +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 4AUKYIWf064500; Sat, 30 Nov 2024 20:34:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AUKYIxu064497; Sat, 30 Nov 2024 20:34:18 GMT (envelope-from git) Date: Sat, 30 Nov 2024 20:34:18 GMT Message-Id: <202411302034.4AUKYIxu064497@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Zsolt Udvari Subject: git: 6c66c743c040 - main - devel/py-python-gitlab: Update to 5.1.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: uzsolt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6c66c743c040a1d89003c6b968e5f74d5fb9ff6e Auto-Submitted: auto-generated The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c66c743c040a1d89003c6b968e5f74d5fb9ff6e commit 6c66c743c040a1d89003c6b968e5f74d5fb9ff6e Author: Derek Schrock AuthorDate: 2024-11-30 20:30:39 +0000 Commit: Zsolt Udvari CommitDate: 2024-11-30 20:34:06 +0000 devel/py-python-gitlab: Update to 5.1.0 Add GRAPHQL to default option and remove GRAPHQL_BROKEN. Use DISTNAME= instead of ?=. Patch CHANGELOG.md to better format. Changelog: https://github.com/python-gitlab/python-gitlab/releases/tag/v5.1.0 PR: 283033 Approved by: submitter is maintainer --- devel/py-python-gitlab/Makefile | 9 +++--- devel/py-python-gitlab/distinfo | 6 ++-- devel/py-python-gitlab/files/patch-CHANGELOG.md | 32 ++++++++++++++++++++++ .../files/patch-tests_unit_test__graphql.py | 11 -------- 4 files changed, 40 insertions(+), 18 deletions(-) diff --git a/devel/py-python-gitlab/Makefile b/devel/py-python-gitlab/Makefile index bc0e5be6b1dd..63d4a740a548 100644 --- a/devel/py-python-gitlab/Makefile +++ b/devel/py-python-gitlab/Makefile @@ -1,9 +1,9 @@ PORTNAME= python-gitlab -DISTVERSION= 5.0.0 +DISTVERSION= 5.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME?= ${PORTNAME:S/-/_/}-${DISTVERSIONFULL} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSIONFULL} MAINTAINER= dereks@lifeofadishwasher.com COMMENT= Interact with GitLab API @@ -27,7 +27,7 @@ NO_ARCH= yes SUB_FILES= pkg-message OPTIONS_DEFINE= AUTOCOMPLETE DOCS GRAPHQL YAML -OPTIONS_DEFAULT= AUTOCOMPLETE YAML +OPTIONS_DEFAULT= AUTOCOMPLETE GRAPHQL YAML AUTOCOMPLETE_DESC= Autocompletion via argcomplete GRAPHQL_DESC= GraphQL support @@ -44,10 +44,11 @@ DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-autoprogram>0:textproc/py-sphinxcontrib-autoprogram@${PY_FLAVOR} DOCS_PORTDOCS= * -GRAPHQL_BROKEN= GRAPHQL GRAPHQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gql>=3.5<4:devel/py-gql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR} +GRAPHQL_TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}respx>0:www/py-respx@${PY_FLAVOR} + YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.2:devel/py-pyyaml@${PY_FLAVOR} post-patch: diff --git a/devel/py-python-gitlab/distinfo b/devel/py-python-gitlab/distinfo index 0230ee5d1016..a42fc7e341c0 100644 --- a/devel/py-python-gitlab/distinfo +++ b/devel/py-python-gitlab/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1730466683 -SHA256 (python_gitlab-5.0.0.tar.gz) = d156b9810d2a5c2916226cecf354956286a9e8133ee707d6584e40f126329956 -SIZE (python_gitlab-5.0.0.tar.gz) = 486119 +TIMESTAMP = 1732841331 +SHA256 (python_gitlab-5.1.0.tar.gz) = d5a10dae8328f32fb9214bd3f9dc199b4930cd496f81c9be42a0f8ff338aeb35 +SIZE (python_gitlab-5.1.0.tar.gz) = 384162 diff --git a/devel/py-python-gitlab/files/patch-CHANGELOG.md b/devel/py-python-gitlab/files/patch-CHANGELOG.md new file mode 100644 index 000000000000..cf22efe932bf --- /dev/null +++ b/devel/py-python-gitlab/files/patch-CHANGELOG.md @@ -0,0 +1,32 @@ +--- CHANGELOG.md.orig 2024-11-29 01:52:15 UTC ++++ CHANGELOG.md +@@ -7596,7 +7596,12 @@ - **readme**: Fix Docker image reference + - **readme**: Fix Docker image reference + ([`b9a40d8`](https://github.com/python-gitlab/python-gitlab/commit/b9a40d822bcff630a4c92c395c134f8c002ed1cb)) + +-v1.8.0 is not available. ``` Unable to find image ++ v1.8.0 is not available. ++ ``` ++ Unable to find image 'registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0' locally ++ docker: Error response from daemon: manifest for registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0 not found: manifest unknown: manifest unknown. ++ ``` ++ + 'registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0' locally docker: Error response from + daemon: manifest for registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0 not found: manifest + unknown: manifest unknown. ``` +@@ -7928,9 +7933,12 @@ The integration tests failed because a test called 'de + GitLabException class handles byte-to-string conversion already in its __init__. This commit + removes the call to 'decode()' in the test. + +-``` Traceback (most recent call last): File "./tools/python_test_v4.py", line 801, in +- assert 'Retry later' in error_message.decode() AttributeError: 'str' object has no attribute +- 'decode' ``` ++ ``` ++ Traceback (most recent call last): ++ File "./tools/python_test_v4.py", line 801, in ++ assert 'Retry later' in error_message.decode() ++ AttributeError: 'str' object has no attribute 'decode' ++ ``` + + - Handle empty 'Retry-After' header from GitLab + ([`7a3724f`](https://github.com/python-gitlab/python-gitlab/commit/7a3724f3fca93b4f55aed5132cf46d3718c4f594)) diff --git a/devel/py-python-gitlab/files/patch-tests_unit_test__graphql.py b/devel/py-python-gitlab/files/patch-tests_unit_test__graphql.py deleted file mode 100644 index 8a945f152b50..000000000000 --- a/devel/py-python-gitlab/files/patch-tests_unit_test__graphql.py +++ /dev/null @@ -1,11 +0,0 @@ ---- tests/unit/test_graphql.py.orig 2024-09-15 19:09:56 UTC -+++ tests/unit/test_graphql.py -@@ -1,5 +1,7 @@ --import httpx - import pytest -+ -+pytest.skip(reason="gql is missing from ports", allow_module_level=True) -+import httpx - import respx - - import gitlab