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

Question about version string #220

Closed
kakulukia opened this issue Jun 15, 2018 · 3 comments
Closed

Question about version string #220

kakulukia opened this issue Jun 15, 2018 · 3 comments

Comments

@kakulukia
Copy link

kakulukia commented Jun 15, 2018

In my projects i have the habit of putting the version string under <myproject>/__init__.py as

__version__ = '1.0.2'

So that its not just deco but usable from within python. Since setup.py was a Python file, i was able to just reuse that version string for the package info. With pyproject.toml not being able to execute Python, whats the best way to get my old functionality back?
Otherwise id have to change the version by hand.

BTW: Up until now i was/am using bumpversion to update the version number, which take a list of files to update - maybe poetry could use the same technique?

@jgirardet
Copy link
Contributor

you should search a little before asking many questions. there is an issue opened on this. #144

@kakulukia
Copy link
Author

well, i did search for version but didnt spot that issue

dimbleby pushed a commit to dimbleby/poetry that referenced this issue Apr 21, 2022
Fix an issue where all default dependencies were removed instead of just the selected one (fixes python-poetry#4632)
Copy link

github-actions bot commented Mar 3, 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 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants