Received: by mail.netbsd.org (Postfix, from userid 605) id 6C1CC84D7B; Sat, 16 May 2020 13:56:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DF7C884D59 for ; Sat, 16 May 2020 13:56:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id hH9ldt6PHHye for ; Sat, 16 May 2020 13:56:48 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id F2A9C84D20 for ; Sat, 16 May 2020 13:56:47 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E5AFBFB27; Sat, 16 May 2020 13:56:47 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1589637407255030" MIME-Version: 1.0 Date: Sat, 16 May 2020 13:56:47 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-dogpile-cache To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20200516135647.E5AFBFB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1589637407255030 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: adam Date: Sat May 16 13:56:47 UTC 2020 Modified Files: pkgsrc/devel/py-dogpile-cache: Makefile distinfo Log Message: py-dogpile-cache: updated to 0.9.2 0.9.2: [bug] [installation] Ensured that the “pyproject.toml” file is not included in builds, as the presence of this file indicates to pip that a pep-517 installation process should be used. As this mode of operation appears to be not well supported by current tools / distros, these problems are avoided within the scope of dogpile.cache installation by omitting the file. 0.9.1: [bug] [tests] Added decorator module as a required testing dependency to tox.ini so that tests work when this is not pre-installed. [bug] [redis] Added option to the Redis backend RedisBackend.thread_local_lock, which when set to False will disable the use of a threading local by the redis module in its distributed lock service, which is known to interfere with the lock’s behavior when used in an “async” use case, within dogpile this would be when using the CacheRegion.async_creation_runner feature. The default is conservatively being left at True, but it’s likely this should be set to False in all cases, so a warning is emitted if this flag is not set to False in conjunction with the distributed lock. Added an optional argument to RedisBackend that specifies whether or not a thread-local Redis lock should be used. This is the default, but it breaks asynchronous runner compatibility. 0.9.0: [feature] Added logging facililities into CacheRegion, to indicate key events such as cache keys missing or regeneration of values. As these can be very high volume log messages, logging.DEBUG is used as the log level for the events. Pull request courtesy Stéphane Brunner. 0.8.0: [bug] [setup] Removed the “python setup.py test” feature in favor of a straight run of “tox”. Per Pypa / pytest developers, “setup.py” commands are in general headed towards deprecation in favor of tox. The tox.ini script has been updated such that running “tox” with no arguments will perform a single run of the test suite against the default installed Python interpreter. [bug] [py3k] Replaced the Python compatbility routines for getfullargspec() with a fully vendored version from Python 3.3. Originally, Python was emitting deprecation warnings for this function in Python 3.8 alphas. While this change was reverted, it was observed that Python 3 implementations for getfullargspec() are an order of magnitude slower as of the 3.4 series where it was rewritten against Signature. While Python plans to improve upon this situation, SQLAlchemy projects for now are using a simple replacement to avoid any future issues. [bug] [installation] Pinned minimum version of Python decorator module at 4.0.0 (July, 2015) as previous versions don’t provide the API that dogpile is using. [bug] [py3k] Fixed the sha1_mangle_key() key mangler to coerce incoming Unicode objects into bytes as is required by the Py3k version of this function. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-dogpile-cache/Makefile \ pkgsrc/devel/py-dogpile-cache/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1589637407255030 Content-Disposition: inline Content-Length: 2351 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-dogpile-cache/Makefile diff -u pkgsrc/devel/py-dogpile-cache/Makefile:1.4 pkgsrc/devel/py-dogpile-cache/Makefile:1.5 --- pkgsrc/devel/py-dogpile-cache/Makefile:1.4 Tue Dec 18 11:24:45 2018 +++ pkgsrc/devel/py-dogpile-cache/Makefile Sat May 16 13:56:47 2020 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2018/12/18 11:24:45 adam Exp $ +# $NetBSD: Makefile,v 1.5 2020/05/16 13:56:47 adam Exp $ -DISTNAME= dogpile.cache-0.7.1 +DISTNAME= dogpile.cache-0.9.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/./-/} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=d/dogpile.cache/} @@ -13,10 +13,12 @@ LICENSE= modified-bsd DEPENDS+= ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator TEST_DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock -TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov +TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner USE_LANGUAGES= # none +PYSETUPTESTTARGET= pytest + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-dogpile-cache/distinfo diff -u pkgsrc/devel/py-dogpile-cache/distinfo:1.4 pkgsrc/devel/py-dogpile-cache/distinfo:1.5 --- pkgsrc/devel/py-dogpile-cache/distinfo:1.4 Tue Dec 18 11:24:45 2018 +++ pkgsrc/devel/py-dogpile-cache/distinfo Sat May 16 13:56:47 2020 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2018/12/18 11:24:45 adam Exp $ +$NetBSD: distinfo,v 1.5 2020/05/16 13:56:47 adam Exp $ -SHA1 (dogpile.cache-0.7.1.tar.gz) = cdd519726d91b9f663f8da0594ee847209c525a0 -RMD160 (dogpile.cache-0.7.1.tar.gz) = 89ef16eee45fc8d9b61470ed7ce6732e601515a2 -SHA512 (dogpile.cache-0.7.1.tar.gz) = 39c0a1d3d5027bc61cc69eda46c846c72d09892b2de0ea2e9545b1f710911dce8726b4ee4a0daef0d3c409a16733920d437f6e833a5b3f55ccc80267bb0da39c -Size (dogpile.cache-0.7.1.tar.gz) = 326127 bytes +SHA1 (dogpile.cache-0.9.2.tar.gz) = 2807057a48080651ef7010d8b71d8d717bbdbf0f +RMD160 (dogpile.cache-0.9.2.tar.gz) = af688c82d59972279974d4ab11f528f2fa2df474 +SHA512 (dogpile.cache-0.9.2.tar.gz) = e54b29b5f868ddb7d2cddae37033fd568e5d5b8305c76837a53a4252a4e45c5179ed9e5e3694f5b826ad57d87cb3b04a20f872952758dbf9139859dc4bde53f4 +Size (dogpile.cache-0.9.2.tar.gz) = 329503 bytes --_----------=_1589637407255030--