Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sonic-host-services for Bookworm #87

Merged
merged 4 commits into from
Nov 20, 2023

Conversation

saiarcot895
Copy link
Contributor

This PR does a couple of things:

  • It updates the PAM template files and Python compilation for Bookworm.
  • It also breaks the cyclical dependency between this repo and sonic-buildimage for the PAM template files.

Newer versions of pip/setuptools don't support test_requires, and the
current standard is to specify any extra dependencies (such as those
required for testing) under extra_requires.

Therefore, specify the testing dependencies under extra_requires. These
can be installed via pip using `pip install '.[testing]'`.

Signed-off-by: Saikrishna Arcot <[email protected]>
Debian Bookworm has removed libpam-cracklib; replace with
libpam-pwquality.

Signed-off-by: Saikrishna Arcot <[email protected]>
This repo's tests depends on files that are in
src/sonic-host-services-data in sonic-buildimage. Due to PR check
requirements, this creates a cyclical dependency when needing to update
the templates and the sample output files.

To fix that cyclical dependency, move that directory into this repo.
That way, both the templates and the sample output files can be updated
in a single commit.

Signed-off-by: Saikrishna Arcot <[email protected]>
@saiarcot895 saiarcot895 marked this pull request as ready for review November 20, 2023 22:25
@yxieca yxieca merged commit 50db9d3 into sonic-net:master Nov 20, 2023
5 checks passed
@saiarcot895 saiarcot895 deleted the bookworm branch November 21, 2023 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants