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

feat: add a tool to update internal dependencies #1321

Merged
merged 13 commits into from
Aug 3, 2023

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Jul 16, 2023

Before this change the updates to the dependencies would happen very
seldomly, with this script, I propose we do it before each minor version
release. Adding a shell script and adding a reminder to the release
process may help with that.

@aignas aignas changed the title feat: add a tool to update dependencies feat: add a tool to update internal dependencies Jul 16, 2023
@aignas aignas force-pushed the chore/upgrade-internal-deps branch from 3b2b838 to 9d2dd29 Compare July 17, 2023 11:41
Copy link
Collaborator

@chrislovecnm chrislovecnm left a comment

Choose a reason for hiding this comment

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

Thank you! Just nit picks

tools/print_pip_deps.sh Outdated Show resolved Hide resolved
tools/print_pip_deps.sh Outdated Show resolved Hide resolved
tools/print_pip_deps.sh Outdated Show resolved Hide resolved
tools/print_pip_deps.sh Outdated Show resolved Hide resolved
@aignas
Copy link
Collaborator Author

aignas commented Jul 19, 2023

@chrislovecnm, thanks for the initial comments. I have decided to rewrite the jq based approach with a little less magical Python implementation. This means that users don't have to have any extra dependencies on their machines.

@chrislovecnm
Copy link
Collaborator

@aignas I'm going to let @rickeylev or some other Python guru do a code review on this. My only comment is that you don't have public function docs.

DEVELOPING.md Outdated Show resolved Hide resolved
DEVELOPING.md Outdated Show resolved Hide resolved
DEVELOPING.md Outdated Show resolved Hide resolved
tools/update_file.py Outdated Show resolved Hide resolved
tools/update_file.py Outdated Show resolved Hide resolved
tools/update_file.py Outdated Show resolved Hide resolved
Copy link
Collaborator Author

@aignas aignas left a comment

Choose a reason for hiding this comment

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

Added extra tests.

DEVELOPING.md Outdated Show resolved Hide resolved
tools/update_file.py Outdated Show resolved Hide resolved
@aignas aignas force-pushed the chore/upgrade-internal-deps branch from 97b0e1b to 4ef2d0d Compare August 2, 2023 04:36
@aignas aignas force-pushed the chore/upgrade-internal-deps branch from 4ef2d0d to ccd5ce0 Compare August 3, 2023 09:36
@rickeylev rickeylev added this pull request to the merge queue Aug 3, 2023
Merged via the queue into bazelbuild:main with commit c99aaec Aug 3, 2023
2 checks passed
@aignas aignas deleted the chore/upgrade-internal-deps branch May 13, 2024 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants