| Summary: | upgrade python-pytest-shutil and switch to pyproject | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Aurelian R <arusanu> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | geiger.david68210, lewyssmith |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | python-pytest-shutil-1.7.0-5.mga9.src.rpm, python-pytest-virtualenv-1.7.0-4.mga9.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: |
patch for pytest-shutil spec
patch for pytest-virtualenv spec file |
||
Created attachment 14411 [details]
patch for pytest-virtualenv spec file
(In reply to Aurelian R from comment #0) > I will attache to this bug a patch for the python-pytest-virtualenv spec > file as it is the only package that depends directly of pytest-shutil module > which also needs a rebuild and switch to pyproject. However, this one IMO > can be dropped/obsoleted even though it builds and completes some of its own > tests. I am unsure exactly which package you suggest should be obsoleted: python3-pytest-virtualenv (SRPM python-pytest-virtualenv) or python3-pytest-shutil (SRPM python-pytest-shutil) Certainly on M9: $ urpmq --requires python3-pytest-virtualenv | grep shutil python3.10dist(pytest-shutil) i.e. python3-pytest-virtualenv requires pytest-shutil and $ urpmq --whatrequires python3-pytest-shutil python3-pytest-virtualenv i.e. as you say, python3-pytest-virtualenv is the only pkg which requires python3.10dist(pytest-shutil). If the requirement by 'python3-pytest-virtualenv' for 'python3-pytest-shutil' is meaningless, so that the latter (shutil) can be obsoleted; where does that leave the former (virtualenv) ? Nothing visibly requires it: $ urpmq --whatrequires-recursive python3-pytest-virtualenv $ but it itself requires several things: $ urpmq --requires python3-pytest-virtualenv python(abi)[== 3.10] python3-path python3-setuptools python3.10dist(pytest) python3.10dist(pytest-fixture-config) python3.10dist(pytest-shutil) python3.10dist(virtualenv) Confusing... CC:
(none) =>
lewyssmith (In reply to Lewis Smith from comment #2) > Confusing... To be on point, the "python-pytest-shutil" is the package to be rebuild as the report suggests and "python-pytest-virtualenv" is the one I suggested to be obsoleted. I'm sorry for my report generating such confusion, even though I'm a non-native speaker I try to express myself logically clear. While the report is about "python-pytest-shutil", its last paragraph is entirely about "python-pytest-virtualenv" package and together with the fact that I specified that this package, i.e. "python-pytest-virtualenv", has some issues with its own tests shouldn't be unclear. Furthermore, your own tests show that the dangling package here is "python-pytest-virtualenv". So, I'm sorry if all of this didn't convey the proper message. Regards. Fixed, thanks! Resolution:
(none) =>
FIXED |
Created attachment 14410 [details] patch for pytest-shutil spec It needs rebuilding and switching to pyproject. Also a patch to replace the deprecated imp module is available. I will attache to this bug a patch for the python-pytest-virtualenv spec file as it is the only package that depends directly of pytest-shutil module which also needs a rebuild and switch to pyproject. However, this one IMO can be dropped/obsoleted even though it builds and completes some of its own tests.