[Bug 272452] sysutils/py-salt: Update to 3006.1_1 breaks salt-call

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 11 Jul 2023 15:24:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272452

            Bug ID: 272452
           Summary: sysutils/py-salt: Update to 3006.1_1 breaks salt-call
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: krion@FreeBSD.org
          Reporter: danmcgrath.ca@gmail.com
             Flags: maintainer-feedback?(krion@FreeBSD.org)
          Assignee: krion@FreeBSD.org

Created attachment 243342
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243342&action=edit
salt-call state.highstate --state-output=terse test=true

It would seem that the 3006.1_1 update is still not quite right. I am seeing
some errors about everything from contextvars to glusterfs.

On a 13.2-p1 host, an attempt to upgrade to 2023Q3 yields the following output
when I try to run a "salt-call state.highstate --state-output=terse test=true"
(see attachment).

I did notice bug #271981 which might be related, but I am not quite sure as I
can start the minion, I just can't do anything with it. I was going to try
installing contextvars to the system via salt-pip, but this also fails with the
following error:

Traceback (most recent call last):
  File "/usr/local/bin/salt-pip", line 33, in <module>
    sys.exit(load_entry_point('salt==3006.1', 'console_scripts', 'salt-pip')())
  File "/usr/local/lib/python3.9/site-packages/salt/scripts.py", line 615, in
salt_pip
    extras = str(sys.RELENV / "extras-{}.{}".format(*sys.version_info))
AttributeError: module 'sys' has no attribute 'RELENV'
[ERROR   ] An un-handled exception was caught by Salt's global exception
handler:
AttributeError: module 'sys' has no attribute 'RELENV'
Traceback (most recent call last):
  File "/usr/local/bin/salt-pip", line 33, in <module>
    sys.exit(load_entry_point('salt==3006.1', 'console_scripts', 'salt-pip')())
  File "/usr/local/lib/python3.9/site-packages/salt/scripts.py", line 615, in
salt_pip
    extras = str(sys.RELENV / "extras-{}.{}".format(*sys.version_info))
AttributeError: module 'sys' has no attribute 'RELENV'


Any ideas on the best approach to resolve this? Or should I just wait for
upstream to patch etc?

Thanks!

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