Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 10, 2024

Bumps civis from 1.16.1 to 2.3.0.

Release notes

Sourced from civis's releases.

v2.3.0

Added

  • Added a script for checking if the Civis API spec is up-to-date. (#489)
  • Added a new keyword argument sql_params_arguments to the civis.io.* functions that accept a SQL query, so that the user can run a parameterized SQL script. (#493)

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). (#488)
  • 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. (#488)
  • Improved the startup time of import civis with a 5x speed boost. (#490, #493)
  • The downloaded API spec due to the civis.APIClient instantiation is now a time-to-live cache in memory (15 minutes for interactive Python, or 24 hours in scripts). (#491)
  • Polling at PollableResult (and consequently its subclasses as well: CivisFuture, ContainerFuture, and ModelFuture) now defaults to geometrically increased polling intervals. Short-running jobs' future.result() can now return faster, while longer-running jobs have a capped polling interval of 15 seconds. (#492)
  • Comparing a Response object with a non-Response object returns False now (this previously raised a TypeError). (#493)

Fixed

  • Fixed civis.parallel.make_backend_template_factory so that keyword arguments are now accepted and passed to client.scripts.post_custom. (#488)
  • For Response objects, their "repr" form shows the class name "Response" for both top-level and nested response objects. (#493)

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). (#488)

v2.2.0

Added

  • civis.response.Response has its own "repr" and pretty-print format, instead of the previous dict-like representation that would incorrectly suggest immutability. (#487)
  • Added the --version flag to the command line interface. (#487)

Fixed

  • Fixed API response objects' .json() for lists. (#487)
  • Fixed civis_logger for always having the attribute propagate attribute set to False so that it can also be used for notebooks and services/apps on Civis Platform. (#487)

v2.1.0

Added

  • Added .json() at civis.response.Response to return the original JSON data from Civis API. (#486)

... (truncated)

Changelog

Sourced from civis's changelog.

2.3.0 - 2024-06-14

Added

  • Added a script for checking if the Civis API spec is up-to-date. (#489)
  • Added a new keyword argument sql_params_arguments to the civis.io.* functions that accept a SQL query, so that the user can run a parameterized SQL script. (#493)

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). (#488)
  • 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. (#488)
  • Improved the startup time of import civis with a 5x speed boost. (#490, #493)
  • The downloaded API spec due to the civis.APIClient instantiation is now a time-to-live cache in memory (15 minutes for interactive Python, or 24 hours in scripts). (#491)
  • Polling at PollableResult (and consequently its subclasses as well: CivisFuture, ContainerFuture, and ModelFuture) now defaults to geometrically increased polling intervals. Short-running jobs' future.result() can now return faster, while longer-running jobs have a capped polling interval of 15 seconds. (#492)
  • Comparing a Response object with a non-Response object returns False now (this previously raised a TypeError). (#493)

Fixed

  • Fixed civis.parallel.make_backend_template_factory so that keyword arguments are now accepted and passed to client.scripts.post_custom. (#488)
  • For Response objects, their "repr" form shows the class name "Response" for both top-level and nested response objects. (#493)

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). (#488)

2.2.0 - 2024-05-28

Added

  • civis.response.Response has its own "repr" and pretty-print format, instead of the previous dict-like representation that would incorrectly suggest immutability. (#487)
  • Added the --version flag to the command line interface. (#487)

Fixed

  • Fixed API response objects' .json() for lists. (#487)
  • Fixed civis_logger for always having the attribute propagate attribute set to False so that it can also be used for notebooks and services/apps on Civis Platform. (#487)

2.1.0 - 2024-05-23

... (truncated)

Commits
  • 894d2ea [CIVIS-8695] ENH SQL I/O functions accept SQL parameters and arguments (#493)
  • a8fac5e [CIVIS-1949] PERF more efficient polling at future objects (#492)
  • 423d5f1 [CIVIS-8737] ENH time-to-live cache for API spec (#491)
  • d6f10c0 [CIVIS-8658] PERF speed up startup time (#490)
  • 90dfb44 [CIVIS-1824] ENH add script to check if Civis API spec has updated (#489)
  • fc7e355 [CIVIS-6486] ENH civis.parallel compatible with joblib >= v1.3.0 (#488)
  • 3edbfe5 [CIVIS-8660] ENH response objects: add repr and pprint, fix lists for `.json(...
  • cae8676 [CIVIS-8647] ENH response objects: add .json(), preserve key casing under '...
  • 62b26ea SEC bump requests version in doc reqs (#485)
  • 9eae3c4 [CIVIS-8476] DOC configure "readthedocs" builds and refresh docs (#483)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [civis](https://github.com/civisanalytics/civis-python) from 1.16.1 to 2.3.0.
- [Release notes](https://github.com/civisanalytics/civis-python/releases)
- [Changelog](https://github.com/civisanalytics/civis-python/blob/main/CHANGELOG.md)
- [Commits](civisanalytics/civis-python@v1.16.1...v2.3.0)

---
updated-dependencies:
- dependency-name: civis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependency update Work type - updates or additions to Parsons project dependenies python Pull requests that update Python code labels Oct 10, 2024
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 18, 2024

Superseded by #1190.

@dependabot dependabot bot closed this Nov 18, 2024
@dependabot dependabot bot deleted the dependabot/pip/docs/civis-2.3.0 branch November 18, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency update Work type - updates or additions to Parsons project dependenies python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant