Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump the all group across 4 directories with 4 updates #30

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 19, 2024

Bumps the all group with 1 update in the /app/backend directory: google-cloud-aiplatform.
Bumps the all group with 3 updates in the /src/construct-qa directory: google-cloud-aiplatform, ruff and rich.
Bumps the all group with 2 updates in the /src/data-pipeline directory: ruff and rich.
Bumps the all group with 3 updates in the /src/finetune-model directory: google-cloud-aiplatform, ruff and rich.

Updates google-cloud-aiplatform from 1.72.0 to 1.73.0

Release notes

Sourced from google-cloud-aiplatform's releases.

v1.73.0

1.73.0 (2024-11-19)

Features

  • Add a nfs_mounts to RaySpec in PersistentResource API (6a22bef)
  • Add a v1 UpdateEndpointLongRunning API (6a22bef)
  • Add BatchCreateFeatures rpc to feature_registry_service.proto (68fc5f2)
  • Add BYOSA field to tuning_job (68fc5f2)
  • Add BYOSA field to tuning_job (68fc5f2)
  • Add COMET and MetricX to the evaluation SDK (4135810)
  • Add Create FeatureMonitor function to FeatureGroup in Vertex AI SDK (285ec2c)
  • Add CustomEnvironmentSpec to NotebookExecutionJob (6a22bef)
  • Add CustomEnvironmentSpec to NotebookExecutionJob (6a22bef)
  • Add default_runtime in Vertex Pipeline SDK preview. (44587ec)
  • Add fast_tryout_enabled to FasterDeploymentConfig v1 proto (68fc5f2)
  • Add FeatureMonitor to FeatureGroup in Vertex AI SDK (f2233ce)
  • Add PSC automation support to matching engine index endpoint deploy_index(), find_neighbors(), match(), and read_index_datapoints(). (3ab39a4)
  • Add vertex_rag_source to create_feature_view method (ca61c5a)
  • Adding fast_tryout_enabled option to Vertex SDK (fde1b96)
  • Allow setting Vertex Model Garden source model name during model upload (3af9cc8)
  • Allow user control which class methods to export via register_operations. The class methods spec will be changed according to user's register_operations. (74077b5)
  • COMET added to evaluation service proto (68fc5f2)
  • Expose system_labels field to model deployment APIs in Vertex public preview SDK (13cede4)
  • Expose system_labels field to model deployment APIs in Vertex Python SDK (75655af)
  • GenAI - Grounding - Added grounding dynamic_retrieval config to Vertex SDK (c39334a)
  • GenAI Evaluation: Release GenAI Evaluation SDK Agent Evaluation features to vertexai.preview module. (41cd5a8)
  • MetricX added to evaluation service proto (68fc5f2)
  • Trajectory eval metrics added to evaluation service proto (6a22bef)
  • Vision Models - Add support for Imagen 3 Capabilities to Vertex SDK (9a30c31)

Bug Fixes

  • GenAI - Fixed GAPIC-renamed keys (keys with trailing underscore) in structures returned by the to_dict methods. (9d00424)
  • Implementation of proto conversion in reasoning engine utils when message is not specified (99fafe9)
  • Remove check on serving_container_image_uri when artifact_uri and local_model is given (ccd89b4)

Documentation

  • Automatic Function calling comment update (91f85ac)
  • Clarity and typo fixes for documentation (6a22bef)
  • Fix example rpc naming (6a22bef)
  • GenAI - Grounding - Added sample for grounding with Google Search to the Vertex GenAI SDK README. (4bf9816)
Changelog

Sourced from google-cloud-aiplatform's changelog.

1.73.0 (2024-11-19)

Features

  • Add a nfs_mounts to RaySpec in PersistentResource API (6a22bef)
  • Add a v1 UpdateEndpointLongRunning API (6a22bef)
  • Add BatchCreateFeatures rpc to feature_registry_service.proto (68fc5f2)
  • Add BYOSA field to tuning_job (68fc5f2)
  • Add BYOSA field to tuning_job (68fc5f2)
  • Add COMET and MetricX to the evaluation SDK (4135810)
  • Add Create FeatureMonitor function to FeatureGroup in Vertex AI SDK (285ec2c)
  • Add CustomEnvironmentSpec to NotebookExecutionJob (6a22bef)
  • Add CustomEnvironmentSpec to NotebookExecutionJob (6a22bef)
  • Add default_runtime in Vertex Pipeline SDK preview. (44587ec)
  • Add fast_tryout_enabled to FasterDeploymentConfig v1 proto (68fc5f2)
  • Add FeatureMonitor to FeatureGroup in Vertex AI SDK (f2233ce)
  • Add PSC automation support to matching engine index endpoint deploy_index(), find_neighbors(), match(), and read_index_datapoints(). (3ab39a4)
  • Add vertex_rag_source to create_feature_view method (ca61c5a)
  • Adding fast_tryout_enabled option to Vertex SDK (fde1b96)
  • Allow setting Vertex Model Garden source model name during model upload (3af9cc8)
  • Allow user control which class methods to export via register_operations. The class methods spec will be changed according to user's register_operations. (74077b5)
  • COMET added to evaluation service proto (68fc5f2)
  • Expose system_labels field to model deployment APIs in Vertex public preview SDK (13cede4)
  • Expose system_labels field to model deployment APIs in Vertex Python SDK (75655af)
  • GenAI - Grounding - Added grounding dynamic_retrieval config to Vertex SDK (c39334a)
  • GenAI Evaluation: Release GenAI Evaluation SDK Agent Evaluation features to vertexai.preview module. (41cd5a8)
  • MetricX added to evaluation service proto (68fc5f2)
  • Trajectory eval metrics added to evaluation service proto (6a22bef)
  • Vision Models - Add support for Imagen 3 Capabilities to Vertex SDK (9a30c31)

Bug Fixes

  • GenAI - Fixed GAPIC-renamed keys (keys with trailing underscore) in structures returned by the to_dict methods. (9d00424)
  • Implementation of proto conversion in reasoning engine utils when message is not specified (99fafe9)
  • Remove check on serving_container_image_uri when artifact_uri and local_model is given (ccd89b4)

Documentation

  • Automatic Function calling comment update (91f85ac)
  • Clarity and typo fixes for documentation (6a22bef)
  • Fix example rpc naming (6a22bef)
  • GenAI - Grounding - Added sample for grounding with Google Search to the Vertex GenAI SDK README. (4bf9816)
Commits
  • 0160d49 chore(main): release 1.73.0 (#4646)
  • 285ec2c feat: Add Create FeatureMonitor function to FeatureGroup in Vertex AI SDK
  • 41cd5a8 feat: GenAI Evaluation: Release GenAI Evaluation SDK Agent Evaluation feature...
  • df2c650 chore: Added validation that importing vertexai module does not load any bi...
  • 75655af feat: Expose system_labels field to model deployment APIs in Vertex Python SDK
  • 13cede4 feat: Expose system_labels field to model deployment APIs in Vertex public pr...
  • 6a22bef Copybara import of the project:
  • 74077b5 feat: Allow user control which class methods to export via `register_operatio...
  • 3af9cc8 feat: Allow setting Vertex Model Garden source model name during model upload
  • 3ab39a4 feat: Add PSC automation support to matching engine index endpoint `deploy_in...
  • Additional commits viewable in compare view

Updates google-cloud-aiplatform from 1.70.0 to 1.73.0

Release notes

Sourced from google-cloud-aiplatform's releases.

v1.73.0

1.73.0 (2024-11-19)

Features

  • Add a nfs_mounts to RaySpec in PersistentResource API (6a22bef)
  • Add a v1 UpdateEndpointLongRunning API (6a22bef)
  • Add BatchCreateFeatures rpc to feature_registry_service.proto (68fc5f2)
  • Add BYOSA field to tuning_job (68fc5f2)
  • Add BYOSA field to tuning_job (68fc5f2)
  • Add COMET and MetricX to the evaluation SDK (4135810)
  • Add Create FeatureMonitor function to FeatureGroup in Vertex AI SDK (285ec2c)
  • Add CustomEnvironmentSpec to NotebookExecutionJob (6a22bef)
  • Add CustomEnvironmentSpec to NotebookExecutionJob (6a22bef)
  • Add default_runtime in Vertex Pipeline SDK preview. (44587ec)
  • Add fast_tryout_enabled to FasterDeploymentConfig v1 proto (68fc5f2)
  • Add FeatureMonitor to FeatureGroup in Vertex AI SDK (f2233ce)
  • Add PSC automation support to matching engine index endpoint deploy_index(), find_neighbors(), match(), and read_index_datapoints(). (3ab39a4)
  • Add vertex_rag_source to create_feature_view method (ca61c5a)
  • Adding fast_tryout_enabled option to Vertex SDK (fde1b96)
  • Allow setting Vertex Model Garden source model name during model upload (3af9cc8)
  • Allow user control which class methods to export via register_operations. The class methods spec will be changed according to user's register_operations. (74077b5)
  • COMET added to evaluation service proto (68fc5f2)
  • Expose system_labels field to model deployment APIs in Vertex public preview SDK (13cede4)
  • Expose system_labels field to model deployment APIs in Vertex Python SDK (75655af)
  • GenAI - Grounding - Added grounding dynamic_retrieval config to Vertex SDK (c39334a)
  • GenAI Evaluation: Release GenAI Evaluation SDK Agent Evaluation features to vertexai.preview module. (41cd5a8)
  • MetricX added to evaluation service proto (68fc5f2)
  • Trajectory eval metrics added to evaluation service proto (6a22bef)
  • Vision Models - Add support for Imagen 3 Capabilities to Vertex SDK (9a30c31)

Bug Fixes

  • GenAI - Fixed GAPIC-renamed keys (keys with trailing underscore) in structures returned by the to_dict methods. (9d00424)
  • Implementation of proto conversion in reasoning engine utils when message is not specified (99fafe9)
  • Remove check on serving_container_image_uri when artifact_uri and local_model is given (ccd89b4)

Documentation

  • Automatic Function calling comment update (91f85ac)
  • Clarity and typo fixes for documentation (6a22bef)
  • Fix example rpc naming (6a22bef)
  • GenAI - Grounding - Added sample for grounding with Google Search to the Vertex GenAI SDK README. (4bf9816)
Changelog

Sourced from google-cloud-aiplatform's changelog.

1.73.0 (2024-11-19)

Features

  • Add a nfs_mounts to RaySpec in PersistentResource API (6a22bef)
  • Add a v1 UpdateEndpointLongRunning API (6a22bef)
  • Add BatchCreateFeatures rpc to feature_registry_service.proto (68fc5f2)
  • Add BYOSA field to tuning_job (68fc5f2)
  • Add BYOSA field to tuning_job (68fc5f2)
  • Add COMET and MetricX to the evaluation SDK (4135810)
  • Add Create FeatureMonitor function to FeatureGroup in Vertex AI SDK (285ec2c)
  • Add CustomEnvironmentSpec to NotebookExecutionJob (6a22bef)
  • Add CustomEnvironmentSpec to NotebookExecutionJob (6a22bef)
  • Add default_runtime in Vertex Pipeline SDK preview. (44587ec)
  • Add fast_tryout_enabled to FasterDeploymentConfig v1 proto (68fc5f2)
  • Add FeatureMonitor to FeatureGroup in Vertex AI SDK (f2233ce)
  • Add PSC automation support to matching engine index endpoint deploy_index(), find_neighbors(), match(), and read_index_datapoints(). (3ab39a4)
  • Add vertex_rag_source to create_feature_view method (ca61c5a)
  • Adding fast_tryout_enabled option to Vertex SDK (fde1b96)
  • Allow setting Vertex Model Garden source model name during model upload (3af9cc8)
  • Allow user control which class methods to export via register_operations. The class methods spec will be changed according to user's register_operations. (74077b5)
  • COMET added to evaluation service proto (68fc5f2)
  • Expose system_labels field to model deployment APIs in Vertex public preview SDK (13cede4)
  • Expose system_labels field to model deployment APIs in Vertex Python SDK (75655af)
  • GenAI - Grounding - Added grounding dynamic_retrieval config to Vertex SDK (c39334a)
  • GenAI Evaluation: Release GenAI Evaluation SDK Agent Evaluation features to vertexai.preview module. (41cd5a8)
  • MetricX added to evaluation service proto (68fc5f2)
  • Trajectory eval metrics added to evaluation service proto (6a22bef)
  • Vision Models - Add support for Imagen 3 Capabilities to Vertex SDK (9a30c31)

Bug Fixes

  • GenAI - Fixed GAPIC-renamed keys (keys with trailing underscore) in structures returned by the to_dict methods. (9d00424)
  • Implementation of proto conversion in reasoning engine utils when message is not specified (99fafe9)
  • Remove check on serving_container_image_uri when artifact_uri and local_model is given (ccd89b4)

Documentation

  • Automatic Function calling comment update (91f85ac)
  • Clarity and typo fixes for documentation (6a22bef)
  • Fix example rpc naming (6a22bef)
  • GenAI - Grounding - Added sample for grounding with Google Search to the Vertex GenAI SDK README. (4bf9816)
Commits
  • 0160d49 chore(main): release 1.73.0 (#4646)
  • 285ec2c feat: Add Create FeatureMonitor function to FeatureGroup in Vertex AI SDK
  • 41cd5a8 feat: GenAI Evaluation: Release GenAI Evaluation SDK Agent Evaluation feature...
  • df2c650 chore: Added validation that importing vertexai module does not load any bi...
  • 75655af feat: Expose system_labels field to model deployment APIs in Vertex Python SDK
  • 13cede4 feat: Expose system_labels field to model deployment APIs in Vertex public pr...
  • 6a22bef Copybara import of the project:
  • 74077b5 feat: Allow user control which class methods to export via `register_operatio...
  • 3af9cc8 feat: Allow setting Vertex Model Garden source model name during model upload
  • 3ab39a4 feat: Add PSC automation support to matching engine index endpoint `deploy_in...
  • Additional commits viewable in compare view

Updates ruff from 0.7.0 to 0.7.4

Release notes

Sourced from ruff's releases.

0.7.4

Release Notes

Preview features

  • [flake8-datetimez] Detect usages of datetime.max/datetime.min (DTZ901) (#14288)
  • [flake8-logging] Implement root-logger-calls (LOG015) (#14302)
  • [flake8-no-pep420] Detect empty implicit namespace packages (INP001) (#14236)
  • [flake8-pyi] Add "replace with Self" fix (PYI019) (#14238)
  • [perflint] Implement quick-fix for manual-list-comprehension (PERF401) (#13919)
  • [pylint] Implement shallow-copy-environ (W1507) (#14241)
  • [ruff] Implement none-not-at-end-of-union (RUF036) (#14314)
  • [ruff] Implementation unsafe-markup-call from flake8-markupsafe plugin (RUF035) (#14224)
  • [ruff] Report problems for attrs dataclasses (RUF008, RUF009) (#14327)

Rule changes

  • [flake8-boolean-trap] Exclude dunder methods that define operators (FBT001) (#14203)
  • [flake8-pyi] Add "replace with Self" fix (PYI034) (#14217)
  • [flake8-pyi] Always autofix duplicate-union-members (PYI016) (#14270)
  • [flake8-pyi] Improve autofix for nested and mixed type unions for unnecessary-type-union (PYI055) (#14272)
  • [flake8-pyi] Mark fix as unsafe when type annotation contains comments for duplicate-literal-member (PYI062) (#14268)

Server

  • Use the current working directory to resolve settings from ruff.configuration (#14352)

Bug fixes

  • Avoid conflicts between PLC014 (useless-import-alias) and I002 (missing-required-import) by considering lint.isort.required-imports for PLC014 (#14287)
  • [flake8-type-checking] Skip quoting annotation if it becomes invalid syntax (TCH001)
  • [flake8-pyi] Avoid using typing.Self in stub files pre-Python 3.11 (PYI034) (#14230)
  • [flake8-pytest-style] Flag pytest.raises call with keyword argument expected_exception (PT011) (#14298)
  • [flake8-simplify] Infer "unknown" truthiness for literal iterables whose items are all unpacks (SIM222) (#14263)
  • [flake8-type-checking] Fix false positives for typing.Annotated (TCH001) (#14311)
  • [pylint] Allow await at the top-level scope of a notebook (PLE1142) (#14225)
  • [pylint] Fix miscellaneous issues in await-outside-async detection (PLE1142) (#14218)
  • [pyupgrade] Avoid applying PEP 646 rewrites in invalid contexts (UP044) (#14234)
  • [pyupgrade] Detect permutations in redundant open modes (UP015) (#14255)
  • [refurb] Avoid triggering hardcoded-string-charset for reordered sets (FURB156) (#14233)
  • [refurb] Further special cases added to verbose-decimal-constructor (FURB157) (#14216)
  • [refurb] Use UserString instead of non-existent UserStr (FURB189) (#14209)
  • [ruff] Avoid treating lowercase letters as # noqa codes (RUF100) (#14229)
  • [ruff] Do not report when Optional has no type arguments (RUF013) (#14181)

Documentation

  • Add "Notebook behavior" section for F704, PLE1142 (#14266)
  • Document comment policy around fix safety (#14300)

... (truncated)

Changelog

Sourced from ruff's changelog.

0.7.4

Preview features

  • [flake8-datetimez] Detect usages of datetime.max/datetime.min (DTZ901) (#14288)
  • [flake8-logging] Implement root-logger-calls (LOG015) (#14302)
  • [flake8-no-pep420] Detect empty implicit namespace packages (INP001) (#14236)
  • [flake8-pyi] Add "replace with Self" fix (PYI019) (#14238)
  • [perflint] Implement quick-fix for manual-list-comprehension (PERF401) (#13919)
  • [pylint] Implement shallow-copy-environ (W1507) (#14241)
  • [ruff] Implement none-not-at-end-of-union (RUF036) (#14314)
  • [ruff] Implementation unsafe-markup-call from flake8-markupsafe plugin (RUF035) (#14224)
  • [ruff] Report problems for attrs dataclasses (RUF008, RUF009) (#14327)

Rule changes

  • [flake8-boolean-trap] Exclude dunder methods that define operators (FBT001) (#14203)
  • [flake8-pyi] Add "replace with Self" fix (PYI034) (#14217)
  • [flake8-pyi] Always autofix duplicate-union-members (PYI016) (#14270)
  • [flake8-pyi] Improve autofix for nested and mixed type unions for unnecessary-type-union (PYI055) (#14272)
  • [flake8-pyi] Mark fix as unsafe when type annotation contains comments for duplicate-literal-member (PYI062) (#14268)

Server

  • Use the current working directory to resolve settings from ruff.configuration (#14352)

Bug fixes

  • Avoid conflicts between PLC014 (useless-import-alias) and I002 (missing-required-import) by considering lint.isort.required-imports for PLC014 (#14287)
  • [flake8-type-checking] Skip quoting annotation if it becomes invalid syntax (TCH001)
  • [flake8-pyi] Avoid using typing.Self in stub files pre-Python 3.11 (PYI034) (#14230)
  • [flake8-pytest-style] Flag pytest.raises call with keyword argument expected_exception (PT011) (#14298)
  • [flake8-simplify] Infer "unknown" truthiness for literal iterables whose items are all unpacks (SIM222) (#14263)
  • [flake8-type-checking] Fix false positives for typing.Annotated (TCH001) (#14311)
  • [pylint] Allow await at the top-level scope of a notebook (PLE1142) (#14225)
  • [pylint] Fix miscellaneous issues in await-outside-async detection (PLE1142) (#14218)
  • [pyupgrade] Avoid applying PEP 646 rewrites in invalid contexts (UP044) (#14234)
  • [pyupgrade] Detect permutations in redundant open modes (UP015) (#14255)
  • [refurb] Avoid triggering hardcoded-string-charset for reordered sets (FURB156) (#14233)
  • [refurb] Further special cases added to verbose-decimal-constructor (FURB157) (#14216)
  • [refurb] Use UserString instead of non-existent UserStr (FURB189) (#14209)
  • [ruff] Avoid treating lowercase letters as # noqa codes (RUF100) (#14229)
  • [ruff] Do not report when Optional has no type arguments (RUF013) (#14181)

Documentation

  • Add "Notebook behavior" section for F704, PLE1142 (#14266)
  • Document comment policy around fix safety (#14300)

0.7.3

... (truncated)

Commits
  • ed7b98c Bump version to 0.7.4 (#14358)
  • 6591775 [flake8-type-checking] Skip quoting annotation if it becomes invalid syntax...
  • 1f82731 Use CWD to resolve settings from ruff.configuration (#14352)
  • 874da9c [red-knot] Display raw characters for string literal (#14351)
  • 375cead Sync vendored typeshed stubs (#14350)
  • 9ec690b [red-knot] Add support for string annotations (#14151)
  • a48d779 [red-knot] function signature representation (#14304)
  • ba6c7f6 [pylint] Remove check for dot in alias name in `useless-import-alias (PLC04...
  • 8095ff0 enforce required imports even with useless alias (#14287)
  • 24cd592 Avoid module lookup for known classes when possible (#14343)
  • Additional commits viewable in compare view

Updates rich from 13.9.2 to 13.9.4

Release notes

Sourced from rich's releases.

The Faster is Faster release

[13.9.4] - 2024-11-01

Changed

The irregular expression release

Fix a broken regex that resulted in the slow path being chosen for some operations. This fix should result in notable speedups for some operations, such as wrapping text.

[13.9.3] - 2024-10-22

Fixed

Changelog

Sourced from rich's changelog.

[13.9.4] - 2024-11-01

Changed

[13.9.3] - 2024-10-22

Fixed

Commits

Updates numpy from 2.1.2 to 2.1.3

Release notes

Sourced from numpy's releases.

2.1.3 (Nov 2, 2024)

NumPy 2.1.3 Release Notes

NumPy 2.1.3 is a maintenance release that fixes bugs and regressions discovered after the 2.1.2 release. This release also adds support for free threaded Python 3.13 on Windows.

The Python versions supported by this release are 3.10-3.13.

Improvements

  • Fixed a number of issues around promotion for string ufuncs with StringDType arguments. Mixing StringDType and the fixed-width DTypes using the string ufuncs should now generate much more uniform results.

    (gh-27636)

Changes

  • numpy.fix now won't perform casting to a floating data-type for integer and boolean data-type input arrays.

    (gh-26766)

Contributors

A total of 15 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

  • Abhishek Kumar +
  • Austin +
  • Benjamin A. Beasley +
  • Charles Harris
  • Christian Lorentzen
  • Marcel Telka +
  • Matti Picus
  • Michael Davidsaver +
  • Nathan Goldbaum
  • Peter Hawkins
  • Raghuveer Devulapalli
  • Ralf Gommers
  • Sebastian Berg
  • dependabot[bot]
  • kp2pml30 +

Pull requests merged

A total of 21 pull requests were merged for this release.

... (truncated)

Commits
  • 98464cc Merge pull request #27690 from charris/prepare-2.1.3
  • cbda85b REL: Prepare for the NumPy 2.1.3 release [wheel build]
  • daa8699 Merge pull request #27672 from charris/backport-27666
  • 614ca19 Merge pull request #27673 from charris/backport-27636
  • e6b02d7 DOC: add release note
  • 54fd729 BUG: substantially simplify and fix issue with justification promoter
  • a90fe7c BUG: fix more issues with string ufunc promotion
  • a121864 BUG: fixes for StringDType/unicode promoters
  • f055fb9 BUG: Fix a reference count leak in npy_find_descr_for_scalar.
  • 5895c02 Merge pull request #27669 from charris/backport-27663
  • Additional commits viewable in compare view

Updates ruff from 0.6.9 to 0.7.4

Release notes

Sourced from ruff's releases.

0.7.4

Release Notes

Preview features

  • [flake8-datetimez] Detect usages of datetime.max/datetime.min (DTZ901) (#14288)
  • [flake8-logging] Implement root-logger-calls (LOG015) (#14302)
  • [flake8-no-pep420] Detect empty implicit namespace packages (INP001) (#14236)
  • [flake8-pyi] Add "replace with Self" fix (PYI019) (#14238)
  • [perflint] Implement quick-fix for manual-list-comprehension (PERF401) (#13919)
  • [pylint] Implement shallow-copy-environ (W1507) (#14241)
  • [ruff] Implement none-not-at-end-of-union (RUF036) (#14314)
  • [ruff] Implementation unsafe-markup-call from flake8-markupsafe plugin (RUF035) (#14224)
  • [ruff] Report problems for attrs dataclasses (RUF008, RUF009) (#14327)

Rule changes

  • [flake8-boolean-trap] Exclude dunder methods that define operators (FBT001) (#14203)
  • [flake8-pyi] Add "replace with Self" fix (PYI034) (#14217)
  • [flake8-pyi] Always autofix duplicate-union-members (PYI016) (#14270)
  • [flake8-pyi] Improve autofix for nested and mixed type unions for unnecessary-type-union (PYI055) (#14272)
  • [flake8-pyi] Mark fix as unsafe when type annotation contains comments for duplicate-literal-member (PYI062) (#14268)

Server

  • Use the current working directory to resolve settings from ruff.configuration (#14352)

Bug fixes

  • Avoid conflicts between PLC014 (useless-import-alias) and I002 (missing-required-import) by considering lint.isort.required-imports for PLC014 (#14287)
  • [flake8-type-checking] Skip quoting annotation if it becomes invalid syntax (TCH001)
  • [flake8-pyi] Avoid using typing.Self in stub files pre-Python 3.11 (PYI034) (#14230)
  • [flake8-pytest-style] Flag pytest.raises call with keyword argument expected_exception (PT011) (#14298)
  • [flake8-simplify] Infer "unknown" truthiness for literal iterables whose items are all unpacks (SIM222) (#14263)
  • [flake8-type-checking] Fix false positives for typing.Annotated (TCH001) (#14311)
  • [pylint] Allow await at the top-level scope of a notebook (PLE1142) (#14225)
  • [pylint] Fix miscellaneous issues in await-outside-async detection (PLE1142) (#14218)
  • [pyupgrade] Avoid applying PEP 646 rewrites in invalid contexts (UP044) (#14234)
  • [pyupgrade] Detect permutations in redundant open modes (UP015) (#14255)
  • [refurb] Avoid triggering hardcoded-string-charset for reordered sets (FURB156) (#14233)
  • [refurb] Further special cases added to verbose-decimal-constructor (FURB157) (#14216)
  • [refurb] Use UserString instead of non-existent UserStr (FURB189) (#14209)
  • [ruff] Avoid treating lowercase letters as # noqa codes (RUF100) (#14229)
  • [ruff] Do not report when Optional has no type arguments (RUF013) (#14181)

Documentation

  • Add "Notebook behavior" section for F704, PLE1142 (#14266)
  • Document comment policy around fix safety (#14300)

... (truncated)

Changelog

Sourced from ruff's changelog.

0.7.4

Preview features

  • [flake8-datetimez] Detect usages of datetime.max/datetime.min (DTZ901) (#14288)
  • [flake8-logging] Implement root-logger-calls (LOG015) (#14302)
  • [flake8-no-pep420] Detect empty implicit namespace packages (INP001) (#14236)
  • [flake8-pyi] Add "replace with Self" fix (PYI019) (#14238)
  • [perflint] Implement quick-fix for manual-list-comprehension (PERF401) (#13919)
  • [pylint] Implement shallow-copy-environ (W1507) (#14241)
  • [ruff] Implement none-not-at-end-of-union (RUF036) (#14314)
  • [ruff] Implementation unsafe-markup-call from flake8-markupsafe plugin (RUF035) (#14224)
  • [ruff] Report problems for attrs dataclasses (RUF008, RUF009) (#14327)

Rule changes

  • [flake8-boolean-trap] Exclude dunder methods that define operators (FBT001) (#14203)
  • [flake8-pyi] Add "replace with Self" fix (PYI034) (#14217)
  • [flake8-pyi] Always autofix duplicate-union-members (PYI016) (

Bumps the all group with 1 update in the /app/backend directory: [google-cloud-aiplatform](https://github.com/googleapis/python-aiplatform).
Bumps the all group with 3 updates in the /src/construct-qa directory: [google-cloud-aiplatform](https://github.com/googleapis/python-aiplatform), [ruff](https://github.com/astral-sh/ruff) and [rich](https://github.com/Textualize/rich).
Bumps the all group with 2 updates in the /src/data-pipeline directory: [ruff](https://github.com/astral-sh/ruff) and [rich](https://github.com/Textualize/rich).
Bumps the all group with 3 updates in the /src/finetune-model directory: [google-cloud-aiplatform](https://github.com/googleapis/python-aiplatform), [ruff](https://github.com/astral-sh/ruff) and [rich](https://github.com/Textualize/rich).


Updates `google-cloud-aiplatform` from 1.72.0 to 1.73.0
- [Release notes](https://github.com/googleapis/python-aiplatform/releases)
- [Changelog](https://github.com/googleapis/python-aiplatform/blob/main/CHANGELOG.md)
- [Commits](googleapis/python-aiplatform@v1.72.0...v1.73.0)

Updates `google-cloud-aiplatform` from 1.70.0 to 1.73.0
- [Release notes](https://github.com/googleapis/python-aiplatform/releases)
- [Changelog](https://github.com/googleapis/python-aiplatform/blob/main/CHANGELOG.md)
- [Commits](googleapis/python-aiplatform@v1.72.0...v1.73.0)

Updates `ruff` from 0.7.0 to 0.7.4
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.7.0...0.7.4)

Updates `rich` from 13.9.2 to 13.9.4
- [Release notes](https://github.com/Textualize/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](Textualize/rich@v13.9.2...v13.9.4)

Updates `numpy` from 2.1.2 to 2.1.3
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.1.2...v2.1.3)

Updates `ruff` from 0.6.9 to 0.7.4
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.7.0...0.7.4)

Updates `rich` from 13.9.2 to 13.9.4
- [Release notes](https://github.com/Textualize/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](Textualize/rich@v13.9.2...v13.9.4)

Updates `google-cloud-aiplatform` from 1.70.0 to 1.73.0
- [Release notes](https://github.com/googleapis/python-aiplatform/releases)
- [Changelog](https://github.com/googleapis/python-aiplatform/blob/main/CHANGELOG.md)
- [Commits](googleapis/python-aiplatform@v1.72.0...v1.73.0)

Updates `ruff` from 0.7.0 to 0.7.4
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.7.0...0.7.4)

Updates `rich` from 13.9.2 to 13.9.4
- [Release notes](https://github.com/Textualize/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](Textualize/rich@v13.9.2...v13.9.4)

Updates `numpy` from 2.1.2 to 2.1.3
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.1.2...v2.1.3)

---
updated-dependencies:
- dependency-name: google-cloud-aiplatform
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: google-cloud-aiplatform
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: rich
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: numpy
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: rich
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: google-cloud-aiplatform
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: rich
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <[email protected]>
@Charlie-XIAO Charlie-XIAO merged commit cc4ebf5 into main Nov 20, 2024
3 checks passed
@Charlie-XIAO Charlie-XIAO deleted the dependabot/pip/app/backend/all-e142efc8ea branch November 20, 2024 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant