Major changes from joblib v1.2.0 to v1.3.0 are incompatible with civis-python. This issue was first reported in #468, and was temporarily fixed by pinning joblib at < v1.3.0 in #469. This pull request updates civis-python so that now it works with joblib >= v1.3.0. After this pull request is merged, I will not make a new civis-python release yet (I have one or two more pull requests in mind before another release). For this pull request, copying notes from the changelog being updated:
Changed
Refactored the civis.parallel module and related unit tests due to major changes
of joblib from v1.2.0 to v1.3.0 (API-breaking changes for dropping
joblib.my_exceptions.TransportableException and joblib.format_stack.format_exc,
as well as the substantial changes to the internals of joblib.Parallel).
Bumped the minimum required version of joblib to v1.3.0,
which is the version where joblib.parallel_config was introduced and
joblib.parallel_backend was deprecated.
Fixed
Fixed civis.parallel.make_backend_template_factory so that
keyword arguments are now accepted and passed to client.scripts.post_custom.
Security
Bumped the minimum required version of requests to the latest v2.32.3,
due to a security vulnerability for < v2.32.0 (CVE-2024-35195).
[x] (For Civis employees only) Reference to a relevant ticket in the pull request title
[x] Changelog entry added to CHANGELOG.md at the repo's root level
[x] Description of change in the pull request description
[x] If applicable, unit tests have been added and/or updated
Major changes from joblib v1.2.0 to v1.3.0 are incompatible with civis-python. This issue was first reported in #468, and was temporarily fixed by pinning joblib at < v1.3.0 in #469. This pull request updates civis-python so that now it works with joblib >= v1.3.0. After this pull request is merged, I will not make a new civis-python release yet (I have one or two more pull requests in mind before another release). For this pull request, copying notes from the changelog being updated:
Changed
civis.parallel
module and related unit tests due to major changes of joblib from v1.2.0 to v1.3.0 (API-breaking changes for droppingjoblib.my_exceptions.TransportableException
andjoblib.format_stack.format_exc
, as well as the substantial changes to the internals ofjoblib.Parallel
).joblib
to v1.3.0, which is the version wherejoblib.parallel_config
was introduced andjoblib.parallel_backend
was deprecated.Fixed
civis.parallel.make_backend_template_factory
so that keyword arguments are now accepted and passed toclient.scripts.post_custom
.Security
requests
to the latest v2.32.3, due to a security vulnerability for < v2.32.0 (CVE-2024-35195).CHANGELOG.md
at the repo's root level