[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=379084&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-379084 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 29/Jan/20 23:28 Start Date: 29/Jan/20 23:28 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-580012030 Thanks a lot, @lazylynx and @udim for landing this change. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 379084) Time Spent: 9h (was: 8h 50m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 9h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=379070&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-379070 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 29/Jan/20 22:57 Start Date: 29/Jan/20 22:57 Worklog Time Spent: 10m Work Description: udim commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 379070) Time Spent: 8h 50m (was: 8h 40m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 8h 50m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=379069&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-379069 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 29/Jan/20 22:56 Start Date: 29/Jan/20 22:56 Worklog Time Spent: 10m Work Description: udim commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-580001214 Tests have passed on 691071a, this looks ready to merge. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 379069) Time Spent: 8h 40m (was: 8.5h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 8h 40m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=378937&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-378937 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 29/Jan/20 17:28 Start Date: 29/Jan/20 17:28 Worklog Time Spent: 10m Work Description: lazylynx commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r372524622 ## File path: sdks/python/apache_beam/io/filesystemio.py ## @@ -75,7 +75,7 @@ def finish(self): File should be fully written upon return from this method. Raises: - Any error encountered during the upload. + :Any error encountered during the upload. Review comment: Confirmed it's unnecessary. removed. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 378937) Time Spent: 8.5h (was: 8h 20m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 8.5h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=377744&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-377744 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 27/Jan/20 17:19 Start Date: 27/Jan/20 17:19 Worklog Time Spent: 10m Work Description: udim commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r371373196 ## File path: sdks/python/apache_beam/io/filesystemio.py ## @@ -75,7 +75,7 @@ def finish(self): File should be fully written upon return from this method. Raises: - Any error encountered during the upload. + :Any error encountered during the upload. Review comment: Is the added colon necessary? It looks out of place: https://github.com/apache/beam-site/blob/bc0304ff55a23a984f108cf3355fc5c5fadb7148/pydoc/2.19.0_generated_in_py3/_modules/apache_beam/io/filesystemio.html#L248 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 377744) Time Spent: 8h 20m (was: 8h 10m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 8h 20m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=377743&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-377743 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 27/Jan/20 17:19 Start Date: 27/Jan/20 17:19 Worklog Time Spent: 10m Work Description: udim commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r371373196 ## File path: sdks/python/apache_beam/io/filesystemio.py ## @@ -75,7 +75,7 @@ def finish(self): File should be fully written upon return from this method. Raises: - Any error encountered during the upload. + :Any error encountered during the upload. Review comment: Is the added colon necessary? It looks out of place; https://github.com/apache/beam-site/blob/bc0304ff55a23a984f108cf3355fc5c5fadb7148/pydoc/2.19.0_generated_in_py3/_modules/apache_beam/io/filesystemio.html#L248 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 377743) Time Spent: 8h 10m (was: 8h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 8h 10m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=377630&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-377630 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 27/Jan/20 13:46 Start Date: 27/Jan/20 13:46 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-578753243 @tvalentynThanks for trrigering, I would wait for your update on the mailing list thread. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 377630) Time Spent: 7h 50m (was: 7h 40m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 7h 50m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=377631&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-377631 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 27/Jan/20 13:46 Start Date: 27/Jan/20 13:46 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-578753243 @tvalentyn Thanks for trrigering, I would wait for your update on the mailing list thread. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 377631) Time Spent: 8h (was: 7h 50m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 8h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=376465&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376465 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 23/Jan/20 19:34 Start Date: 23/Jan/20 19:34 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-577829168 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 376465) Time Spent: 7h 40m (was: 7.5h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 7h 40m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=376460&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376460 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 23/Jan/20 19:33 Start Date: 23/Jan/20 19:33 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-577839147 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 376460) Time Spent: 7h (was: 6h 50m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 7h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=376463&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376463 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 23/Jan/20 19:33 Start Date: 23/Jan/20 19:33 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-577828872 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 376463) Time Spent: 7h 20m (was: 7h 10m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 7h 20m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=376462&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376462 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 23/Jan/20 19:33 Start Date: 23/Jan/20 19:33 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-577828750 retest this please This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 376462) Time Spent: 7h 10m (was: 7h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 7h 10m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=376464&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376464 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 23/Jan/20 19:33 Start Date: 23/Jan/20 19:33 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-577828941 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 376464) Time Spent: 7.5h (was: 7h 20m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 7.5h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=376446&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376446 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 23/Jan/20 19:10 Start Date: 23/Jan/20 19:10 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-577829168 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 376446) Time Spent: 6h 50m (was: 6h 40m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 6h 50m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=376445&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376445 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 23/Jan/20 19:09 Start Date: 23/Jan/20 19:09 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-577828941 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 376445) Time Spent: 6h 40m (was: 6.5h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 6h 40m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=376442&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376442 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 23/Jan/20 19:09 Start Date: 23/Jan/20 19:09 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-577828872 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 376442) Time Spent: 6.5h (was: 6h 20m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 6.5h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=376441&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376441 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 23/Jan/20 19:08 Start Date: 23/Jan/20 19:08 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-577828750 retest this please This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 376441) Time Spent: 6h 20m (was: 6h 10m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 6h 20m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=376423&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376423 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 23/Jan/20 18:36 Start Date: 23/Jan/20 18:36 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-577814686 @udim Would you trigger tests? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 376423) Time Spent: 6h 10m (was: 6h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 6h 10m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=375644&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-375644 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 22/Jan/20 15:08 Start Date: 22/Jan/20 15:08 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-577230716 I've overlooked warnings due to docstring formatting, under fixing... This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 375644) Time Spent: 6h (was: 5h 50m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 6h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=375403&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-375403 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 22/Jan/20 05:21 Start Date: 22/Jan/20 05:21 Worklog Time Spent: 10m Work Description: lazylynx commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r369374288 ## File path: sdks/python/tox.ini ## @@ -290,7 +290,7 @@ commands = [testenv:docs] extras = test,gcp,docs,interactive deps = - Sphinx==1.6.5 + Sphinx==1.8.5 sphinx_rtd_theme==0.2.4 Review comment: Got it. Thank you! This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 375403) Time Spent: 5h 50m (was: 5h 40m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 5h 50m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=375097&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-375097 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 21/Jan/20 17:27 Start Date: 21/Jan/20 17:27 Worklog Time Spent: 10m Work Description: udim commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-576790069 retest this please This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 375097) Time Spent: 5h 40m (was: 5.5h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 5h 40m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=375096&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-375096 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 21/Jan/20 17:25 Start Date: 21/Jan/20 17:25 Worklog Time Spent: 10m Work Description: udim commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-576789536 retest this please This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 375096) Time Spent: 5.5h (was: 5h 20m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 5.5h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=375073&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-375073 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 21/Jan/20 17:07 Start Date: 21/Jan/20 17:07 Worklog Time Spent: 10m Work Description: udim commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r369129244 ## File path: sdks/python/tox.ini ## @@ -290,7 +290,7 @@ commands = [testenv:docs] extras = test,gcp,docs,interactive deps = - Sphinx==1.6.5 + Sphinx==1.8.5 sphinx_rtd_theme==0.2.4 Review comment: Created: https://issues.apache.org/jira/browse/BEAM-9163 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 375073) Time Spent: 5h 20m (was: 5h 10m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 5h 20m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=375072&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-375072 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 21/Jan/20 17:04 Start Date: 21/Jan/20 17:04 Worklog Time Spent: 10m Work Description: udim commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r369127755 ## File path: sdks/python/tox.ini ## @@ -290,7 +290,7 @@ commands = [testenv:docs] extras = test,gcp,docs,interactive deps = - Sphinx==1.6.5 + Sphinx==1.8.5 sphinx_rtd_theme==0.2.4 Review comment: I meant that we should update sphinx_rtd_theme, but in a different PR. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 375072) Time Spent: 5h 10m (was: 5h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 5h 10m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=375066&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-375066 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 21/Jan/20 16:55 Start Date: 21/Jan/20 16:55 Worklog Time Spent: 10m Work Description: lazylynx commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r369122381 ## File path: sdks/python/scripts/generate_pydoc.sh ## @@ -76,10 +79,15 @@ excluded_patterns=( *_pb2.py *_test.py *_test_common.py -# TODO(BEAM-7847): Remove this once doc generation can parse Py3 syntax. -*_py3*.py ) +python_version=`python -V 2>&1` Review comment: Exactly, removed. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 375066) Time Spent: 5h (was: 4h 50m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 5h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=375065&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-375065 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 21/Jan/20 16:55 Start Date: 21/Jan/20 16:55 Worklog Time Spent: 10m Work Description: lazylynx commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r369122297 ## File path: sdks/python/tox.ini ## @@ -290,7 +290,7 @@ commands = [testenv:docs] Review comment: tox.ini and build.gradle invocating `docs` command are both updated. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 375065) Time Spent: 4h 50m (was: 4h 40m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 4h 50m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=375063&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-375063 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 21/Jan/20 16:53 Start Date: 21/Jan/20 16:53 Worklog Time Spent: 10m Work Description: lazylynx commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r369121194 ## File path: sdks/python/apache_beam/io/avroio.py ## @@ -105,6 +105,15 @@ def __init__(self, file_pattern=None, min_bundle_size=0, validate=True, .. testoutput:: :hide: + :skipif: python_version_major == 2 Review comment: I assumed that dropping python 2 support for generating docs should not be done until Beam officially does. Removed `:skipif: python_version_major == 2` from avroio.py and other files. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 375063) Time Spent: 4h 40m (was: 4.5h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 4h 40m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=374320&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-374320 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 19/Jan/20 16:26 Start Date: 19/Jan/20 16:26 Worklog Time Spent: 10m Work Description: lazylynx commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r368305894 ## File path: sdks/python/tox.ini ## @@ -290,7 +290,7 @@ commands = [testenv:docs] extras = test,gcp,docs,interactive deps = - Sphinx==1.6.5 + Sphinx==1.8.5 sphinx_rtd_theme==0.2.4 Review comment: Sorry, did you mean why update Sphinx and not update sphinx_rtd_theme? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 374320) Time Spent: 4.5h (was: 4h 20m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 4.5h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=374316&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-374316 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 19/Jan/20 16:07 Start Date: 19/Jan/20 16:07 Worklog Time Spent: 10m Work Description: lazylynx commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r368304755 ## File path: sdks/python/scripts/generate_pydoc.sh ## @@ -91,6 +99,9 @@ import sys import sphinx_rtd_theme +import numpy +import IPython Review comment: This is workaround for double-import in Sphinx-autodoc. Without `import numpy` here, RuntimeError like https://issues.apache.org/jira/browse/BEAM-7847 will be occurred. And I deleted `import IPython` because I realized that it is not necessary. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 374316) Time Spent: 4h 20m (was: 4h 10m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 4h 20m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=373137&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-373137 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 16/Jan/20 16:38 Start Date: 16/Jan/20 16:38 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-575237539 @udim Thank you for review. I'll check your pointing out. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 373137) Time Spent: 4h 10m (was: 4h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 4h 10m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=372522&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-372522 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 15/Jan/20 19:30 Start Date: 15/Jan/20 19:30 Worklog Time Spent: 10m Work Description: udim commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r367062944 ## File path: sdks/python/tox.ini ## @@ -290,7 +290,7 @@ commands = [testenv:docs] extras = test,gcp,docs,interactive deps = - Sphinx==1.6.5 + Sphinx==1.8.5 sphinx_rtd_theme==0.2.4 Review comment: Is there a JIRA for updating this? (0.4.3 is the latest) This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 372522) Time Spent: 3h 50m (was: 3h 40m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 3h 50m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=372521&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-372521 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 15/Jan/20 19:30 Start Date: 15/Jan/20 19:30 Worklog Time Spent: 10m Work Description: udim commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r367061786 ## File path: sdks/python/tox.ini ## @@ -290,7 +290,7 @@ commands = [testenv:docs] Review comment: Please rename to py37-docs. This will tell tox to use Python 3.7 instead of the current default. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 372521) Time Spent: 3h 40m (was: 3.5h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 3h 40m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=372524&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-372524 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 15/Jan/20 19:30 Start Date: 15/Jan/20 19:30 Worklog Time Spent: 10m Work Description: udim commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r367064126 ## File path: sdks/python/scripts/generate_pydoc.sh ## @@ -76,10 +79,15 @@ excluded_patterns=( *_pb2.py *_test.py *_test_common.py -# TODO(BEAM-7847): Remove this once doc generation can parse Py3 syntax. -*_py3*.py ) +python_version=`python -V 2>&1` Review comment: This addition could be removed if we assumed this was always running under Python 3.7. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 372524) Time Spent: 4h (was: 3h 50m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 4h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=372523&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-372523 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 15/Jan/20 19:30 Start Date: 15/Jan/20 19:30 Worklog Time Spent: 10m Work Description: udim commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r367063427 ## File path: sdks/python/scripts/generate_pydoc.sh ## @@ -91,6 +99,9 @@ import sys import sphinx_rtd_theme +import numpy +import IPython Review comment: Why are these imports required? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 372523) Time Spent: 4h (was: 3h 50m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 4h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=372520&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-372520 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 15/Jan/20 19:30 Start Date: 15/Jan/20 19:30 Worklog Time Spent: 10m Work Description: udim commented on pull request #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#discussion_r367061049 ## File path: sdks/python/apache_beam/io/avroio.py ## @@ -105,6 +105,15 @@ def __init__(self, file_pattern=None, min_bundle_size=0, validate=True, .. testoutput:: :hide: + :skipif: python_version_major == 2 Review comment: Is the idea to keep supporting docs generation on Python 2.7? I don't see the point as the main use is to publish docs on the Beam website. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 372520) Time Spent: 3h 40m (was: 3.5h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 3h 40m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=372447&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-372447 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 15/Jan/20 17:56 Start Date: 15/Jan/20 17:56 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-574777981 I would give an update on the mailing list thread that you started that these changes are ready, and you can cc me, @udim, @soyrice on the review PR. I won't have time to take a closer look until mid next week. Thanks a lot for your help! This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 372447) Time Spent: 3.5h (was: 3h 20m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 3.5h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=372336&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-372336 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 15/Jan/20 14:14 Start Date: 15/Jan/20 14:14 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-574677463 @tvalentyn I've created PR https://github.com/apache/beam-site/pull/596 to review generated docs. Would you know someone should be assigned to review them, or should I ask in mailing list? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 372336) Time Spent: 3h 20m (was: 3h 10m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 3h 20m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=372334&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-372334 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 15/Jan/20 14:10 Start Date: 15/Jan/20 14:10 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-574675715 R: @tvalentyn This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 372334) Time Spent: 3h 10m (was: 3h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 3h 10m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=372333&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-372333 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 15/Jan/20 14:09 Start Date: 15/Jan/20 14:09 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-574675594 @tvalentyn Thank you for re-triggering test and @aaltay thank you for changing title. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 372333) Time Spent: 3h (was: 2h 50m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 3h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=371922&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-371922 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 14/Jan/20 22:11 Start Date: 14/Jan/20 22:11 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [WIP][BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-574398503 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 371922) Time Spent: 2h 50m (was: 2h 40m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 2h 50m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=371712&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-371712 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 14/Jan/20 17:12 Start Date: 14/Jan/20 17:12 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [WIP][BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-574278468 @iemejia @tvalentyn Thank you! This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 371712) Time Spent: 2h 40m (was: 2.5h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 2h 40m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=370902&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-370902 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 13/Jan/20 16:53 Start Date: 13/Jan/20 16:53 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [WIP][BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-573761856 @iemejia I think that command starts with "retest". This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 370902) Time Spent: 2.5h (was: 2h 20m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 2.5h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=370899&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-370899 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 13/Jan/20 16:52 Start Date: 13/Jan/20 16:52 Worklog Time Spent: 10m Work Description: tvalentyn commented on issue #10141: [WIP][BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-573761497 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 370899) Time Spent: 2h 20m (was: 2h 10m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 2h 20m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=370864&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-370864 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 13/Jan/20 15:42 Start Date: 13/Jan/20 15:42 Worklog Time Spent: 10m Work Description: iemejia commented on issue #10141: [WIP][BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-573726331 rerun this please This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 370864) Time Spent: 2h 10m (was: 2h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 2h 10m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=370608&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-370608 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 13/Jan/20 05:48 Start Date: 13/Jan/20 05:48 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [WIP][BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-573517190 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 370608) Time Spent: 2h (was: 1h 50m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 2h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=370459&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-370459 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 12/Jan/20 14:45 Start Date: 12/Jan/20 14:45 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [WIP][BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-573421940 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 370459) Time Spent: 1h 50m (was: 1h 40m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 1h 50m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=370458&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-370458 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 12/Jan/20 14:44 Start Date: 12/Jan/20 14:44 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [WIP][BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-573421940 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 370458) Time Spent: 1h 40m (was: 1.5h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=369950&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-369950 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 10/Jan/20 17:56 Start Date: 10/Jan/20 17:56 Worklog Time Spent: 10m Work Description: aaltay commented on issue #10141: [WIP][BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-573140156 cc: @tvalentyn This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 369950) Time Spent: 1.5h (was: 1h 20m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 1.5h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=348710&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-348710 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 24/Nov/19 13:13 Start Date: 24/Nov/19 13:13 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #10141: [WIP][BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141#issuecomment-557887296 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 348710) Time Spent: 1h 20m (was: 1h 10m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 1h 20m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=345347&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-345347 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 18/Nov/19 15:18 Start Date: 18/Nov/19 15:18 Worklog Time Spent: 10m Work Description: lazylynx commented on pull request #10141: [WIP][BEAM-7847] enabled to generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/10141 **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: - [ ] [**Choose reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and mention them in a comment (`R: @username`). - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). See the [Contributor Guide](https://beam.apache.org/contribute) for more tips on [how to make review process smoother](https://beam.apache.org/contribute/#make-reviewers-job-easier). Post-Commit Tests Status (on master branch) Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark --- | --- | --- | --- | --- | --- | --- | --- Go | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/) | --- | --- | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go_VR_Flink/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go_VR_Flink/lastCompletedBuild/) | --- | --- | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go_VR_Spark/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go_VR_Spark/lastCompletedBuild/) Java | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/lastCompletedBuild/) Python | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Python2/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python2/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Python35/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python35/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Python36/lastCompletedBuild/badge/icon)](https://builds.
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=339349&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-339349 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 06/Nov/19 13:33 Start Date: 06/Nov/19 13:33 Worklog Time Spent: 10m Work Description: lazylynx commented on pull request #9804: [WIP][BEAM-7847] generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/9804 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 339349) Time Spent: 1h (was: 50m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=333529&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-333529 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 24/Oct/19 15:48 Start Date: 24/Oct/19 15:48 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #9804: [WIP][BEAM-7847] generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/9804#issuecomment-545981301 Run Website_Stage_GCS PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 333529) Time Spent: 50m (was: 40m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 50m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=93&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-93 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 24/Oct/19 13:21 Start Date: 24/Oct/19 13:21 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #9804: [WIP][BEAM-7847] generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/9804#issuecomment-545914786 Run Website_Stage_GCS PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 93) Time Spent: 40m (was: 0.5h) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=332627&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-332627 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 23/Oct/19 15:01 Start Date: 23/Oct/19 15:01 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #9804: [WIP][BEAM-7847] generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/9804#issuecomment-545486985 Run Website PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 332627) Time Spent: 0.5h (was: 20m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=330932&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-330932 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 19/Oct/19 13:06 Start Date: 19/Oct/19 13:06 Worklog Time Spent: 10m Work Description: lazylynx commented on issue #9804: [WIP][BEAM-7847] generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/9804#issuecomment-544141785 Run Python PreCommit This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 330932) Time Spent: 20m (was: 10m) > Generate Python SDK docs using Python 3 > > > Key: BEAM-7847 > URL: https://issues.apache.org/jira/browse/BEAM-7847 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core >Reporter: Valentyn Tymofieiev >Assignee: yoshiki obata >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > Currently scripts/generate_pydoc.sh script fails on Python 3 with > "RuntimeError: empty_like method already has a docstring" errors: > {noformat} > pip install -e .[gcp,test] > pip install Sphinx==1.6.5 > pip install sphinx_rtd_theme==0.2.4 > ./scripts/generate_pydoc.sh > /home/valentyn/projects/beam/beam/beam/sdks/python/target/docs/source/apache_beam.testing.benchmarks.nexmark.queries.query0.rst:4: > WARNING: autodoc: failed to import module > 'apache_beam.testing.benchmarks.nexmark.queries.query0'; the following > exception was raised: > Traceback (most recent call last): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/sphinx/ext/autodoc.py", > line 658, in import_object > __import__(self.modname) > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/__init__.py", > line 98, in > from apache_beam import io > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/__init__.py", > line 22, in > from apache_beam.io.avroio import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/avroio.py", > line 61, in > from apache_beam.io import filebasedsink > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/filebasedsink.py", > line 34, in > from apache_beam.io import iobase > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/io/iobase.py", > line 50, in > from apache_beam.transforms import core > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/__init__.py", > line 29, in > from apache_beam.transforms.util import * > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 228, in > class _BatchSizeEstimator(object): > File > "/home/valentyn/projects/beam/beam/beam/sdks/python/apache_beam/transforms/util.py", > line 359, in _BatchSizeEstimator > import numpy as np > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/__init__.py", > line 142, in > from . import core > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/__init__.py", > line 17, in > from . import multiarray > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/multiarray.py", > line 78, in > def empty_like(prototype, dtype=None, order=None, subok=None, shape=None): > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 203, in decorator > docs_from_dispatcher=docs_from_dispatcher)(implementation) > File > "/home/valentyn/tmp/venv/py3/lib/python3.6/site-packages/numpy/core/overrides.py", > line 159, in decorator > add_docstring(implementation, dispatcher.__doc__) > RuntimeError: empty_like method already has a docstring > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-7847) Generate Python SDK docs using Python 3
[ https://issues.apache.org/jira/browse/BEAM-7847?focusedWorklogId=328862&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-328862 ] ASF GitHub Bot logged work on BEAM-7847: Author: ASF GitHub Bot Created on: 16/Oct/19 00:01 Start Date: 16/Oct/19 00:01 Worklog Time Spent: 10m Work Description: lazylynx commented on pull request #9804: [WIP][BEAM-7847] generate SDK docs with Python3 URL: https://github.com/apache/beam/pull/9804 **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: - [ ] [**Choose reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and mention them in a comment (`R: @username`). - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). Post-Commit Tests Status (on master branch) Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark --- | --- | --- | --- | --- | --- | --- | --- Go | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/) | --- | --- | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go_VR_Flink/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go_VR_Flink/lastCompletedBuild/) | --- | --- | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go_VR_Spark/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go_VR_Spark/lastCompletedBuild/) Java | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/lastCompletedBuild/) Python | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Python2/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python2/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Python35/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python35/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Python36/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python36/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Python37/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_Post