Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 May 2023 19:01:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271334] devel/py-blinker: needs bump to version 1.6.2 for www/py-flask to work
Message-ID:  <bug-271334-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271334

            Bug ID: 271334
           Summary: devel/py-blinker: needs bump to version 1.6.2 for
                    www/py-flask to work
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@wb9.se
                CC: sunpoet@FreeBSD.org, wen@FreeBSD.org
                CC: sunpoet@FreeBSD.org, wen@FreeBSD.org

Not quite sure which port to file this issue for, but I think a version bump
for devel/py-blinker is the most sane approach.

When trying to start finance/fava I get the stack trace below. Looks to me =
that
devel/py-blinker needs to be upgraded in order for www/py-flask to work. No=
te
that I'm building the ports for python 3.10 in case that makes any differen=
ce
in this case.

Current versions:
  * fava-1.23.1_1
  * py310-Flask-2.3.2
  * py310-blinker-1.6

$ sudo -u nobody /usr/local/bin/fava -H localhost -p 5000 data.beancount
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py",
line 581, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py",
line 909, in require
    needed =3D self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py",
line 800, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (blinker 1.6
(/usr/local/lib/python3.10/site-packages), Requirement.parse('blinker>=3D1.=
6.2'),
{'Flask'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/fava", line 33, in <module>
    sys.exit(load_entry_point('fava=3D=3D1.23.1', 'console_scripts', 'fava'=
)())
  File "/usr/local/bin/fava", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/local/lib/python3.10/importlib/metadata/__init__.py", line 171=
, in
load
    module =3D import_module(match.group('module'))
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_remo=
ved
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlock=
ed
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_remo=
ved
  File "/usr/local/lib/python3.10/site-packages/fava/__init__.py", line 4, =
in
<module>
    from pkg_resources import DistributionNotFound
  File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py",
line 3260, in <module>
    def _initialize_master_working_set():
  File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py",
line 3234, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py",
line 3272, in _initialize_master_working_set
    working_set =3D WorkingSet._build_master()
  File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py",
line 583, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py",
line 596, in _build_from_requirements
    dists =3D ws.resolve(reqs, Environment())
  File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py",
line 795, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'blinker>=3D1.6.2' distribution was=
 not
found and is required by Flask

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271334-7788>