|
Bugzilla – Full Text Bug Listing |
| Summary: | crypto-policies pulls in python through scripts | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Ludwig Nussel <lnussel> |
| Component: | Basesystem | Assignee: | Pedro Monreal Gonzalez <pmonrealgonzalez> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | daniel.garcia, meissner, otto.hollmann, pmonrealgonzalez, python-maintainers |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Ludwig Nussel
2023-09-11 09:37:38 UTC
I think in those cases we could skip recommending the scripts package. Do you know how to reliably check for python availability for that scenario? Maybe checking some python macro? I think there is no python3 package, only some python3 providers. Not sure if that works with conditional dependencies. If it doesn't work maybe time to talk to the python maintainers I'm adding the @python-maintainers in CC here. Could you suggest what would be best to do here? TIA (In reply to Ludwig Nussel from comment #2) > I think there is no python3 package, only some python3 providers. Not sure > if that works with conditional dependencies. If it doesn't work maybe time > to talk to the python maintainers There is the %primary_python macro defined at project level that points to the system python, that's the name of the package that provides python3 (python311 in tumbleweed, python3.6 in SLES). Thanks, I can then add something like this:
> %if 0%{?primary_python:1}
> Recommends: crypto-policies-scripts
> %endif
Ludwig, could you check if the change from comment#5 works for your setup? You can find the built packages here: * https://download.opensuse.org/repositories/home:/pmonrealgonzalez:/branches:/security:/tls/openSUSE_Tumbleweed/noarch/ I'm closing the bug since the fix has been verified and already released. |