| Summary: | upgrade/update python-orange-canvas-core 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: | jani.valimaa |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | python-orange-canvas-core-1.2.0.mga9.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: |
python orange-canvas-core spec patch
spec for pypi bson spec patch for requests-cache |
||
|
Description
Aurelian R
2024-02-20 22:01:04 CET
Created attachment 14403 [details]
spec for pypi bson
Created attachment 14406 [details]
spec patch for requests-cache
I forgot that requests-cache need an update also.
Thanks for the patches. I've updated requests-cache partially based on the patch from comment 2. FYI, the idea of %generate_buildrequires step is to pull BRs automatic during the build without a need to list python module BRs in .spec. There might be some special cases where BRs needs to be added manually, though. I've updated and modified pymongo a little bit to add pydist() provides. Thus we don't need to import separate bson module. CC:
(none) =>
jani.valimaa (In reply to Jani Välimaa from comment #3) > FYI, the idea of %generate_buildrequires step is to pull BRs automatic > during the build without a need to list python module BRs in .spec. There > might be some special cases where BRs needs to be added manually, though. Yep, I've realized that and it is quite a clever and convenient thing to do :). However, as you may have noticed in my patches I try to have the %pyproject_check_import enabled and if possible/reasonable the self testing of the module. The check for importing of module usually asks for more than the basic requirements and this, I think, may also help with figuring out the Requires/Recommends for the package, at least for more complex packages. > I've updated and modified pymongo a little bit to add pydist() provides. > Thus we don't need to import separate bson module. I also don't think forked bson is needed for Mageia. However, the forked bson version mentioned has a feature that's not available in pymongo's bson and because of that and the old version of requests-cache the self tests of open-canvas fails. If those are satisfied then the open-canvas self testing is successful. Regards This "%pyproject_extras_subpkg" in your "requests-cache" spec is neat. :) David fixed it. Resolution:
(none) =>
FIXED |