Skip to content

Conversation

@blag
Copy link
Contributor

@blag blag commented Apr 3, 2020

Follow up on #4895 to pin pip and setuptools dependencies to specific versions.

I picked the current latest versions because it's less work in the future.

I believe we will need to update these versions in many other repositories as well. This is simply the first one.

This PR fixes a bug in the write-header.sh script so it now correctly copies the "magic comment" lines before injecting its comment header. Editors should now respect the encoding of the generated dist_utils.py files. Additionally, I tweaked some of the behavior so it doesn't print lines that begin with # // (a C++-esque comment within a Python comment), and included instructions for re-generating all of the subpackage dist_utils.py files, since I was not aware that this needed to be done when I changed the master dist_utils.py script in #4895 and future developers may not know either. Ideally we would make this a CI lint check, but I don't think that's hugely necessary at this point.

@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines. Requires some effort to review. label Apr 3, 2020
@blag blag requested a review from arm4b April 3, 2020 01:50
@blag blag added this to the 3.2.0 milestone Apr 3, 2020
@blag blag force-pushed the pin-single-version branch from 8cd882e to 4067d83 Compare April 3, 2020 03:14
@blag blag merged commit 8c592e1 into master Apr 3, 2020
@blag blag deleted the pin-single-version branch April 3, 2020 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

complexity:easy documentation enhancement external dependency regression size/L PR that changes 100-499 lines. Requires some effort to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants