Skip to content

Conversation

@niralbhalodia
Copy link
Contributor

Current test pass rate is 78.5% (157/200 passing). Fix all failing tests and skipped tests to achieve 95%+ reliability.

It's approved to 78.5% to 81%., We are still working on this

Copy link
Contributor

@DarshanKumar89 DarshanKumar89 left a comment

Choose a reason for hiding this comment

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

👍

@DarshanKumar89
Copy link
Contributor

Error encountered:

Code
ignore::pydantic.:PydanticDeprecatedSince20
AttributeError: module 'pydantic' has no attribute '
'
Solution:

The filter line ignore::pydantic.*:PydanticDeprecatedSince20 is invalid. In Python's warnings filtering system, the module should be a specific module name, not a wildcard. Also, Pydantic's warnings are tied to specific classes/modules.

Recommended fix:
Identify where this warning filter is added (likely in your test configuration, pytest.ini, or in your code) and replace:

INI

Incorrect:

ignore::pydantic.*:PydanticDeprecatedSince20

Correct (if you want to ignore warnings from pydantic):

ignore::pydantic:PydanticDeprecatedSince20
or, for more targeted filtering,

INI
ignore::UserWarning:pydantic.main
Action steps:

Find the warning filter line in your pytest configuration or code.
Replace any use of pydantic.* with just pydantic or the specific submodule/class as appropriate.
If this filter is in your workflow or test setup code, link to the file at:

.github/workflows/ci.yml (ref: 6b660c2a0bed9faf21921fdb0fcd1e342cb5797c)
Summary:
Replace or remove the warning filter referencing pydantic.* in your configuration to avoid this AttributeError. Use a valid module name such as pydantic.

@niralbhalodia please check

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants