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

Add alternative way to retrieve version number from pyproject.toml #531

Merged
merged 4 commits into from Nov 25, 2022

Conversation

lieryan
Copy link
Member

@lieryan lieryan commented Nov 25, 2022

Description

Add alternative way to retrieve version number from pyproject.toml, this may be necessary when rope is being vendored by integration packages and therefore is not properly installed into site-packages, such as with Vim's python-mode.

Checklist (delete if not relevant):

  • I have added tests that prove my fix is effective or that my feature works
  • I have updated CHANGELOG.md

…lly installed

python-mode for Vim vendored rope in a way that breaks this way of
getting version number. Use regular expression instead as a fallback
mechanism to parse pyproject.toml.
@lieryan lieryan added this to the 1.5.0 milestone Nov 25, 2022
@lieryan lieryan self-assigned this Nov 25, 2022
@lieryan lieryan merged commit f11e18a into master Nov 25, 2022
@lieryan lieryan deleted the fix-python-mode branch November 25, 2022 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant