[Bug 272353] astro/py-metpy Failing to load module at runtime

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Jul 2023 16:11:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272353

            Bug ID: 272353
           Summary: astro/py-metpy Failing to load module at runtime
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: freebsd@pe82.de
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

I've just updated to the current port, and trying to load something from pymet
results in the following error:

Python 3.9.17 (main, Jun 14 2023, 02:01:19) 
[Clang 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a
on freebsd13
Type "help", "copyright", "credits" or "license" for more information.
>>> from metpy.calc import dewpoint_from_relative_humidity
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/metpy/calc/__init__.py", line 7,
in <module>
    from .cross_sections import *  # noqa: F403
  File "/usr/local/lib/python3.9/site-packages/metpy/calc/cross_sections.py",
line 14, in <module>
    from .tools import first_derivative
  File "/usr/local/lib/python3.9/site-packages/metpy/calc/tools.py", line 18,
in <module>
    from ..cbook import broadcast_indices
  File "/usr/local/lib/python3.9/site-packages/metpy/cbook.py", line 29, in
<module>
    POOCH.load_registry(Path(__file__).parent / 'static-data-manifest.txt')
  File "/usr/local/lib/python3.9/site-packages/pooch/core.py", line 649, in
load_registry
    fin = stack.enter_context(open(fname))
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/site-packages/metpy/static-data-manifest.txt'

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