Skip to content
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

The version command should increment the version in all files instead of only pyproject.toml #3926

Closed
2 tasks done
aahnik opened this issue Apr 12, 2021 · 3 comments
Closed
2 tasks done
Labels
status/duplicate Duplicate issues

Comments

@aahnik
Copy link

aahnik commented Apr 12, 2021

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

poetry_version_patch

running poetry version patch does not update version string in __init__.py files.

poetry would be more wholesome if it did so. I am aware of bumpversion, but having version management, natively in poetry would be awesome.

@aahnik aahnik added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Apr 12, 2021
@finswimmer
Copy link
Member

Hello @aahnik,

this has been asked before: #144

Use importlib.metadata (importlib_metadata for python < 3.8): #1036 (comment)

fin swimmer

@finswimmer finswimmer added status/duplicate Duplicate issues and removed kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Apr 12, 2021
@aahnik
Copy link
Author

aahnik commented Apr 12, 2021

@finswimmer thanks a lot. this is the perfect solution. one source of truth for the version.

Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

2 participants