You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing dependency on Include/cpython/frameobject.h #85646
Funny, it told me just one file had changed (Makefile.pre.in). I was attempting to make a PR against that one change from my fork of master to the main repo. Let me take another crack at it.
I see what @vstinner is talking about. If you look at those commit messages, they all look to be of the form "Merge remote-tracking branch 'upstream/master'". That is, they are me syncing python/cpython/master to python/smontanaro/master. There is, in fact, just the one file changed, Makefile.pre.in, with the addition of a single dependency.
I don't know how to get rid of all those commit messages.
Activity
smontanaro commentedon Aug 4, 2020
When Include/cpython/frameobject.h was created, there was no dependency added to Makefile.pre.in.
smontanaro commentedon Aug 4, 2020
Created a pull request. Hopefully I didn't muff the protocol too badly.
vstinner commentedon Aug 4, 2020
Your PR has 124 commits, that looks strange.
smontanaro commentedon Aug 4, 2020
Funny, it told me just one file had changed (Makefile.pre.in). I was attempting to make a PR against that one change from my fork of master to the main repo. Let me take another crack at it.
smontanaro commentedon Aug 4, 2020
I see what @vstinner is talking about. If you look at those commit messages, they all look to be of the form "Merge remote-tracking branch 'upstream/master'". That is, they are me syncing python/cpython/master to python/smontanaro/master. There is, in fact, just the one file changed, Makefile.pre.in, with the addition of a single dependency.
I don't know how to get rid of all those commit messages.
smontanaro commentedon Aug 4, 2020
Aside from one where I erroneously committed a change to the wrong
branch, then backed it out immediately.
vstinner commentedon Aug 4, 2020
I suggest you to create a local branch per change, rather than using "master".
I consider that "origin" is git@github.com:python/cpython.git. Check your remotes with "git remote -v".
Example where "master" is your PR 21732.
git switch -c frameobject master
git switch master
git reset --hard origin/master # revert your changes
Then fix your frameobject:
git switch master
git fetch && git merge --ff # ensure that you are up to date
git switch frameobject
git rebase master
Check what you get:
git log master.. --pretty=oneline
You should see only one commit.
Close your PR and create a new one on the "frameobject" branch.
smontanaro commentedon Aug 4, 2020
Hmmm... Seems like a bunch of extra work for a one-line change to a
Makefile... There's no easier way to create PRs for these trivial
changes?
gvanrossum commentedon Aug 8, 2020
Sorry to rain on your parade, but couldn’t this be a new package on PyPI?
gvanrossum commentedon Aug 8, 2020
Wrong issue, sorry. (Bpo bug?)
vstinner commentedon Oct 27, 2020
New changeset a6879d9 by Victor Stinner in branch 'master':
bpo-41474, Makefile: Add dependency on cpython/frameobject.h (GH-22999)
a6879d9
miss-islington commentedon Oct 27, 2020
New changeset 562ad76 by Miss Skeleton (bot) in branch '3.9':
bpo-41474, Makefile: Add dependency on cpython/frameobject.h (GH-22999)
562ad76