pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/py-kazoo



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb  8 10:15:25 UTC 2024

Modified Files:
        pkgsrc/sysutils/py-kazoo: Makefile PLIST distinfo

Log Message:
py-kazoo: updated to 2.10.0

2.10.0  (2024-01-28)

Features

* **ci:**  remove `codecov` step from `tox` since performed in GA
* **testing:**
 *  add test for Windows platform
 *  add more logging during test suite

Test

*   update tested ZK versions
*   remove Python 3.7, add Python 3.11 and Python 3.12
*   bump pypy to latest available
*   add SSL test
*   Don't throw when test fail while cluster is down

Doc

*   Include type hints in docs
*   Use `.readthedocs.yaml` to configure the build
*   there are more than 50 contributors now
*   Replace build badge from Travis to Actions

Chore

*   add mypy to the build
*   migrate to tox 4.x
*   Integrate flake8 & black in gh actions
*   bump pyflake, fix new warnings
*   add black dependencies to the build
*   backport changes from release/2.9
* **deps:**
 *  bump actions/cache from 3 to 4
 *  bump actions/setup-java from 3 to 4
 *  bump actions/setup-python from 4 to 5
 *  bump actions/checkout from 3 to 4
 *  bump actions/setup-python from 2 to 4
 *  bump actions/cache from 2 to 3
 *  bump codecov/codecov-action from 2 to 3
 *  bump actions/checkout from 2 to 3
* **packaging:**  Remove redundant wheel dep from pyproject.toml

Refactor

*   no need to specify `mock`
*   delete back of travis config
*   remove unecessary import guard for gevent.lock
*   remove string interpolation in favour of exception chaining
*   remove backport of 'atexit.unregister'
*   Replace usage of six for their py3 implementations

Bug Fixes

* **core:**  no need to alway perform an `os.stat(fd)`
* **exceptions:**  Register exception for server-side QUOTAEXCEEDED(-125)
* **testing:**
 *  cleanup ZK cluster between test cases
 *  add `.coveragerc`
* **tests:**  `test_read_only` is not flaky anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/sysutils/py-kazoo/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/py-kazoo/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/py-kazoo/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/py-kazoo/Makefile
diff -u pkgsrc/sysutils/py-kazoo/Makefile:1.11 pkgsrc/sysutils/py-kazoo/Makefile:1.12
--- pkgsrc/sysutils/py-kazoo/Makefile:1.11      Sun Apr 30 15:50:01 2023
+++ pkgsrc/sysutils/py-kazoo/Makefile   Thu Feb  8 10:15:24 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2023/04/30 15:50:01 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2024/02/08 10:15:24 adam Exp $
 
-DISTNAME=      kazoo-2.6.1
+DISTNAME=      kazoo-2.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=k/kazoo/}
 
@@ -11,15 +10,16 @@ HOMEPAGE=   https://kazoo.readthedocs.org/
 COMMENT=       Higher level Zookeeper client
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
-TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
-TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=46.4.0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+# TODO:
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-pyjks
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/py-kazoo/PLIST
diff -u pkgsrc/sysutils/py-kazoo/PLIST:1.3 pkgsrc/sysutils/py-kazoo/PLIST:1.4
--- pkgsrc/sysutils/py-kazoo/PLIST:1.3  Mon May 27 15:20:45 2019
+++ pkgsrc/sysutils/py-kazoo/PLIST      Thu Feb  8 10:15:24 2024
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2019/05/27 15:20:45 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2024/02/08 10:15:24 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/kazoo/__init__.py
 ${PYSITELIB}/kazoo/__init__.pyc
 ${PYSITELIB}/kazoo/__init__.pyo
@@ -53,9 +52,6 @@ ${PYSITELIB}/kazoo/protocol/serializatio
 ${PYSITELIB}/kazoo/protocol/states.py
 ${PYSITELIB}/kazoo/protocol/states.pyc
 ${PYSITELIB}/kazoo/protocol/states.pyo
-${PYSITELIB}/kazoo/python2atexit.py
-${PYSITELIB}/kazoo/python2atexit.pyc
-${PYSITELIB}/kazoo/python2atexit.pyo
 ${PYSITELIB}/kazoo/recipe/__init__.py
 ${PYSITELIB}/kazoo/recipe/__init__.pyc
 ${PYSITELIB}/kazoo/recipe/__init__.pyo
@@ -107,6 +103,9 @@ ${PYSITELIB}/kazoo/testing/harness.pyo
 ${PYSITELIB}/kazoo/tests/__init__.py
 ${PYSITELIB}/kazoo/tests/__init__.pyc
 ${PYSITELIB}/kazoo/tests/__init__.pyo
+${PYSITELIB}/kazoo/tests/conftest.py
+${PYSITELIB}/kazoo/tests/conftest.pyc
+${PYSITELIB}/kazoo/tests/conftest.pyo
 ${PYSITELIB}/kazoo/tests/test_barrier.py
 ${PYSITELIB}/kazoo/tests/test_barrier.pyc
 ${PYSITELIB}/kazoo/tests/test_barrier.pyo
@@ -164,9 +163,15 @@ ${PYSITELIB}/kazoo/tests/test_queue.pyo
 ${PYSITELIB}/kazoo/tests/test_retry.py
 ${PYSITELIB}/kazoo/tests/test_retry.pyc
 ${PYSITELIB}/kazoo/tests/test_retry.pyo
+${PYSITELIB}/kazoo/tests/test_sasl.py
+${PYSITELIB}/kazoo/tests/test_sasl.pyc
+${PYSITELIB}/kazoo/tests/test_sasl.pyo
 ${PYSITELIB}/kazoo/tests/test_security.py
 ${PYSITELIB}/kazoo/tests/test_security.pyc
 ${PYSITELIB}/kazoo/tests/test_security.pyo
+${PYSITELIB}/kazoo/tests/test_selectors_select.py
+${PYSITELIB}/kazoo/tests/test_selectors_select.pyc
+${PYSITELIB}/kazoo/tests/test_selectors_select.pyo
 ${PYSITELIB}/kazoo/tests/test_threading_handler.py
 ${PYSITELIB}/kazoo/tests/test_threading_handler.pyc
 ${PYSITELIB}/kazoo/tests/test_threading_handler.pyo

Index: pkgsrc/sysutils/py-kazoo/distinfo
diff -u pkgsrc/sysutils/py-kazoo/distinfo:1.8 pkgsrc/sysutils/py-kazoo/distinfo:1.9
--- pkgsrc/sysutils/py-kazoo/distinfo:1.8       Tue Oct 26 11:20:04 2021
+++ pkgsrc/sysutils/py-kazoo/distinfo   Thu Feb  8 10:15:24 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:20:04 nia Exp $
+$NetBSD: distinfo,v 1.9 2024/02/08 10:15:24 adam Exp $
 
-BLAKE2s (kazoo-2.6.1.tar.gz) = 40eb34a4db229e54440e13f0fa097aaabb446bfbc6e473bf8b02311bbbb868ad
-SHA512 (kazoo-2.6.1.tar.gz) = 613e8271bfd6c8f5ee976b6ee460478c7faad46b32995125a64312208b38755888690cd46b913ff44ba52aeb36de3ec3dd8e222985af77e99f43963a3eb48d48
-Size (kazoo-2.6.1.tar.gz) = 157425 bytes
+BLAKE2s (kazoo-2.10.0.tar.gz) = 6fd783647c0590c2202a5ff167081e96ec848574aae5b23a0cd702ff4cfeecc3
+SHA512 (kazoo-2.10.0.tar.gz) = 39c3ebb3120047420d7a6ec806994028bc39920ab62a9a06103fd6a05650aa0b26c1120895ad85673408349fa50791fb20ce7702f14bc74a246ff118806d3b03
+Size (kazoo-2.10.0.tar.gz) = 183304 bytes



Home | Main Index | Thread Index | Old Index