pepkit / peppy

Project metadata manager for PEPs in Python
https://pep.databio.org/peppy
BSD 2-Clause "Simplified" License
37 stars 13 forks source link

Export `PEP_LATEST_VERSION` in `__init__.py` #410

Closed nleroy917 closed 1 year ago

nleroy917 commented 2 years ago

I think it would be useful to have access to the latest PEP version from peppy. I believe this was discussed at the last infrastructure meeting.

Currently, peppy raises an error if I try to access it:

ImportError: cannot import name 'PEP_LATEST_VERSION' from 'peppy' (.venv/lib/python3.9/site-packages/peppy/__init__.py)
nleroy917 commented 1 year ago

I was able to get this using:

from peppy.const import PEP_LATEST_VERSION