pkgsrc-Bugs archive

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

pkg/56706: py-twisted seems to need py-typing-extensions dependency



>Number:         56706
>Category:       pkg
>Synopsis:       py-twisted seems to need py-typing-extensions dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 12 18:10:00 +0000 2022
>Originator:     Claes Nästén
>Release:        trunk 2022-02-10
>Organization:
>Environment:
SunOS 5.10 sun4v sparc SUNW,SPARC-Enterprise-T2000

>Description:
Stumbled upon this trying to get buildbot running. Starting buildbot gives me this error:

Traceback (most recent call last):
  File "/usr/pkg/bin/buildbot-3.9", line 33, in <module>
    sys.exit(load_entry_point('buildbot==2.6.0', 'console_scripts', 'buildbot')())
  File "/usr/pkg/bin/buildbot-3.9", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/pkg/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/pkg/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/pkg/lib/python3.9/site-packages/buildbot/scripts/runner.py", line 32, in <module>
    from buildbot.scripts import base
  File "/usr/pkg/lib/python3.9/site-packages/buildbot/scripts/base.py", line 27, in <module>
    from buildbot import config as config_module
  File "/usr/pkg/lib/python3.9/site-packages/buildbot/config.py", line 31, in <module>
    from buildbot import locks
  File "/usr/pkg/lib/python3.9/site-packages/buildbot/locks.py", line 17, in <module>
    from twisted.internet import defer
  File "/usr/pkg/lib/python3.9/site-packages/twisted/internet/defer.py", line 42, in <module>
    from typing_extensions import Literal
ModuleNotFoundError: No module named 'typing_extensions'


Looking at twisted/internet/defer.py it clearly imports typing_extensions so I presume this should be added as a dependency.
>How-To-Repeat:
Try to run buildbot from pkgsrc.
>Fix:



Home | Main Index | Thread Index | Old Index