Closed hrshdhgd closed 7 months ago
@matentzn : The only warning that shows now is
python3.10/site-packages/curies/api.py:261
/opt/anaconda3/envs/sssom-py/lib/python3.10/site-packages/curies/api.py:261: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/
@validator("uri_prefix_synonyms") # type:ignore
which is curies
related. Relevant PR: https://github.com/biopragmatics/curies/pull/101
Wellllcome back! My god I missed you man! Hope you are well!
Haha! All well here sir!
Should I merge this?
Fixes #491
[x] Updated using
importlib_resource
instead ofpkg_resources
pkg_resources
is going to be deprecated.[x] Refactor
pandas
related code to smoothly transition to future versions and handle deprecation warnings.A value is trying to be set on a copy of a slice from a DataFrame
.apply(max)
=>.apply(np.maximum.reduce)
UserWarning: Boolean Series key will be reindexed to match DataFrame index.