workflows: add ubuntu-latest to beam_PreCommit_Python_ML, beam_PostCommit_Python, and beam_PreCommit_Python_Coverage#7
Conversation
…eTracker since the difference between two offsets does not exceed the maximum value of the unsigned representation.
|
Review these changes at https://app.gitnotebooks.com/mohamedawnallah/beam/pull/7 |
There was a problem hiding this comment.
Summary of Changes
Hello @mohamedawnallah, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request streamlines the Python environment setup within the CI/CD workflows by ensuring pip is always up-to-date and by removing specific pip version constraints from certain test environments. These changes aim to improve the stability and compatibility of Python-based tests and builds, particularly when running on newer operating system environments like ubuntu-latest, as indicated by the PR title.
Highlights
- Python Environment Setup: The setup-environment-action now includes a step to upgrade pip to its latest version, ensuring that Python environments used in workflows benefit from the most recent pip features and bug fixes.
- Dependency Management: Explicit pip version constraints (pip==25.0.1) have been removed from the py{39,310,311}-ml and py310-ml-tensorflow test environments within tox.ini. This change allows these environments to utilize the globally upgraded pip version, reducing potential conflicts and simplifying dependency management.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
This reverts commit c8d88b0.
* Add interactive dependency to notebooks * Fix dupe
…ignedLong instead of BigDecimal to calculate progress
…ache#35644) * Add testing for Managed Schema Registry support * Add testing that runs on Dataflow * Clean up test and use apache beam testing resources * Spotless * Trigger GitHub Actions. No Code Changes * Push Write changes for testing * add test to read and write with Managed KafkaIO using SR * Testing Write Transform * Add @ignore for faster testing. WILL REMOVE BEFORE MERGE. * Finish the Write schema transform provider and add tests * Refactor write class to use a generic method for the conversion function * Add extra logging and clean up variable names to address comments.
Fix PostCommit Python job
… Postgres schema transform providers (apache#36103)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.9.1 to 1.10.1. - [Release notes](https://github.com/spf13/cobra/releases) - [Commits](spf13/cobra@v1.9.1...v1.10.1) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-version: 1.10.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…erver] (apache#35473) * .github+sdks+website: update docs and add exmples for CloudSQL handler * Update website/www/site/content/en/documentation/transforms/python/elementwise/enrichment-cloudsql.md Co-authored-by: Danny McCormick <dannymccormick@google.com> * sdks/python: fix issue regards generic binding parameteres in CloudSQL * sdks/python: use binding parameters instead of `{}` * CHANGES.md: update release notes * website: update beam version * sdks/python: add `ALLOYDB_PASSWORD` to `tox.ini` * sdks/python: fix unbounded local variable * CHANGES.md: fix white space issue * sdks/python: make table_id globally unique in `enrichment_test` * sdks/python: fix data type issue * sdks/python: enforce CloudSQL tests to run only on py transforms flow * sdks/python: remove `uses_testcontainer` pytest marker from CloudSQL * sdks/python: skip google cloudsql tests unless `ALLOYDB_PASSWORD` found * workflows: remove `ALLOYDB_PASSWORD` from beam precommit python coverage * sdks/python: fix duplicate data issue * sdks/python: fix linting * sdks/python: reorder table drop approach --------- Co-authored-by: Danny McCormick <dannymccormick@google.com>
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Please add a meaningful description for your change here
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>instead.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.