Skip to content

fix: Remove tests and examples for deprecated models#1012

Open
frreiss wants to merge 7 commits intogenerative-computing:mainfrom
frreiss:drop_3.3
Open

fix: Remove tests and examples for deprecated models#1012
frreiss wants to merge 7 commits intogenerative-computing:mainfrom
frreiss:drop_3.3

Conversation

@frreiss
Copy link
Copy Markdown
Collaborator

@frreiss frreiss commented May 5, 2026

Misc PR

Type of PR

  • Bug Fix
  • New Feature
  • Documentation
  • Other

Description

Testing

  • Tests added to the respective file if code was changed
  • New code has 100% coverage if code as added
  • Ensure existing tests and github automation passes (a maintainer will kick off the github automation when the rest of the PR is populated)

Attribution

  • AI coding assistants used

frreiss added 7 commits May 1, 2026 21:37
Signed-off-by: Fred Reiss <frreiss@us.ibm.com>
Signed-off-by: Fred Reiss <frreiss@us.ibm.com>
Signed-off-by: Fred Reiss <frreiss@us.ibm.com>
Signed-off-by: Fred Reiss <frreiss@us.ibm.com>
Signed-off-by: Fred Reiss <frreiss@us.ibm.com>
Signed-off-by: Fred Reiss <frreiss@us.ibm.com>
Signed-off-by: Fred Reiss <frreiss@us.ibm.com>
@frreiss frreiss requested review from a team as code owners May 5, 2026 00:01
@frreiss frreiss requested review from ajbozarth and markstur May 5, 2026 00:01
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

The PR description has been updated. Please fill out the template for your PR to be reviewed.

@frreiss frreiss changed the title Remove tests and examples for deprecated models fix: Remove tests and examples for deprecated models May 5, 2026
@github-actions github-actions Bot added the bug Something isn't working label May 5, 2026
Copy link
Copy Markdown
Contributor

@ajbozarth ajbozarth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of items to fix or clarify before merge.


This directory contains examples for using Mellea's intrinsic functions - specialized model capabilities accessed through adapters.

<<<<<<< HEAD
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unresolved merge conflict markers here (lines 5, 51–52). Needs to be resolved before merge.

Comment thread pyproject.toml
non_interactive = true
disable_error_code = ["empty-body", "import-untyped"]
python_version = "3.11"
python_version = "3.12"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mypy python_version bump from 3.113.12 looks unrelated to the stated scope. If it's intentional, requires-python in pyproject.toml and the CI matrix would need updating too. If it slipped in by accident, please revert.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pre-commit scripts would not run for me on Python 3.11. Are you having a different experience?

return result_json


def check_context_relevance(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check_context_relevance() has been a public API since v0.2.0 and shipped through v0.4.2. Removing it as a hard delete will AttributeError any callers without warning. Should this go through a deprecation cycle (e.g., keep the function but raise DeprecationWarning for one release), or has a decision been made to drop it hard given the underlying adapter is gone?

_INPUT_ARGS_DIR = _TEST_DATA_DIR / "input_args"


def _substitute_root(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_substitute_root and _dump_output use Sphinx RST :param:/:returns: docstring style. The project follows Google style — Args: / Returns: sections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove tests and examples for deprecated models

2 participants