From 398572b365f0ecb7ceb858e513fe691269ba27d2 Mon Sep 17 00:00:00 2001 From: Brandon Bocklund Date: Mon, 12 Aug 2024 07:52:20 -0700 Subject: [PATCH] MAINT: Drop importlib_metadata since Python 3.8 is no longer supported --- scheil/ordering.py | 2 +- setup.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scheil/ordering.py b/scheil/ordering.py index fa2d37f..7124361 100644 --- a/scheil/ordering.py +++ b/scheil/ordering.py @@ -118,7 +118,7 @@ def rename_disordered_phases(eq_result, ordering_records): -------- >>> from pycalphad import Database, equilibrium, variables as v >>> import pycalphad.tests.databases - >>> from importlib_resources import files + >>> from importlib.resources import files >>> dbf = Database(str(files(pycalphad.tests.databases).joinpath("alcfe_b2.tdb"))) >>> comps = ['AL', 'FE', 'VA'] >>> phases = list(dbf.phases.keys()) diff --git a/setup.py b/setup.py index 91fb559..61edeef 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,6 @@ def readme(fname): long_description_content_type='text/x-rst', url='https://scheil.readthedocs.io/', install_requires=[ - 'importlib_metadata', # drop for Python>=3.8 'numpy', 'scipy', 'setuptools_scm[toml]>=6.0',