You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like development on pybtex might have stalled (no release since Jan 2021), and the following would error out on MacOS Python 3.13:
frompybtex.databaseimportBibliographyData, Entry
Gives:
Traceback (most recent call last):
File "/Users/yang/developer/pymatgen/debug/test_pybtex_install.py", line 1, in <module>
from pybtex.database import BibliographyData, Entry
File "/Users/yang/developer/pymatgen/venv313/lib/python3.13/site-packages/pybtex/database/__init__.py", line 44, in <module>
from pybtex.plugin import find_plugin
File "/Users/yang/developer/pymatgen/venv313/lib/python3.13/site-packages/pybtex/plugin/__init__.py", line 26, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Looks like development on
pybtex
might have stalled (no release since Jan 2021), and the following would error out on MacOS Python 3.13:Gives:
This is an already fixed issue from pybtex's side but they haven't got a release with this patch yet.
Should we consider replace it (python-bibtexparser for example) or make it optional as it's only used in two places across the code base:
cif.CifParser.get_bibtex_string
pymatgen/src/pymatgen/io/cif.py
Lines 1349 to 1361 in 5b997f7
Helper function needed by
util.provenance.StructureNL
pymatgen/src/pymatgen/util/provenance.py
Lines 38 to 53 in 5b997f7
Related:
The text was updated successfully, but these errors were encountered: