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
Closing this as importlib.metadata is the way to go. A possible pattern to support python <3.8 and >=3.8 I described here.
If this is the recommended solution, then poetry new should be updated to use it. Currently, the poetry new command adds __version__ to __init__.py, but then poetry version doesn't update it. This incompatibility between the two commands is confusing for me, and I imagine other newcomers.
If this is the recommended solution, then
poetry new
should be updated to use it. Currently, thepoetry new
command adds__version__
to__init__.py
, but thenpoetry version
doesn't update it. This incompatibility between the two commands is confusing for me, and I imagine other newcomers.Originally posted by @albrow in #144 (comment)
The text was updated successfully, but these errors were encountered: