Skip to content

Commit

Permalink
MAINT: Drop importlib_metadata since Python 3.8 is no longer supported
Browse files Browse the repository at this point in the history
  • Loading branch information
bocklund committed Aug 12, 2024
1 parent 0ed90a2 commit 398572b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion scheil/ordering.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 398572b

Please sign in to comment.