Closed asottile closed 3 years ago
Thanks! I missed this.
I gather the right thing to do here is to switch to importlib.metadata.entry_points(), right? We do not need to support older Pythons.
Thanks! I missed this.
I gather the right thing to do here is to switch to importlib.metadata.entry_points(), right? We do not need to support older Pythons.
importlib.metadata
is new in python 3.8 so I think the backport would still be needed in 3.7?
Good point. Since we're supporting 3.7 through December, using this fix makes sense.
Just needs a conventional commit style message. Can you prefix the commit summary with "fix: "? (More details: https://pystan.readthedocs.io/en/latest/contributing.html#commit-messages)
Good point. Since we're supporting 3.7 through December, using this fix makes sense.
Just needs a conventional commit style message. Can you prefix the commit summary with "fix: "? (More details: https://pystan.readthedocs.io/en/latest/contributing.html#commit-messages)
I won't because I am personally against the "conventional commits" practice -- feel free to edit my commit
Thanks! Added in 100604ade9649a2d6dc457d1e9f1feef5394ea23
pystan imports
pkg_resources
(provided bysetuptools
): https://github.com/stan-dev/pystan/blob/50670e465e13e6d74ea506773eaa36633b5ad4ea/stan/plugins.py#L4an alternative implementation would be to use
importlib.metadata
(or theimportlib-metadata
backport)