Skip to content

test warnings #150

@turbomam

Description

@turbomam
=============================== warnings summary ===============================
.venv/lib/python3.10/site-packages/nmdc_schema/nmdc.py:36
  /Users/MAM/Documents/gitrepos/sample-annotator/.venv/lib/python3.10/site-packages/nmdc_schema/nmdc.py:36: DeprecationWarning: The LinkML dataclass extension patch is deprecated and will be removed in a future release.
  If you're currently using Python < 3.13, where this patch still applies, you should:
    • Upgrade your LinkML tooling to version >= 1.9.0 (which no longer needs this patch), OR
    • Migrate to Pydantic models if you're using LinkML's generated classes at runtime.
  
    from linkml_runtime.utils.dataclass_extensions_376 import dataclasses_init_fn_with_kwargs

.venv/lib/python3.10/site-packages/quantulum3/classifier.py:12
  /Users/MAM/Documents/gitrepos/sample-annotator/.venv/lib/python3.10/site-packages/quantulum3/classifier.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

.venv/lib/python3.10/site-packages/pkg_resources/__init__.py:3147
  /Users/MAM/Documents/gitrepos/sample-annotator/.venv/lib/python3.10/site-packages/pkg_resources/__init__.py:3147: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

.venv/lib/python3.10/site-packages/linkml/generators/pydanticgen/template.py:552: 12 warnings
  /Users/MAM/Documents/gitrepos/sample-annotator/.venv/lib/python3.10/site-packages/linkml/generators/pydanticgen/template.py:552: PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0.
    imports=imports, **{k: getattr(self, k, None) for k in self.model_fields if k != "imports"}

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================= 9 passed, 15 warnings in 54.26s ========================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions