From nobody Mon May 06 19:12:08 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 4VY9yK0X3Kz5J6kb; Mon, 06 May 2024 19:12:09 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VY9yJ6d57z43c1; Mon, 6 May 2024 19:12:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715022728; 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=efkcOaZWasZJfhJEfjfHawp8vAdME5B9G2SfsVSncJ4=; b=J77RunYGgRGGKdQ9Fuklr8RMF5vLvBfq1KNqui4Qpw0RYpr5JNufDMIhx58hnHivKn01UM rAN+mJ2qHK6awhAxwzsl12haSmf4RAoPr3+GtM12ad5+eGpHnvwZN5WErI3JovwOY4FEhp rqwROTMAZJe2bIMPzVzdkv09wxu1xPlMHD12nMRjZBBTRYs/a+pfx+RoBlfUVWIqbxe+uy XFfzEvLKBZCK6CSAwiE9x2MV5SZEAI5RRFPv8nZncZxaAIPijlEcLSWMrHYktfZc6E2TJL 7H27A9/UPtB4/c7OgX4eKZA4eRust/P5TipkwXEJNfNwZGDW/3lko1Gm8l6Nig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715022728; a=rsa-sha256; cv=none; b=oG0WNjsBmVPAzVBHqXDgaQN+sI+4DgikKLYOnwwoDkG81h5VKsPJIR8EWl+GsiEOj9/DNY AQeim7R0/VljD7at1kbOQQkI8Y/TcsAFoYY8Y9Y9RWvjz/4+3TBvhggQL9TthtPeincLjh rIIdkeaXxc9UtNKhH5vpEmanDV/0p7+tJRbHBgnfUw5GwhOXKiRMWn1eHy3knyYrl1mLCu AH9AOqAzb/qItGn90/O/W8uAtSru5j5Qpc0iMpKaAqdizCvFOwENpPqJ/nl+ZjotSr0CWB 16Xcr/yv+cL57P/wtnZKGoyFNRTSomW02OLJwdtnpmc3zuHUVVuW2yvQLU+Ndg== 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=1715022728; 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=efkcOaZWasZJfhJEfjfHawp8vAdME5B9G2SfsVSncJ4=; b=F+4xo83Vm2DGjvXlpd8GhGHMwPWuW15WxP85lUSUlixrTiE6uJOoSJi1tua4ZlBnLukzKB yXvcI1P1Cl/Mk31kyBMdyCSObns6OTkJDcG46GQtTgGMka4MTtB/BahGWkTKL8Gf8cV4eL ZySTqWL7MnoqhygmKz0s6TajpukrfOs3cjmJU4MGlEeFgcwz8PT5Ka2PBvNS45R9aDFbKk e/G+HnYgt4SBp5L7ewwXq8aoLwpkbDJTqD8Fg6q4ti/7UmCwR7FA3n0n+yIqYcDoyXsGnU Gn2CLMA3bzeELL2Ez/s1mDS5BBDHYZy8jnZJWQiZVu7oNcMR3k2OvmlNf3St1A== 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 4VY9yJ615Gz18fK; Mon, 6 May 2024 19:12:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 446JC8et027612; Mon, 6 May 2024 19:12:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 446JC8Uc027609; Mon, 6 May 2024 19:12:08 GMT (envelope-from git) Date: Mon, 6 May 2024 19:12:08 GMT Message-Id: <202405061912.446JC8Uc027609@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: ac33312f730a - main - databases/py-snowflake-connector-python: Update to 3.8.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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ac33312f730a8bdba8dbb578bf5d0299bd85f009 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=ac33312f730a8bdba8dbb578bf5d0299bd85f009 commit ac33312f730a8bdba8dbb578bf5d0299bd85f009 Author: Pat Maddox AuthorDate: 2024-01-19 09:46:27 +0000 Commit: Robert Clausecker CommitDate: 2024-05-06 19:11:25 +0000 databases/py-snowflake-connector-python: Update to 3.8.0 Changelog: https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.8.0 PR: 276455 --- databases/py-snowflake-connector-python/Makefile | 4 +--- databases/py-snowflake-connector-python/distinfo | 6 +++--- .../py-snowflake-connector-python/files/patch-setup.cfg | 13 ------------- ...nnector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c | 12 ++++++------ ...nnector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.h | 16 ++++++++-------- 5 files changed, 18 insertions(+), 33 deletions(-) diff --git a/databases/py-snowflake-connector-python/Makefile b/databases/py-snowflake-connector-python/Makefile index 915908ea09d5..6177cd438e74 100644 --- a/databases/py-snowflake-connector-python/Makefile +++ b/databases/py-snowflake-connector-python/Makefile @@ -1,6 +1,5 @@ PORTNAME= snowflake-connector-python -PORTVERSION= 3.5.0 -PORTREVISION= 1 +DISTVERSION= 3.8.0 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -22,7 +21,6 @@ USE_PYTHON= autoplist concurrent distutils PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>0.24.0,<2.0.0:devel/py-asn1crypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cffi>=1.9,<2:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>=3.1.0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}oscrypto<2.0:security/py-oscrypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=16.2.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyjwt<3.0:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ diff --git a/databases/py-snowflake-connector-python/distinfo b/databases/py-snowflake-connector-python/distinfo index 7ef6b3e3b074..9cc22707e696 100644 --- a/databases/py-snowflake-connector-python/distinfo +++ b/databases/py-snowflake-connector-python/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1701367506 -SHA256 (snowflake-connector-python-3.5.0.tar.gz) = 654e4a1f68a491544bd8f7c5ab02eb8531df67c5f4309d5253bd204044f8a1b3 -SIZE (snowflake-connector-python-3.5.0.tar.gz) = 702274 +TIMESTAMP = 1712271603 +SHA256 (snowflake-connector-python-3.8.0.tar.gz) = b5b5e85d02b4348a1f2d6c67df4829aa3387967b0133d2b7fa31d190d0609c31 +SIZE (snowflake-connector-python-3.8.0.tar.gz) = 733956 diff --git a/databases/py-snowflake-connector-python/files/patch-setup.cfg b/databases/py-snowflake-connector-python/files/patch-setup.cfg deleted file mode 100644 index bb597af1f64a..000000000000 --- a/databases/py-snowflake-connector-python/files/patch-setup.cfg +++ /dev/null @@ -1,13 +0,0 @@ -Obtained from: https://github.com/snowflakedb/snowflake-connector-python/commit/1718a94804e1c737c2f7d7e52d6aafcd8ae3c506 - ---- setup.cfg.orig 2023-11-13 17:55:47 UTC -+++ setup.cfg -@@ -58,7 +58,7 @@ install_requires = - typing_extensions>=4.3,<5 - filelock>=3.5,<4 - sortedcontainers>=2.4.0 -- platformdirs>=2.6.0,<4.0.0 -+ platformdirs>=2.6.0,<5.0.0 - tomlkit - include_package_data = True - package_dir = diff --git a/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c b/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c index 46bb0a440466..ba9bbadf843f 100644 --- a/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c +++ b/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c @@ -1,6 +1,6 @@ ---- src/snowflake/connector/nanoarrow_cpp/ArrowIterator/nanoarrow_ipc.c.orig 2023-11-30 19:17:00 UTC +--- src/snowflake/connector/nanoarrow_cpp/ArrowIterator/nanoarrow_ipc.c.orig 2024-04-04 23:04:16 UTC +++ src/snowflake/connector/nanoarrow_cpp/ArrowIterator/nanoarrow_ipc.c -@@ -21239,7 +21239,7 @@ static inline int ArrowIpcDecoderReadHeaderPrefix(stru +@@ -32030,7 +32030,7 @@ static inline int ArrowIpcDecoderReadHeaderPrefix( if (header_body_size_bytes == 0) { ArrowErrorSet(error, "End of Arrow stream"); @@ -9,16 +9,16 @@ } return NANOARROW_OK; -@@ -22194,7 +22194,7 @@ static int ArrowIpcArrayStreamReaderNextHeader( - // is one of the valid outcomes) but we set the error anyway in case it gets - // propagated higher (e.g., if the stream is empty and there's no schema message) +@@ -33015,7 +33015,7 @@ static int ArrowIpcArrayStreamReaderNextHeader( + // it gets propagated higher (e.g., if the stream is empty and there's no + // schema message) ArrowErrorSet(&private_data->error, "No data available on stream"); - return ENODATA; + return ENOATTR; } else if (bytes_read != 8) { ArrowErrorSet(&private_data->error, "Expected at least 8 bytes in remainder of stream"); -@@ -22338,7 +22338,7 @@ static int ArrowIpcArrayStreamReaderGetNext(struct Arr +@@ -33167,7 +33167,7 @@ static int ArrowIpcArrayStreamReaderGetNext(struct Arr // Read + decode the next header int result = ArrowIpcArrayStreamReaderNextHeader( private_data, NANOARROW_IPC_MESSAGE_TYPE_RECORD_BATCH); diff --git a/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.h b/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.h index cf93c5d9c978..3a6e10bb4d04 100644 --- a/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.h +++ b/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.h @@ -1,11 +1,11 @@ ---- src/snowflake/connector/nanoarrow_cpp/ArrowIterator/nanoarrow_ipc.h.orig 2023-11-30 19:16:47 UTC +--- src/snowflake/connector/nanoarrow_cpp/ArrowIterator/nanoarrow_ipc.h.orig 2024-04-04 23:04:09 UTC +++ src/snowflake/connector/nanoarrow_cpp/ArrowIterator/nanoarrow_ipc.h -@@ -193,7 +193,7 @@ void ArrowIpcDecoderReset(struct ArrowIpcDecoder* deco - /// The first 8 bytes of an Arrow IPC message are 0xFFFFFF followed by the size - /// of the header as a little-endian 32-bit integer. ArrowIpcDecoderPeekHeader() reads - /// these bytes and returns ESPIPE if there are not enough remaining bytes in data to read --/// the entire header message, EINVAL if the first 8 bytes are not valid, ENODATA if the -+/// the entire header message, EINVAL if the first 8 bytes are not valid, ENOATTR if the - /// Arrow end-of-stream indicator has been reached, or NANOARROW_OK otherwise. +@@ -198,7 +198,7 @@ void ArrowIpcDecoderReset(struct ArrowIpcDecoder* deco + /// of the header as a little-endian 32-bit integer. ArrowIpcDecoderPeekHeader() + /// reads these bytes and returns ESPIPE if there are not enough remaining bytes + /// in data to read the entire header message, EINVAL if the first 8 bytes are +-/// not valid, ENODATA if the Arrow end-of-stream indicator has been reached, or ++/// not valid, ENOATTR if the Arrow end-of-stream indicator has been reached, or + /// NANOARROW_OK otherwise. ArrowErrorCode ArrowIpcDecoderPeekHeader(struct ArrowIpcDecoder* decoder, struct ArrowBufferView data,