This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/asf-site by this push: new 52833b4 Publishing website 2021/12/30 00:05:40 at commit 8eaa0aa 52833b4 is described below commit 52833b49dcc668a14264d1ed97fe6e13239c22d0 Author: jenkins <bui...@apache.org> AuthorDate: Thu Dec 30 00:05:41 2021 +0000 Publishing website 2021/12/30 00:05:40 at commit 8eaa0aa --- website/generated-content/contribute/index.xml | 29 ++++------------------ .../contribute/release-guide/index.html | 21 +++++----------- .../sdks/python-dependencies/index.html | 2 +- website/generated-content/sitemap.xml | 2 +- 4 files changed, 13 insertions(+), 41 deletions(-) diff --git a/website/generated-content/contribute/index.xml b/website/generated-content/contribute/index.xml index 00e8842..4256f6f 100644 --- a/website/generated-content/contribute/index.xml +++ b/website/generated-content/contribute/index.xml @@ -719,28 +719,10 @@ This only verifies that everything builds with unit tests passing.</p> <p>There are some projects that don&rsquo;t produce the artifacts, e.g. <code>beam-test-tools</code>, you may be able to ignore failures there.</p> <p>To triage the failures and narrow things down you may want to look at <code>settings.gradle.kts</code> and run the build only for the projects you&rsquo;re interested at the moment, e.g. <code>./gradlew :runners:java-fn-execution</code>.</p> <h4 id="alternative-run-release-build-manually-locally">(Alternative) Run release build manually (locally)</h4> +<p>You will need to have Python interpreters for all supported Python minor +versions to run Python tests. See Python installation tips in <a href="https://cwiki.apache.org/confluence/display/BEAM/Python+Tips#PythonTips-InstallingPythoninterpreters">Developer Wiki</a>.</p> <ul> <li> -<p><strong>Pre-installation for python build</strong></p> -<ol> -<li> -<p>Install pip</p> -<pre><code>curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py -python get-pip.py -</code></pre></li> -<li> -<p>Cython</p> -<pre><code>sudo pip install cython -sudo apt-get install gcc -sudo apt-get install python-dev -sudo apt-get install python3-dev -sudo apt-get install python3.5-dev -sudo apt-get install python3.6-dev -sudo apt-get install python3.7-dev -</code></pre></li> -</ol> -</li> -<li> <p><strong>Run gradle release build</strong></p> <ol> <li> @@ -1261,10 +1243,9 @@ python setup.py sdist </code></pre></li> <li> <p><strong>Setup virtual environment</strong></p> -<pre><code>pip install --upgrade pip -pip install --upgrade setuptools -python -m venv beam_env -. beam_env/bin/activate +<pre><code>python3 -m venv beam_env +. ./beam_env/bin/activate +pip install --upgrade pip setuptools wheel </code></pre></li> <li> <p><strong>Install SDK</strong></p> diff --git a/website/generated-content/contribute/release-guide/index.html b/website/generated-content/contribute/release-guide/index.html index 6b83c5f..87495dc 100644 --- a/website/generated-content/contribute/release-guide/index.html +++ b/website/generated-content/contribute/release-guide/index.html @@ -102,16 +102,8 @@ You can run <a href=https://github.com/apache/beam/blob/master/release/src/main/ Or manually add one trigger phrase per PR comment. See <code>COMMENTS_TO_ADD</code> in <a href=https://github.com/apache/beam/blob/master/release/src/main/scripts/mass_comment.py>mass_comment.py</a> for full list of phrases.</li></ol></li><li><p><strong>Tasks included in the script</strong></p><ol><li>Installs <code>hub</code> with your agreement and setup local git repo;</li><li>Create a test PR against release branch;</li></ol></li></ul><p>The <a href=https://ci-beam.apache.org/job/beam_Release_Gradle_Build/><code>beam_Release_Gradle_Build</code></a> Jenkins job runs <code>./gradlew build -PisRelease</code>. -This only verifies that everything builds with unit tests passing.</p><h4 id=verify-the-build-succeeds>Verify the build succeeds</h4><ul><li>Tasks you need to do manually to <strong>verify the build succeed</strong>:<ol><li>Check the build result.</li><li>If build failed, scan log will contain all failures.</li><li>You should stabilize the release branch until release build succeeded.</li></ol></li></ul><p>There are some projects that don’t produce the artifacts, e.g. <code>beam-te [...] -python get-pip.py -</code></pre></li><li><p>Cython</p><pre><code>sudo pip install cython -sudo apt-get install gcc -sudo apt-get install python-dev -sudo apt-get install python3-dev -sudo apt-get install python3.5-dev -sudo apt-get install python3.6-dev -sudo apt-get install python3.7-dev -</code></pre></li></ol></li><li><p><strong>Run gradle release build</strong></p><ol><li><p>Clean current workspace</p><pre><code>git clean -fdx +This only verifies that everything builds with unit tests passing.</p><h4 id=verify-the-build-succeeds>Verify the build succeeds</h4><ul><li>Tasks you need to do manually to <strong>verify the build succeed</strong>:<ol><li>Check the build result.</li><li>If build failed, scan log will contain all failures.</li><li>You should stabilize the release branch until release build succeeded.</li></ol></li></ul><p>There are some projects that don’t produce the artifacts, e.g. <code>beam-te [...] +versions to run Python tests. See Python installation tips in <a href=https://cwiki.apache.org/confluence/display/BEAM/Python+Tips#PythonTips-InstallingPythoninterpreters>Developer Wiki</a>.</p><ul><li><p><strong>Run gradle release build</strong></p><ol><li><p>Clean current workspace</p><pre><code>git clean -fdx ./gradlew clean </code></pre></li><li><p>Unlock the secret key</p><pre><code>gpg --output ~/doc.sig --sign ~/.bashrc </code></pre></li><li><p>Run build command</p><pre><code>./gradlew build -PisRelease --no-parallel --scan --stacktrace --continue @@ -301,10 +293,9 @@ sha512sum -c apache-beam-2.5.0-source-release.zip.sha512 </code></pre></li><li><p><strong>Build SDK</strong></p><pre><code>sudo apt-get install unzip unzip apache-beam-2.5.0-source-release.zip python setup.py sdist -</code></pre></li><li><p><strong>Setup virtual environment</strong></p><pre><code>pip install --upgrade pip -pip install --upgrade setuptools -python -m venv beam_env - . beam_env/bin/activate +</code></pre></li><li><p><strong>Setup virtual environment</strong></p><pre><code>python3 -m venv beam_env +. ./beam_env/bin/activate +pip install --upgrade pip setuptools wheel </code></pre></li><li><p><strong>Install SDK</strong></p><pre><code>pip install dist/apache-beam-2.5.0.tar.gz pip install dist/apache-beam-2.5.0.tar.gz[gcp] </code></pre></li><li><p><strong>Setup GCP</strong></p><p>Please repeat following steps for every following test.</p><pre><code>bq rm -rf --project=${YOUR_PROJECT} ${USER}_test @@ -418,7 +409,7 @@ If you end up getting permissions errors ask on the mailing list for assistance. Ask other contributors to do the same.</p><p>Also, update <a href=https://en.wikipedia.org/wiki/Apache_Beam>the Wikipedia article on Apache Beam</a>.</p><h3 id=checklist-to-declare-the-process-completed>Checklist to declare the process completed</h3><ol><li>Release announced on the user@ mailing list.</li><li>Blog post published, if applicable.</li><li>Release recorded in reporter.apache.org.</li><li>Release announced on social media.</li><li>Completion declared on the dev@ mailing list. [...] Once you’ve finished the release, please take a step back and look what areas of this process and be improved. Perhaps some part of the process can be simplified. Perhaps parts of this guide can be clarified.</p><p>If we have specific ideas, please start a discussion on the dev@ mailing list and/or propose a pull request to update this guide. -Thanks!</p><div class=feedback><p class=update>Last updated on 2021/12/16</p><h3>Have you found everything you were looking for?</h3><p class=description>Was it all useful and clear? Is there anything that you would like to change? Let us know!</p><button class=load-button><a href="mailto:d...@beam.apache.org?subject=Beam Website Feedback">SEND FEEDBACK</a></button></div></div></div><footer class=footer><div class=footer__contained><div class=footer__cols><div class="footer__cols__col foo [...] +Thanks!</p><div class=feedback><p class=update>Last updated on 2021/12/29</p><h3>Have you found everything you were looking for?</h3><p class=description>Was it all useful and clear? Is there anything that you would like to change? Let us know!</p><button class=load-button><a href="mailto:d...@beam.apache.org?subject=Beam Website Feedback">SEND FEEDBACK</a></button></div></div></div><footer class=footer><div class=footer__contained><div class=footer__cols><div class="footer__cols__col foo [...] <a href=http://www.apache.org>The Apache Software Foundation</a> | <a href=/privacy_policy>Privacy Policy</a> | <a href=/feed.xml>RSS Feed</a><br><br>Apache Beam, Apache, Beam, the Beam logo, and the Apache feather logo are either registered trademarks or trademarks of The Apache Software Foundation. All other products or name brands are trademarks of their respective holders, including The Apache Software Foundation.</div></div></div></div></footer></body></html> \ No newline at end of file diff --git a/website/generated-content/documentation/sdks/python-dependencies/index.html b/website/generated-content/documentation/sdks/python-dependencies/index.html index 99853ab..15778b9 100644 --- a/website/generated-content/documentation/sdks/python-dependencies/index.html +++ b/website/generated-content/documentation/sdks/python-dependencies/index.html @@ -23,7 +23,7 @@ import additional dependencies. Version collisions can result in unexpected behavior in the service. If you are using any of these packages in your code, be aware that some libraries are not forward-compatible and you may need to pin to the listed versions that will be in scope during execution.</p><p>Dependencies for your Beam SDK version are listed in <code>setup.py</code> in the Beam repository. To view them, perform the following steps:</p><ol><li><p>Open <code>setup.py</code>.</p><pre><code>https://raw.githubusercontent.com/apache/beam/v<VERSION_NUMBER>/sdks/python/setup.py -</code></pre><p>Replace <code><VERSION_NUMBER></code> with the major.minor.patch version of the SDK. For example, <a href=ttps://raw.githubusercontent.com/apache/beam/v2.34.0/sdks/python/setup.py target=_blank><a href=https://raw.githubusercontent.com/apache/beam/v2.34.0/sdks/python/setup.py>https://raw.githubusercontent.com/apache/beam/v2.34.0/sdks/python/setup.py</a></a> will provide the dependencies for the 2.34.0 release.</p></li><li><p>Review the core dependency list under <code> [...] +</code></pre><p>Replace <code><VERSION_NUMBER></code> with the major.minor.patch version of the SDK. For example, <a href=ttps://raw.githubusercontent.com/apache/beam/v2.34.0/sdks/python/setup.py target=_blank><a href=https://raw.githubusercontent.com/apache/beam/v2.34.0/sdks/python/setup.py>https://raw.githubusercontent.com/apache/beam/v2.34.0/sdks/python/setup.py</a></a> will provide the dependencies for the 2.34.0 release.</p></li><li><p>Review the core dependency list under <code> [...] </code></pre></li><li><p><a href=/get-started/quickstart-py/#download-and-install>Install the Beam Python SDK</a>.</p></li><li><p>Retrieve the list of dependencies.</p><pre><code>$ pip install pipdeptree && pipdeptree -p apache-beam </code></pre></li></ol></div></div><footer class=footer><div class=footer__contained><div class=footer__cols><div class="footer__cols__col footer__cols__col__logos"><div class=footer__cols__col__logo><img src=/images/beam_logo_circle.svg class=footer__logo alt="Beam logo"></div><div class=footer__cols__col__logo><img src=/images/apache_logo_circle.svg class=footer__logo alt="Apache logo"></div></div><div class=footer-wrapper><div class=wrapper-grid><div class=footer__cols__col><div class [...] <a href=http://www.apache.org>The Apache Software Foundation</a> diff --git a/website/generated-content/sitemap.xml b/website/generated-content/sitemap.xml index dbf3eae..98a91d8 100644 --- a/website/generated-content/sitemap.xml +++ b/website/generated-content/sitemap.xml @@ -1 +1 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/blog/beam-2.34.0/</loc><lastmod>2021-11-11T11:07:06-08:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2021-11-11T11:07:06-08:00</lastmod></url><url><loc>/blog/</loc><lastmod>2021-11-11T11:07:06-08:00</lastmod></url><url><loc>/categories/</loc><lastmod>2021-12-01T21:32:04+03:00</lastmod></url><url><loc>/blog/g [...] \ No newline at end of file +<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/blog/beam-2.34.0/</loc><lastmod>2021-11-11T11:07:06-08:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2021-11-11T11:07:06-08:00</lastmod></url><url><loc>/blog/</loc><lastmod>2021-11-11T11:07:06-08:00</lastmod></url><url><loc>/categories/</loc><lastmod>2021-12-01T21:32:04+03:00</lastmod></url><url><loc>/blog/g [...] \ No newline at end of file