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

Deprecate doc attribute? #1414

Closed
cdce8p opened this issue Feb 28, 2022 · 8 comments · Fixed by #1457
Closed

Deprecate doc attribute? #1414

cdce8p opened this issue Feb 28, 2022 · 8 comments · Fixed by #1457
Milestone

Comments

@cdce8p
Copy link
Member

cdce8p commented Feb 28, 2022

With the new addition of doc_node (#1276), should the "old" doc attribute be deprecated and later removed?

/CC: @DanielNoord

@DanielNoord
Copy link
Collaborator

Yeah, I don't see a reason to keep it. It only adds unnecessary overhead and attributes. I'm +1.

Do we want to deprecate in 2.11 as well?

@cdce8p
Copy link
Member Author

cdce8p commented Feb 28, 2022

Do we want to deprecate in 2.11 as well?

It would make sense IMO 🤔 Need to see if I have the time to work on a PR later today.

@cdce8p cdce8p added this to the 2.11.0 milestone Feb 28, 2022
@DanielNoord
Copy link
Collaborator

@cdce8p If you want I can make a PR for this so you only have to review. That should take you less time (depending on the quality of my PR 😄)

@cdce8p
Copy link
Member Author

cdce8p commented Mar 2, 2022

@cdce8p If you want I can make a PR for this so you only have to review. That should take you less time (depending on the quality of my PR 😄)

Go for it! I did start working on it but haven't had the time to finish it. You're welcome to use my changes if you find them useful. Just know that there might still be some bugs. main...cdce8p:deprecate-doc

@DanielNoord
Copy link
Collaborator

DanielNoord commented Mar 6, 2022

Copied from #1432 (review):

What I have mind

@DanielNoord
Copy link
Collaborator

@Pierre-Sassoulas I think the work on doc is nearing its conclusion.

Perhaps we can get #1450 in 2.11 as well, but I suggest moving all other issues to the 2.12 milestone. None of the open issues are particularly pressing for pylint and the release of astroid kind of is.

@DanielNoord DanielNoord linked a pull request Mar 9, 2022 that will close this issue
1 task
@DanielNoord
Copy link
Collaborator

WIth https://github.com/PyCQA/astroid/runs/5486844569?check_suite_focus=true passing on main without any DeprecationWarnings for doc being raised I guess the work here is done 😄

@cdce8p
Copy link
Member Author

cdce8p commented Mar 9, 2022

Thanks for the help @DanielNoord 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants