Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] salt broken after Python 3.12 update
@ 2023-10-12  0:22 tsndqst
  2023-10-15 18:10 ` tsndqst
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: tsndqst @ 2023-10-12  0:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1693 bytes --]

New issue by tsndqst on void-packages repository

https://github.com/void-linux/void-packages/issues/46626

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.55_2 x86_64 AuthenticAMD uptodate FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

### Package(s) Affected

salt-3005_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Running `salt` should print usage information for the `salt` command.

### Actual behaviour

salt fails to load.

```
$ salt
Traceback (most recent call last):
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/salt", line 33, in <module>
    sys.exit(load_entry_point('salt==3005', 'console_scripts', 'salt')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/salt", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 861, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for salt
```

### Steps to reproduce

run `salt`

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: salt broken after Python 3.12 update
  2023-10-12  0:22 [ISSUE] salt broken after Python 3.12 update tsndqst
@ 2023-10-15 18:10 ` tsndqst
  2023-10-15 18:17 ` classabbyamp
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tsndqst @ 2023-10-15 18:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

New comment by tsndqst on void-packages repository

https://github.com/void-linux/void-packages/issues/46626#issuecomment-1763464367

Comment:
This may be due to distutils.  It isn't removed until 3006.  https://github.com/saltstack/salt/pull/63309

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: salt broken after Python 3.12 update
  2023-10-12  0:22 [ISSUE] salt broken after Python 3.12 update tsndqst
  2023-10-15 18:10 ` tsndqst
@ 2023-10-15 18:17 ` classabbyamp
  2023-10-15 18:18 ` tsndqst
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: classabbyamp @ 2023-10-15 18:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/46626#issuecomment-1763466101

Comment:
try installing python3-setuptools

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: salt broken after Python 3.12 update
  2023-10-12  0:22 [ISSUE] salt broken after Python 3.12 update tsndqst
  2023-10-15 18:10 ` tsndqst
  2023-10-15 18:17 ` classabbyamp
@ 2023-10-15 18:18 ` tsndqst
  2023-10-19 18:09 ` classabbyamp
  2023-10-20  0:40 ` tsndqst
  4 siblings, 0 replies; 6+ messages in thread
From: tsndqst @ 2023-10-15 18:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 167 bytes --]

New comment by tsndqst on void-packages repository

https://github.com/void-linux/void-packages/issues/46626#issuecomment-1763466361

Comment:
it's already installed.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: salt broken after Python 3.12 update
  2023-10-12  0:22 [ISSUE] salt broken after Python 3.12 update tsndqst
                   ` (2 preceding siblings ...)
  2023-10-15 18:18 ` tsndqst
@ 2023-10-19 18:09 ` classabbyamp
  2023-10-20  0:40 ` tsndqst
  4 siblings, 0 replies; 6+ messages in thread
From: classabbyamp @ 2023-10-19 18:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/46626#issuecomment-1771480371

Comment:
is this fixed by https://github.com/void-linux/void-packages/compare/22c4f0d5...5f5d9677 ?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: salt broken after Python 3.12 update
  2023-10-12  0:22 [ISSUE] salt broken after Python 3.12 update tsndqst
                   ` (3 preceding siblings ...)
  2023-10-19 18:09 ` classabbyamp
@ 2023-10-20  0:40 ` tsndqst
  4 siblings, 0 replies; 6+ messages in thread
From: tsndqst @ 2023-10-20  0:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

New comment by tsndqst on void-packages repository

https://github.com/void-linux/void-packages/issues/46626#issuecomment-1771893690

Comment:
> is this fixed by [22c4f0d...5f5d967](https://github.com/void-linux/void-packages/compare/22c4f0d5...5f5d9677) ?

That definitely got it closer @classabbyamp.  With that update and some dependency changes I was able to get salt-master and salt-minion running.  I am still experiencing communication issues

The dependency changes I made are in this PR:  https://github.com/void-linux/void-packages/pull/46788





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-10-20  0:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-12  0:22 [ISSUE] salt broken after Python 3.12 update tsndqst
2023-10-15 18:10 ` tsndqst
2023-10-15 18:17 ` classabbyamp
2023-10-15 18:18 ` tsndqst
2023-10-19 18:09 ` classabbyamp
2023-10-20  0:40 ` tsndqst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).