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

bpo-37589: Fixed 138 missing dependencies in Makefile.pre.in #14758

Closed
wants to merge 1 commit into from

Conversation

vemakereporter
Copy link

@vemakereporter vemakereporter commented Jul 14, 2019

Hi, I've fixed 138 dependences missing reported.
Those issues can cause incorrect results when cpython is incrementally built.

For example, any changes in "Include/typeslots.h" will not cause "Modules/atexitmodule.o" to be rebuilt, which is incorrect.

I've tested it on my computer, the fixed version worked as expected.

Thanks
Vemake

https://bugs.python.org/issue37589

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

Copy link
Contributor

@aeros aeros left a comment

Choose a reason for hiding this comment

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

@vemakereporter Welcome and thanks for the contribution!

Since this is a rather large change and occurring in the makefile, I would strongly advise opening an issue over on the issue tracker. Smaller PRs such as typo fixes can often be submitted with an issue, but for any significant changes it's typically required. For more information on the PR process, see the devguide. Let me know if you have any further questions.

@vemakereporter
Copy link
Author

@vemakereporter Welcome and thanks for the contribution!

Since this is a rather large change and occurring in the makefile, I would strongly advise opening an issue over on the issue tracker. Smaller PRs such as typo fixes can often be submitted with an issue, but for any significant changes it's typically required. For more information on the PR process, see the devguide. Let me know if you have any further questions.

Hi @aeros167 , I've signed the CLA and created an issue on the issue tracker as you requested.
Here is the issue's link:
https://bugs.python.org/issue37589

Thanks
Vemake

@vemakereporter vemakereporter changed the title Fixed 138 missing dependencies in Makefile.pre.in Fixed 138 missing dependencies in Makefile.pre.in(issue 37589) Jul 15, 2019
@vemakereporter vemakereporter changed the title Fixed 138 missing dependencies in Makefile.pre.in(issue 37589) Fixed 138 missing dependencies in Makefile.pre.in, issue 37589 Jul 15, 2019
@vemakereporter vemakereporter changed the title Fixed 138 missing dependencies in Makefile.pre.in, issue 37589 bpo-37589: Fixed 138 missing dependencies in Makefile.pre.in Jul 15, 2019
@vemakereporter
Copy link
Author

vemakereporter commented Jul 15, 2019

@aeros167 Please take a look at this fix. If no problem, do these changes need to be included in the news?

@aeros
Copy link
Contributor

aeros commented Jul 15, 2019

@vemakereporter Yes, I would definitely recommend adding a news entry for these changes, it certainly wouldn't hurt. Currently I'm just waiting on others (particularly core devs) to submit feedback to the issue page and the PR to make sure everything looks good. I added the makefile expert to the nosy list on the issue tracker page, and I'll mention him here as well. cc @Yhg1s

@aeros
Copy link
Contributor

aeros commented Jul 16, 2019

@vemakereporter You should also make sure you get the CLA signed as well, frequently the core devs won't submit their review until it's signed (since it can't be merged before the CLA is signed). If you've submitted it and it's been over 24 hours, try refreshing the status of it manually on GitHub with the check yourself link that the @the-knights-who-say-ni bot posted.

After that, the average wait time for most PRs is around 1-2 weeks, but it can take longer if the core devs are busy and are unable to adequately review your submission.

@vemakereporter
Copy link
Author

@vemakereporter You should also make sure you get the CLA signed as well, frequently the core devs won't submit their review until it's signed (since it can't be merged before the CLA is signed). If you've submitted it and it's been over 24 hours, try refreshing the status of it manually on GitHub with the check yourself link that the @the-knights-who-say-ni bot posted.

After that, the average wait time for most PRs is around 1-2 weeks, but it can take longer if the core devs are busy and are unable to adequately review your submission.

Hi @aeros167 , I've signed the CLA, please have a look.

@vemakereporter
Copy link
Author

@Yhg1s

@aeros
Copy link
Contributor

aeros commented Aug 9, 2019

@vemakereporter I'm personally not an expert on makefile changes, so there's no further review that I can do. If there's no response from @Yhg1s or any other core devs within the next week or so, I'll bring this PR up on the python-dev mailing list. @ me to remind me to do so in case I get caught up in something else and forget.

@Yhg1s
Copy link
Member

Yhg1s commented Sep 9, 2019

Thanks for the patch, but this introduced a lot of manual work, and we'll forget to keep track of these dependencies. Also, none of the rest of the Makefile tracks dependencies to this granularity; instead, we have a few separate lists of headers. PR #15757 fixes this by just adding the missing headers to the right lists.

@Yhg1s Yhg1s closed this Sep 9, 2019
Yhg1s added a commit that referenced this pull request Sep 9, 2019
GH-15757)

The missing dependencies prevented incremental builds from working when you touched any
of these files. Based on GH-14758 by @vemakereporter.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2019
pythonGH-15757)

The missing dependencies prevented incremental builds from working when you touched any
of these files. Based on pythonGH-14758 by @vemakereporter.
(cherry picked from commit b4612f5)

Co-authored-by: T. Wouters <thomas@python.org>
Yhg1s added a commit to Yhg1s/cpython that referenced this pull request Sep 9, 2019
…kefile. (pythonGH-15757)

The missing dependencies prevented incremental builds from working when you touched any
of these files. Based on pythonGH-14758 by @vemakereporter..
(cherry picked from commit b4612f5)

Co-authored-by: T. Wouters <thomas@python.org>
miss-islington added a commit that referenced this pull request Sep 9, 2019
GH-15757)

The missing dependencies prevented incremental builds from working when you touched any
of these files. Based on GH-14758 by @vemakereporter.
(cherry picked from commit b4612f5)

Co-authored-by: T. Wouters <thomas@python.org>
miss-islington pushed a commit that referenced this pull request Sep 9, 2019
…kefile. (GH-15757) (GH-15769)

The missing dependencies prevented incremental builds from working when you touched any
of these files. Based on GH-14758 by @vemakereporter..
(cherry picked from commit b4612f5)




https://bugs.python.org/issue37589



Automerge-Triggered-By: @gpshead
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
pythonGH-15757)

The missing dependencies prevented incremental builds from working when you touched any
of these files. Based on pythonGH-14758 by @vemakereporter.
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
pythonGH-15757)

The missing dependencies prevented incremental builds from working when you touched any
of these files. Based on pythonGH-14758 by @vemakereporter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants