Skip to content

Commit 16d93fa

Browse files
committed
Merge branch 'master' into grpc-options
2 parents aec1d2a + 179d4d1 commit 16d93fa

File tree

27 files changed

+3296
-97
lines changed

27 files changed

+3296
-97
lines changed

.github/workflows/beam_Publish_Beam_SDK_Snapshots.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ jobs:
7373
- "python:container:distroless:py311:docker"
7474
- "python:container:distroless:py312:docker"
7575
- "python:container:distroless:py313:docker"
76+
- "python:container:ml:py39:docker"
77+
- "python:container:ml:py310:docker"
78+
- "python:container:ml:py311:docker"
79+
- "python:container:ml:py312:docker"
80+
- "python:container:ml:py313:docker"
7681
- "java:expansion-service:container:docker"
7782
steps:
7883
- uses: actions/checkout@v4

.github/workflows/build_release_candidate.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,14 @@ jobs:
259259
# Any task which is skipped from a broader task must be explicitly included in this list to avoid accidentally missing new
260260
# tasks as they are added.
261261
images_to_publish: [
262-
{"gradle_task": ":pushAllRunnersDockerImages", "skip_flags": ""},
263-
{"gradle_task": ":sdks:python:container:push39", "skip_flags": ""},
264-
{"gradle_task": ":sdks:python:container:push310", "skip_flags": ""},
265-
{"gradle_task": ":sdks:python:container:push311", "skip_flags": ""},
266-
{"gradle_task": ":sdks:python:container:push312", "skip_flags": ""},
267-
{"gradle_task": ":sdks:python:container:pushAll", "skip_flags": "-Pskip-python-39-images -Pskip-python-310-images -Pskip-python-311-images -Pskip-python-312-images"},
268-
{"gradle_task": ":pushAllSdkDockerImages", "skip_flags": "-Pskip-python-images"},
269-
{"gradle_task": ":pushAllDockerImages", "skip_flags": "-Pskip-runner-images -Pskip-sdk-images"}
262+
{"gradle_task": ":pushAllRunnersDockerImages", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"},
263+
{"gradle_task": ":sdks:python:container:push39", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"},
264+
{"gradle_task": ":sdks:python:container:push310", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"},
265+
{"gradle_task": ":sdks:python:container:push311", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"},
266+
{"gradle_task": ":sdks:python:container:push312", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"},
267+
{"gradle_task": ":sdks:python:container:pushAll", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless -Pskip-python-39-images -Pskip-python-310-images -Pskip-python-311-images -Pskip-python-312-images"},
268+
{"gradle_task": ":pushAllSdkDockerImages", "include_skip_flags": "-Pskip-python-images"},
269+
{"gradle_task": ":pushAllDockerImages", "include_skip_flags": "-Pskip-runner-images -Pskip-sdk-images"}
270270
]
271271
steps:
272272
- name: Checkout
@@ -298,7 +298,7 @@ jobs:
298298
username: ${{ secrets.DOCKERHUB_USER }}
299299
password: ${{ secrets.DOCKERHUB_TOKEN }}
300300
- name: Push docker images
301-
run: ./gradlew ${{ matrix.images_to_publish.gradle_task }} -PisRelease -Pdocker-pull-licenses -Pprune-images ${{ matrix.images_to_publish.skip_flags }} -Pdocker-tag=${{ github.event.inputs.RELEASE }}rc${{ github.event.inputs.RC }} --no-daemon --no-parallel
301+
run: ./gradlew ${{ matrix.images_to_publish.gradle_task }} -PisRelease -Pdocker-pull-licenses -Pprune-images ${{ matrix.images_to_publish.include_skip_flags }} -Pdocker-tag=${{ github.event.inputs.RELEASE }}rc${{ github.event.inputs.RC }} --no-daemon --no-parallel
302302

303303
beam_site_pr:
304304
if: ${{ fromJson(github.event.inputs.STAGE).beam_site_pr == 'yes'}}

.github/workflows/republish_released_docker_containers.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
# Any task which is skipped from a broader task must be explicitly included in this list to avoid accidentally missing new
4747
# tasks as they are added.
4848
images_to_publish: [
49-
{"gradle_task": ":pushAllRunnersDockerImages", "skip_flags": ""},
50-
{"gradle_task": ":sdks:python:container:push39", "skip_flags": ""},
51-
{"gradle_task": ":sdks:python:container:push310", "skip_flags": ""},
52-
{"gradle_task": ":sdks:python:container:push311", "skip_flags": ""},
53-
{"gradle_task": ":sdks:python:container:push312", "skip_flags": ""},
54-
{"gradle_task": ":sdks:python:container:pushAll", "skip_flags": "-Pskip-python-39-images -Pskip-python-310-images -Pskip-python-311-images -Pskip-python-312-images"},
55-
{"gradle_task": ":pushAllSdkDockerImages", "skip_flags": "-Pskip-python-images"},
56-
{"gradle_task": ":pushAllDockerImages", "skip_flags": "-Pskip-runner-images -Pskip-sdk-images"}
49+
{"gradle_task": ":pushAllRunnersDockerImages", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"},
50+
{"gradle_task": ":sdks:python:container:push39", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"},
51+
{"gradle_task": ":sdks:python:container:push310", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"},
52+
{"gradle_task": ":sdks:python:container:push311", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"},
53+
{"gradle_task": ":sdks:python:container:push312", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"},
54+
{"gradle_task": ":sdks:python:container:pushAll", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless -Pskip-python-39-images -Pskip-python-310-images -Pskip-python-311-images -Pskip-python-312-images"},
55+
{"gradle_task": ":pushAllSdkDockerImages", "include_skip_flags": "-Pskip-python-images"},
56+
{"gradle_task": ":pushAllDockerImages", "include_skip_flags": "-Pskip-runner-images -Pskip-sdk-images"}
5757
]
5858
steps:
5959
- name: Checkout
@@ -94,7 +94,7 @@ jobs:
9494
./gradlew ${{ matrix.images_to_publish.gradle_task }} \
9595
-PisRelease \
9696
-Pdocker-pull-licenses \
97-
-Pprune-images ${{ matrix.images_to_publish.skip_flags }} \
97+
-Pprune-images ${{ matrix.images_to_publish.include_skip_flags }} \
9898
-Pdocker-repository-root=gcr.io/apache-beam-testing/updated_released_container_images \
9999
-Pdocker-tag-list=${{ env.release }},${{ github.sha }},$(date +'%Y-%m-%d') \
100100
--no-daemon \

CHANGES.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@
7373
## New Features / Improvements
7474

7575
* X feature added (Java/Python) ([#X](https://github.com/apache/beam/issues/X)).
76+
* Python examples added for Milvus search enrichment handler on [Beam Website](https://beam.apache.org/documentation/transforms/python/elementwise/enrichment-milvus/)
77+
including jupyter notebook example (Python) ([#36176](https://github.com/apache/beam/issues/36176)).
7678

7779
## Breaking Changes
7880

@@ -112,17 +114,17 @@
112114
* Added official support for Python 3.13 ([#34869](https://github.com/apache/beam/issues/34869)).
113115
* Added an optional output_schema verification to all YAML transforms ([#35952](https://github.com/apache/beam/issues/35952)).
114116
* Support for encryption when using GroupByKey added, along with `--gbek` pipeline option to automatically replace all GroupByKey transforms (Java/Python) ([#36214](https://github.com/apache/beam/issues/36214)).
117+
* In Python SDK, the `--element_processing_timeout_minutes` option will also interrupt the SDK process if slowness happens during DoFn initialization, for example in `DoFn.setup()` ([#36518](https://github.com/apache/beam/issues/36518)).
115118

116119
## Breaking Changes
117120

118-
* X behavior was changed ([#X](https://github.com/apache/beam/issues/X)).
119121
* (Python) `dill` is no longer a required, default dependency for Apache Beam ([#21298](https://github.com/apache/beam/issues/21298)).
120122
- This change only affects pipelines that explicitly use the `pickle_library=dill` pipeline option.
121123
- While `dill==0.3.1.1` is still pre-installed on the official Beam SDK base images, it is no longer a direct dependency of the apache-beam Python package. This means it can be overridden by other dependencies in your environment.
122124
- If your pipeline uses `pickle_library=dill`, you must manually ensure `dill==0.3.1.1` is installed in both your submission and runtime environments.
123125
- Submission environment: Install the dill extra in your local environment `pip install apache-beam[gcpdill]`.
124126
- Runtime (worker) environment: Your action depends on how you manage your worker's environment.
125-
- If using default containers or custom containers with the official Beam base image e.g. `FROM apache/beam_python3.10_sdk:2.69`
127+
- If using default containers or custom containers with the official Beam base image e.g. `FROM apache/beam_python3.10_sdk:2.69.0`
126128
- Add `dill==0.3.1.1` to your worker's requirements file (e.g., requirements.txt)
127129
- Pass this file to your pipeline using the --requirements_file requirements.txt pipeline option (For more details see [managing Dataflow dependencies](https://cloud.google.com/dataflow/docs/guides/manage-dependencies#py-custom-containers)).
128130
- If custom containers with a non-Beam base image e.g. `FROM python:3.9-slim`
@@ -140,10 +142,6 @@
140142
* (Java) DoFn OutputReceiver now requires implementing a builder method as part of extended metadata support for elements ([#34902](https://github.com/apache/beam/issues/34902)).
141143
* (Java) Removed ProcessContext outputWindowedValue introduced in 2.68 that allowed setting offset and record Id. Use OutputReceiver's builder to set those field ([#36523]https://github.com/apache/beam/pull/36523).
142144

143-
## Deprecations
144-
145-
* X behavior is deprecated and will be removed in X versions ([#X](https://github.com/apache/beam/issues/X)).
146-
147145
## Bugfixes
148146

149147
* Fixed X (Java/Python) ([#X](https://github.com/apache/beam/issues/X)).

0 commit comments

Comments
 (0)