New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: Replace use of pkg_resources
with importlib.metadata
#391
Comments
I think the suggested changes do not support back to Py3.6, which for some reason I think is still worth supporting for pyparsing (I think maybe in the next release I'll announce that pyparsing 3.1 will be released later in 2022, and will drop support for 3.6.) But we only explicitly use pkg_resources in one place, to locate and read the jinja2 template for the railroad diagrams. This template is only about 25 lines long, I don't see a lot of harm in just in inlining it in the railroad diagram code. Then we could just cut the use of pkg_resources and not need to come up with an equivalent. |
Hmm .. if it is some solution which may allow do the same without |
Nevertheless |
…cated pkg_resources package (issue #391)
Released in 3.0.9 |
See discussions:
astropy/astropy#11091
pypa/pip#7413
The text was updated successfully, but these errors were encountered: