Skip to content

Commit

Permalink
py-pykka: update to 4.0.1.
Browse files Browse the repository at this point in the history
v4.0.1 Latest

Bugfix release.

    Update test suite to pass on Python 3.12 (#207)

v4.0.0

Breaking changes

    Require block and timeout arguments to always be keyword arguments. (PR: #198)
    Remove support for Python 3.7. It reached end-of-life in June 2023. (PR: #190)

Features

    Type hints: All typing stubs have been inlined in the source code and have been greatly improved. They are now tested using both Mypy and Pyright. (PR: #192, #193, #195)
    Type hints: Due to the dynamic nature of ActorProxy objects, it is impossible to automatically type them correctly. pykka.typing is a new module with helpers for manually typing ActorProxy objects. Check out the docs for how to use the helpers. (PR: #199)
  • Loading branch information
0-wiz-0 committed Nov 5, 2023
1 parent a56a919 commit 0c0ff58
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 29 deletions.
16 changes: 5 additions & 11 deletions devel/py-pykka/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.2 2023/08/01 23:20:41 wiz Exp $
# $NetBSD: Makefile,v 1.3 2023/11/05 00:49:50 wiz Exp $

DISTNAME= pykka-3.1.1
DISTNAME= pykka-4.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pykka/}
Expand All @@ -10,18 +10,12 @@ HOMEPAGE= https://github.com/jodal/pykka
COMMENT= Python implementation of the actor model
LICENSE= apache-2.0

TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core-[0-9]*:../../devel/py-poetry-core
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock

USE_LANGUAGES= # none

PYTHON_VERSIONS_INCOMPATIBLE= 27

TEST_ENV= PYTHONPATH=${WRKSRC}/build/lib

# as of 3.1.1
# 137 passed, 1 warning, 8 errors
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}

.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
25 changes: 11 additions & 14 deletions devel/py-pykka/PLIST
Original file line number Diff line number Diff line change
@@ -1,51 +1,48 @@
@comment $NetBSD: PLIST,v 1.1 2023/01/10 20:03:35 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.2 2023/11/05 00:49:50 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/pykka/__init__.py
${PYSITELIB}/pykka/__init__.pyc
${PYSITELIB}/pykka/__init__.pyo
${PYSITELIB}/pykka/_actor.py
${PYSITELIB}/pykka/_actor.pyc
${PYSITELIB}/pykka/_actor.pyi
${PYSITELIB}/pykka/_actor.pyo
${PYSITELIB}/pykka/_envelope.py
${PYSITELIB}/pykka/_envelope.pyc
${PYSITELIB}/pykka/_envelope.pyi
${PYSITELIB}/pykka/_envelope.pyo
${PYSITELIB}/pykka/_exceptions.py
${PYSITELIB}/pykka/_exceptions.pyc
${PYSITELIB}/pykka/_exceptions.pyo
${PYSITELIB}/pykka/_future.py
${PYSITELIB}/pykka/_future.pyc
${PYSITELIB}/pykka/_future.pyi
${PYSITELIB}/pykka/_future.pyo
${PYSITELIB}/pykka/_introspection.py
${PYSITELIB}/pykka/_introspection.pyc
${PYSITELIB}/pykka/_introspection.pyo
${PYSITELIB}/pykka/_proxy.py
${PYSITELIB}/pykka/_proxy.pyc
${PYSITELIB}/pykka/_proxy.pyi
${PYSITELIB}/pykka/_proxy.pyo
${PYSITELIB}/pykka/_ref.py
${PYSITELIB}/pykka/_ref.pyc
${PYSITELIB}/pykka/_ref.pyi
${PYSITELIB}/pykka/_ref.pyo
${PYSITELIB}/pykka/_registry.py
${PYSITELIB}/pykka/_registry.pyc
${PYSITELIB}/pykka/_registry.pyi
${PYSITELIB}/pykka/_registry.pyo
${PYSITELIB}/pykka/_threading.py
${PYSITELIB}/pykka/_threading.pyc
${PYSITELIB}/pykka/_threading.pyi
${PYSITELIB}/pykka/_threading.pyo
${PYSITELIB}/pykka/_types.py
${PYSITELIB}/pykka/_types.pyc
${PYSITELIB}/pykka/_types.pyo
${PYSITELIB}/pykka/debug.py
${PYSITELIB}/pykka/debug.pyc
${PYSITELIB}/pykka/debug.pyi
${PYSITELIB}/pykka/debug.pyo
${PYSITELIB}/pykka/messages.py
${PYSITELIB}/pykka/messages.pyc
${PYSITELIB}/pykka/messages.pyo
${PYSITELIB}/pykka/py.typed
${PYSITELIB}/pykka/typing.py
${PYSITELIB}/pykka/typing.pyc
${PYSITELIB}/pykka/typing.pyo
8 changes: 4 additions & 4 deletions devel/py-pykka/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1 2023/01/10 20:03:35 wiz Exp $
$NetBSD: distinfo,v 1.2 2023/11/05 00:49:50 wiz Exp $

BLAKE2s (pykka-3.1.1.tar.gz) = 3f0aa5aa19e0ca9a5f1100c848bf24b26d889597eb5fcf0298f7861d88cf99ab
SHA512 (pykka-3.1.1.tar.gz) = 7ca7885664598ba31dd7180f2a365d2fbb225a6dac26d09911b6bf0cafc55ea87d7e6212c4fff297bf4ca8d5b14134c656ea929e0869978bcd661309e2442908
Size (pykka-3.1.1.tar.gz) = 45601 bytes
BLAKE2s (pykka-4.0.1.tar.gz) = 6031de147c0c95a8a26b0ac6bc23b61306e3795d5b50a0e0e418c8789c04f4ff
SHA512 (pykka-4.0.1.tar.gz) = c7ad3f2e84f212cb94d7ec8170c493c71865f54068dc755eac68df1071dc510f010d35033499aac243b06eb3ca289dd25005af7b949b30334e2b8ebe46206316
Size (pykka-4.0.1.tar.gz) = 48967 bytes

0 comments on commit 0c0ff58

Please sign in to comment.