pkgsrc-Bugs archive

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

Re: pkg/59258 (net/py-magic-wormhole: borken between 0.13 and 0.15)



I saw an update today, so I tried running `bmake test' again in
net/py-magic-wormhole, and it failed to even launch the tests:

============================= test session starts ==============================
platform netbsd9 -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
Using --randomly-seed=4184116385
rootdir: /home/riastradh/pkgsrc/current/work/net/py-magic-wormhole/work/magic-wormhole-0.18.0
configfile: pyproject.toml
plugins: randomly-3.16.0, time-machine-2.16.0, env-1.1.5, pytest_freezer-0.4.8, mock-3.14.0, timeout-2.3.1, flaky-3.8.1, cov-6.0.0
collected 396 items / 1 error                                                  

==================================== ERRORS ====================================
________________ ERROR collecting src/wormhole/test/test_cli.py ________________
ImportError while importing test module '/home/riastradh/pkgsrc/current/work/net/py-magic-wormhole/work/magic-wormhole-0.18.0/src/wormhole/test/test_cli.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../../../pkg/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
src/wormhole/test/test_cli.py:25: in <module>
    from ..cli import cli, cmd_receive, cmd_send, welcome
src/wormhole/cli/cmd_send.py:9: in <module>
    from qrcode import QRCode
E   ModuleNotFoundError: No module named 'qrcode'
=============================== warnings summary ===============================
../../../../../pkg/lib/python3.12/site-packages/wormhole_mailbox_server/database.py:5
  /home/riastradh/pkgsrc/current/pkg/lib/python3.12/site-packages/wormhole_mailbox_server/database.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pkg_resources import resource_string

../../../../../pkg/lib/python3.12/site-packages/pkg_resources/__init__.py:3147
  /home/riastradh/pkgsrc/current/pkg/lib/python3.12/site-packages/pkg_resources/__init__.py:3147: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('zope')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../../../../pkg/lib/python3.12/site-packages/twisted/web/static.py:35
  /home/riastradh/pkgsrc/current/pkg/lib/python3.12/site-packages/twisted/web/static.py:35: DeprecationWarning: twisted.web.resource._UnsafeNoResource.__init__ was deprecated in Twisted 22.10.0; please use Use twisted.web.pages.notFound instead, which properly escapes HTML. instead
    dangerousPathError = resource._UnsafeNoResource("Invalid request URL.")
                                             
../../../../../pkg/lib/python3.12/site-packages/twisted/web/static.py:264
  /home/riastradh/pkgsrc/current/pkg/lib/python3.12/site-packages/twisted/web/static.py:264: DeprecationWarning: twisted.web.resource._UnsafeNoResource.__init__ was deprecated in Twisted 22.10.0; please use Use twisted.web.pages.notFound instead, which properly escapes HTML. instead
    childNotFound = resource._UnsafeNoResource("File not found.")

../../../../../pkg/lib/python3.12/site-packages/twisted/web/static.py:265
  /home/riastradh/pkgsrc/current/pkg/lib/python3.12/site-packages/twisted/web/static.py:265: DeprecationWarning: twisted.web.resource._UnsafeForbiddenResource.__init__ was deprecated in Twisted 22.10.0; please use Use twisted.web.pages.forbidden instead, which properly escapes HTML. instead
    forbidden = resource._UnsafeForbiddenResource()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR src/wormhole/test/test_cli.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
======================== 5 warnings, 1 error in 11.32s =========================


Home | Main Index | Thread Index | Old Index