You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2022/05/27 03:10:44 UTC

[beam] branch master updated: [BEAM-14006] Update Python katas to 2.38 and fix issue with one test

This is an automated email from the ASF dual-hosted git repository.

altay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 3761d1f6b56 [BEAM-14006] Update Python katas to 2.38 and fix issue with one test
     new 57f37052067 Merge pull request #17634 from iht/update_python_katas
3761d1f6b56 is described below

commit 3761d1f6b56f3e72e1d5b0b38722be04990f14ef
Author: Israel Herraiz <ih...@google.com>
AuthorDate: Thu May 12 15:03:56 2022 +0200

    [BEAM-14006] Update Python katas to 2.38 and fix issue with one test
---
 learning/katas/python/Examples/section-remote-info.yaml             | 2 +-
 learning/katas/python/Introduction/Hello Beam/Hello Beam/tests.py   | 3 +++
 .../Triggers/Early Triggers/Early Triggers/task-remote-info.yaml    | 2 ++
 .../katas/python/Triggers/Early Triggers/lesson-remote-info.yaml    | 3 +++
 .../Event Time Triggers/Event Time Triggers/task-remote-info.yaml   | 2 ++
 .../python/Triggers/Event Time Triggers/lesson-remote-info.yaml     | 3 +++
 .../Window Accumulation Mode/task-remote-info.yaml                  | 2 ++
 .../Triggers/Window Accumulation Mode/lesson-remote-info.yaml       | 3 +++
 learning/katas/python/Triggers/section-remote-info.yaml             | 2 ++
 learning/katas/python/course-info.yaml                              | 2 +-
 learning/katas/python/requirements.txt                              | 6 +++---
 11 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/learning/katas/python/Examples/section-remote-info.yaml b/learning/katas/python/Examples/section-remote-info.yaml
index 908fdcde408..121445ed683 100644
--- a/learning/katas/python/Examples/section-remote-info.yaml
+++ b/learning/katas/python/Examples/section-remote-info.yaml
@@ -1,2 +1,2 @@
 id: 85647
-update_date: Mon, 09 Mar 2020 14:34:14 UTC
+update_date: Thu, 12 May 2022 13:06:24 UTC
diff --git a/learning/katas/python/Introduction/Hello Beam/Hello Beam/tests.py b/learning/katas/python/Introduction/Hello Beam/Hello Beam/tests.py
index d0e90986785..5888f4b475d 100644
--- a/learning/katas/python/Introduction/Hello Beam/Hello Beam/tests.py	
+++ b/learning/katas/python/Introduction/Hello Beam/Hello Beam/tests.py	
@@ -20,6 +20,9 @@ from test_helper import failed, passed, get_file_output, test_is_not_empty
 def test_output():
     output = get_file_output()
 
+    # Remove warning line about docker and Python versions
+    output = [x for x in output if not x.startswith("WARNING")]
+
     if len(output) == 1 and 'Hello Beam' in output:
         passed()
     else:
diff --git a/learning/katas/python/Triggers/Early Triggers/Early Triggers/task-remote-info.yaml b/learning/katas/python/Triggers/Early Triggers/Early Triggers/task-remote-info.yaml
new file mode 100644
index 00000000000..9eb0d3c6e7a
--- /dev/null
+++ b/learning/katas/python/Triggers/Early Triggers/Early Triggers/task-remote-info.yaml	
@@ -0,0 +1,2 @@
+id: 1315717712
+update_date: Thu, 01 Jan 1970 00:00:00 UTC
diff --git a/learning/katas/python/Triggers/Early Triggers/lesson-remote-info.yaml b/learning/katas/python/Triggers/Early Triggers/lesson-remote-info.yaml
new file mode 100644
index 00000000000..44f72ca4f2e
--- /dev/null
+++ b/learning/katas/python/Triggers/Early Triggers/lesson-remote-info.yaml	
@@ -0,0 +1,3 @@
+id: 415852098
+update_date: Thu, 01 Jan 1970 00:00:00 UTC
+unit: 0
diff --git a/learning/katas/python/Triggers/Event Time Triggers/Event Time Triggers/task-remote-info.yaml b/learning/katas/python/Triggers/Event Time Triggers/Event Time Triggers/task-remote-info.yaml
new file mode 100644
index 00000000000..5f00e885248
--- /dev/null
+++ b/learning/katas/python/Triggers/Event Time Triggers/Event Time Triggers/task-remote-info.yaml	
@@ -0,0 +1,2 @@
+id: 825593025
+update_date: Thu, 01 Jan 1970 00:00:00 UTC
diff --git a/learning/katas/python/Triggers/Event Time Triggers/lesson-remote-info.yaml b/learning/katas/python/Triggers/Event Time Triggers/lesson-remote-info.yaml
new file mode 100644
index 00000000000..0cd79c49350
--- /dev/null
+++ b/learning/katas/python/Triggers/Event Time Triggers/lesson-remote-info.yaml	
@@ -0,0 +1,3 @@
+id: 1858884960
+update_date: Thu, 01 Jan 1970 00:00:00 UTC
+unit: 0
diff --git a/learning/katas/python/Triggers/Window Accumulation Mode/Window Accumulation Mode/task-remote-info.yaml b/learning/katas/python/Triggers/Window Accumulation Mode/Window Accumulation Mode/task-remote-info.yaml
new file mode 100644
index 00000000000..53ffc371231
--- /dev/null
+++ b/learning/katas/python/Triggers/Window Accumulation Mode/Window Accumulation Mode/task-remote-info.yaml	
@@ -0,0 +1,2 @@
+id: 84386334
+update_date: Thu, 01 Jan 1970 00:00:00 UTC
diff --git a/learning/katas/python/Triggers/Window Accumulation Mode/lesson-remote-info.yaml b/learning/katas/python/Triggers/Window Accumulation Mode/lesson-remote-info.yaml
new file mode 100644
index 00000000000..8ba56333281
--- /dev/null
+++ b/learning/katas/python/Triggers/Window Accumulation Mode/lesson-remote-info.yaml	
@@ -0,0 +1,3 @@
+id: 158109835
+update_date: Thu, 01 Jan 1970 00:00:00 UTC
+unit: 0
diff --git a/learning/katas/python/Triggers/section-remote-info.yaml b/learning/katas/python/Triggers/section-remote-info.yaml
new file mode 100644
index 00000000000..678a0809a0b
--- /dev/null
+++ b/learning/katas/python/Triggers/section-remote-info.yaml
@@ -0,0 +1,2 @@
+id: 334072318
+update_date: Thu, 01 Jan 1970 00:00:00 UTC
diff --git a/learning/katas/python/course-info.yaml b/learning/katas/python/course-info.yaml
index ad3fe302591..02417047729 100644
--- a/learning/katas/python/course-info.yaml
+++ b/learning/katas/python/course-info.yaml
@@ -29,5 +29,5 @@ content:
 - Common Transforms
 - IO
 - Windowing
+- Examples
 - Triggers
-- Examples
\ No newline at end of file
diff --git a/learning/katas/python/requirements.txt b/learning/katas/python/requirements.txt
index 9b259a4688f..4640940b61e 100644
--- a/learning/katas/python/requirements.txt
+++ b/learning/katas/python/requirements.txt
@@ -14,7 +14,7 @@
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
 
-apache-beam==2.36.0
-apache-beam[test]==2.36.0
+apache-beam==2.38.0
+apache-beam[test]==2.38.0
 
-pytz~=2021.3
\ No newline at end of file
+pytz~=2022.1
\ No newline at end of file