Commit Graph

25 Commits

Author SHA1 Message Date
Yijie Ma 7b0eb3be03 [SOT] Add a "Commits with missing PR number" section in the release note draft (#35658)
This adds the commit info (author, title, link to commit, link to CL) for the commits that are missing the PR number to the release note draft.

<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes #35658

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35658 from yijiem:fix-release-note-script 7254e4f7de
PiperOrigin-RevId: 601539726
2024-01-25 13:05:47 -08:00
Yijie Ma 2afff6b021 [SOT] Show warnings to the release manager about the commits that do not have PR info (CL-first workflow) (#35535)
<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes #35535

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35535 from yijiem:fix-release-note-script 97ccbc7ad2
PiperOrigin-RevId: 597925743
2024-01-12 12:52:49 -08:00
Yijie Ma 5e8215d2b4 [SOT] Update release note automation (#35494)
<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes #35494

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35494 from yijiem:fix-release-note-script ed04b18ee8
PiperOrigin-RevId: 597327879
2024-01-10 12:51:36 -08:00
Xuan Wang 07b71b77ee
[Python Relase] Add xds-protos to release verification script (#34281)
<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
2023-09-07 13:52:17 -07:00
Sergii Tkachenko de6ed9ba9f
[Python] Migrate from yapf to black (#33138)
- Switched  from yapf to black
- Reconfigure isort for black
- Resolve black/pylint idiosyncrasies 

Note: I used `--experimental-string-processing` because black was
producing "implicit string concatenation", similar to what described
here: https://github.com/psf/black/issues/1837. While currently this
feature is experimental, it will be enabled by default:
https://github.com/psf/black/issues/2188. After running black with the
new string processing so that the generated code merges these `"hello" "
world"` strings concatenations, then I removed
`--experimental-string-processing` for stability, and regenerated the
code again.

To the reviewer: don't even try to open "Files Changed" tab 😄 It's
better to review commit-by-commit, and ignore `run black and isort`.
2023-06-09 15:08:55 -07:00
Richard Belleville ead11434c3
Update release verification script for now PyPi API (#31007) 2022-09-15 15:42:16 -07:00
Richard Belleville e79b2a9b32
Add Documentation for Supported Bazel Versions (#29191)
* Create Bazel support range docs

* Review comments

* Move supported versions file
2022-03-25 10:45:06 -07:00
AJ Heller 4ffcef7932
Release notes generator script: add retries with exponential backoff (#29077)
* Release notes script: add retries with exponential backoff

* Automated change: Fix sanity tests

Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2022-03-10 18:38:55 -08:00
Richard Belleville e79f577a70
Fix python 3 encoding issues in release notes script (#28002) 2021-11-10 15:45:44 -08:00
Richard Belleville 59693b7e72
Migrate Infrastructure Scripts to Python 3 (#27135)
* Run 2to3 on tools directory

* Delete github_stats_tracking

* Re-run 2to3

* Remove unused script

* Remove unused script

* Remove unused line count utility

* Yapf. Isort

* Remove accidentally included file

* Migrate tools/distrib directory to python 3

* Remove unnecessary shebang

* Restore line_count directory

* Immediately convert subprocess.check_output output to string

* Take care of Python 2 shebangs

* Invoke scripts using a Python 3 interpreter

* Yapf. Isort

* Try installing Python 3 first

* See if we have any Python 3 versions installed

* Add Python 3.7 to Windows path

* Try adding a symlink

* Try to symlink differently

* Install six for Python 3

* Run run_interop_tests with python 3

* Try installing six in python3.7 explicitly

* Revert "Try installing six in python3.7 explicitly"

This reverts commit 2cf60d72f3.

* And debug some more

* Fix issue with jobset.py

* Add debug for CI failure

* Revert microbenchmark changes
2021-11-08 08:55:25 -08:00
Richard Belleville b6cc72f129
Revert "Run 2to3 on tools directory (#26002)" (#27183)
This reverts commit a388361c3d.
2021-08-30 12:29:20 -07:00
Richard Belleville a388361c3d
Run 2to3 on tools directory (#26002)
* Run 2to3 on tools directory

* Delete github_stats_tracking

* Re-run 2to3

* Remove unused script

* Remove unused script

* Remove unused line count utility

* Yapf. Isort

* Remove accidentally included file

* Restore line_count directory
2021-08-30 09:25:21 -07:00
Lidi Zheng 2231c2ba77
Introduce Python import sorting to our sanity test suite (#26768)
* Add isort_code.sh to sanity tests

* Run tools/distrib/isort_code.sh

* Fine tune the import order for relative imports

* Make pylint and project generation happy

* Fix a few corner cases

* Use --check instead of --diff

* The import order impacts test result somehow

* Make isort print diff and check output at the same time

* Let tools/run_tests/python_utils be firstparty library

* Run isort against latest HEAD
2021-07-26 12:31:21 -07:00
Richard Belleville 5b030b5aef
Add grpcio-admin and grpcio-csds to verification script (#26329) 2021-05-20 17:11:56 -07:00
Yash Tibrewal 9990ce0dc4
Fix typo (#26215) 2021-05-11 13:11:35 -07:00
Richard Belleville a807466e4c
Enable backport of unmerged PRs (#25502)
* Enable backport of unmerged PRs

* Fix backport of merged PR

* Wordsmith

* Convert help text to heredoc

* Formatting
2021-02-20 16:11:59 -08:00
Richard Belleville 88cb81baf7 Add copyright notice 2021-02-16 15:26:42 -08:00
Richard Belleville d75a3162b1 Readd commented git fetch 2021-02-16 14:33:40 -08:00
Richard Belleville d37beca576 Add backport script 2021-02-16 14:14:57 -08:00
AJ Heller 309020e72b Teach the release notes script to find GitHub Squash and Merge PRs 2021-02-10 20:37:55 -08:00
Patrice Chalin 7f5c7d57a4
Copyedits to release header 2020-11-11 19:09:39 -05:00
Esun Kim 7be821ac47 Yapf all target python sources 2020-01-03 09:25:10 -08:00
Richard Belleville ba761f77c5 Yapf. Pylint. Long-form birth certificate. 2019-07-12 15:21:11 -07:00
Richard Belleville a0d9ec81a5 Add a sanity check for the Python release process.
This fixes https://github.com/grpc/grpc/issues/19632.
2019-07-12 14:11:26 -07:00
Srini Polavarapu 8a698e2cfd release notes generation script 2019-04-03 12:23:01 -07:00