11 Commits

Author SHA1 Message Date
Nathan Baulch
5dfeafa56c Fix tools typos (#38030)
Continuation of #37541 but focused on tools.

FYI, typos are:
* atifacts
* building
* certern
* commadline
* dependences
* displayes
* docstinrg
* doesn
* faied
* ifle
* manylinx
* onveniently
* passthough
* reqistration
* slighly
* subsituding
* testca
* unices
* uniqifies

Closes #38030

PiperOrigin-RevId: 827772625
2025-11-03 21:11:49 -08:00
Xuan Wang
2e9f5f1e4a [Python Misc] Add CSM package to verify_python_release (#36963)
<!--

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 #36963

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36963 from XuanWang-Amos:add_csm_to_verify_python_release 3e64130771bdb1f0e7cd633cd9c1b570f16651b6
PiperOrigin-RevId: 644470995
2024-06-18 12:14:50 -07:00
Xuan Wang
297e22cb5f [Python Distribution] Pin setuptools and wheel to a single version (#36400)
<!--

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 #36400

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36400 from XuanWang-Amos:python_distribution bd2bd480312b3e75e711216093105f58450b830a
PiperOrigin-RevId: 627114699
2024-04-22 12:11:59 -07: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
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
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