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

Keep __pkginfo__.numversion a tuple #4407

Merged
merged 2 commits into from Apr 26, 2021

Conversation

nikolaik
Copy link
Contributor

@nikolaik nikolaik commented Apr 26, 2021

Description

After 2.8.1 __pkginfo__.numversion was now a list which broke pylint-django. See #4405
This avoids breaking pylint-django like described here pylint-dev/pylint-django#323

Not sure if it would make sense to fix here or downstream

Type of Changes

Type
🐛 Bug fix

Related Issue

Closes #4405

Avoids breaking pylint-django
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ! Can you also add an entry in the changelog ? We'll release 2.8.2 shortly after that.

@Pierre-Sassoulas
Copy link
Member

Downstream would make sense too (using importlib metadata is more solid I think). I'd like to get rid of this in pylint 3.0 because I want to automate version with scm_setuptool and simplify everything. (but I guess we could also add something to get the automated version in pylint).

@nikolaik
Copy link
Contributor Author

Thanks ! Can you also add an entry in the changelog ? We'll release 2.8.2 shortly after that.

@Pierre-Sassoulas like this? dfbeca9

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeap, perfect, thanks a lot !

@Pierre-Sassoulas Pierre-Sassoulas merged commit 9e2394d into pylint-dev:master Apr 26, 2021
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.

In <2.8 pylint.__pkginfo__.numversion was a tuple, not a list
2 participants