-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Upgrade astroid to 3.0.0a6 #8822
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8822 +/- ##
=======================================
Coverage 95.89% 95.90%
=======================================
Files 173 173
Lines 18511 18515 +4
=======================================
+ Hits 17752 17756 +4
Misses 759 759
|
Working on patch for the stdlib primer issue (regression in pylint-dev/astroid#2231) 👀 EDIT: see pylint-dev/astroid#2235 |
bffadef
to
3fc900f
Compare
Blocked by pylint-dev/astroid#2237. |
This comment has been minimized.
This comment has been minimized.
Primer result isn't helpful (same result on #8824). I ran it locally. No change. Something's up on CI. I reopened #8790. I'll remove the commit that pins to my fix branch. Then I suggest merging this in the next few days. main will fail until we get astroid 3.0.0a7 with pylint-dev/astroid#2235, but then the question is whether we do a release for a single hotfix only OR do we just roll in the try node from pylint-dev/astroid#1867 also and publish 3.0.0a7 with that. Slight preference for the latter. The primer being down for a couple days is fine. Then we can work on compatibility with the new try node in a separate PR from this one (#7767). @Pierre-Sassoulas your thoughts? 🙏 |
1f729f9
to
3fc900f
Compare
Main would fail until we release astroid 3.0.0a7 ? |
Yeah, if we merge this then main will fail until we upgrade to the next astroid alpha. If that's not okay, then we can do an astroid alpha just for the regression fix. I just didn't want to create extra work. Or we can hold this PR and merge it into #7767, but I wanted to avoid that because they're two large PRs. |
Let's release a new astroid, this is less work than telling all contributors that the primer also fail on main (it's not that much work, two |
Sure! Thanks. |
@Pierre-Sassoulas the pin didn't work. The error message from pip is difficult to make sense of. I'll go see if there's an open issue against pip. In any case, should I just rebase #7767 on top of these first three commits and just do a single PR anyway? |
Let's go with a single PR it seems to be the simpler option ? If not do whatever you find more conveniant :D I'm on mobile I can't release astroid 3.0.0a7 right now, I expect to be able to before tommorow |
b546312
to
17cc899
Compare
Never mind! One file said "astroid" and the other said "astroid.git", and standardizing them fixed the pip resolver. This should be good to merge. |
🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉 This comment was generated for commit 17cc899 |
Type of Changes
Description
Prerequisite for adding Python 3.12 compatibility. 3.12 CI jobs will be added later in #8718.
Skipping news because we have several pre-releases to go before announcing the astroid version to be used for 3.0 final.