-
Notifications
You must be signed in to change notification settings - Fork 4
Labels
gempyorConcerns the Python core.Concerns the Python core.good first issueGood for newcomers.Good for newcomers.
Milestone
Description
Currently the gempyor
test suite throws 28 warnings of 2 types, both of which are deprecation related. "Fixing" this issue wouldn't involve a behavior change, but rather just updating the code to avoid the deprecated behavior/functions. First one is from pandas
:
tests/outcomes/test_outcomes.py: 13 warnings
/Users/twillard/Desktop/GitHub/HopkinsIDD/flepiMoP/flepimop/gempyor_pkg/src/gempyor/outcomes.py:385: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
hpar = pd.concat(
And second one is from confuse
:
tests/utils/test_utils2.py: 15 warnings
/Users/twillard/Desktop/GitHub/HopkinsIDD/flepiMoP/venv/lib/python3.12/site-packages/confuse/util.py:118: DeprecationWarning: 'pkgutil.get_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead
loader = pkgutil.get_loader(name)
I've already addressed the first one, going to take a look at the second one, making an issue for posterity.
Metadata
Metadata
Assignees
Labels
gempyorConcerns the Python core.Concerns the Python core.good first issueGood for newcomers.Good for newcomers.