From e9f74fe86cb12005bf484cd727e87958b4ae48dc Mon Sep 17 00:00:00 2001 From: Bill Sacks Date: Mon, 26 Jun 2023 16:55:11 -0600 Subject: [PATCH] Remove attributes that give deprecation warnings in some circumstances With some test environments, these attribute settings give: DeprecationWarning: Implicit None on return values is deprecated and will raise KeyErrors. As far as I can tell, these aren't needed, so I'm removing them. See https://github.com/esmf-org/esmf/issues/140 for details. Resolves esmf-org/esmf#140 --- src/addon/esmpy/src/esmpy/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/addon/esmpy/src/esmpy/__init__.py b/src/addon/esmpy/src/esmpy/__init__.py index fcfb11d165..3845eac743 100644 --- a/src/addon/esmpy/src/esmpy/__init__.py +++ b/src/addon/esmpy/src/esmpy/__init__.py @@ -102,10 +102,6 @@ __description__ = msg["Summary"] __requires__ = msg["Requires-Dist"] __requires_python__ = msg["Requires-Python"] -# these don't seem to work with setuptools pyproject.toml -__author__ = msg["Author"] -__homepage__ = msg["Home-page"] -__obsoletes__ = msg["obsoletes"] #### IMPORT LIBRARIES #########################################################