Skip to content

Conversation

@tacerus
Copy link
Contributor

@tacerus tacerus commented Oct 16, 2025

What does this PR do?

Complete #67788 to remove spwd on Linux. Solaris parts are not touched as they already have compatibility for systems without spwd.

What issues does this PR fix or reference?

#67119

Previous Behavior

user module would fail with NameError: name 'spwd' is not defined on Python 3.13.

New Behavior

user module works again.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

@tacerus
Copy link
Contributor Author

tacerus commented Oct 16, 2025

Test failures appear not related to my patch, but let me know if I missed something.

@tacerus tacerus mentioned this pull request Oct 18, 2025
3 tasks
m-czernek added a commit to openSUSE/salt that referenced this pull request Oct 30, 2025
@twangboy twangboy added the test:full Run the full test suite label Oct 31, 2025
Vaelatern and others added 2 commits October 31, 2025 12:23
Module deprecated and no longer shipped with Python 3.13.

Co-authored-by: Toyam Cox <[email protected]>
Co-authored-by: Georg Pfuetzenreuter <[email protected]>
Signed-off-by: Georg Pfuetzenreuter <[email protected]>
Signed-off-by: Georg Pfuetzenreuter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Salt relies on spwd module, deprecated in 3.11 and removed in 3.13

3 participants