vinodk99 commented on issue #28410:
URL: https://github.com/apache/beam/issues/28410#issuecomment-1750308289
Pyarrow is working fine after updating pyarrow==12.0.0 on PPC4LE but
continuing the tests are failing on autocomplete_test.py
> tox -c tox.ini run -e py311
.pkg: _optional_hooks> python
/usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True
setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python
/usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True
setuptools.build_meta __legacy__
.pkg: get_requires_for_build_wheel> python
/usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True
setuptools.build_meta __legacy__
.pkg: prepare_metadata_for_build_wheel> python
/usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True
setuptools.build_meta __legacy__
.pkg: build_sdist> python
/usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True
setuptools.build_meta __legacy__
py311: install_package> target/.tox/py311/bin/python
/beam/sdks/python/target/.tox/py311/bin/pip install --retries 10 --pre
--force-reinstall --no-deps
/beam/sdks/python/target/.tox/.tmp/package/12/apache-beam-2.50.0.tar.gz
py311: commands_pre[0]> python --version
Python 3.11.2
py311: commands_pre[1]> pip --version
pip 23.2.1 from
/beam/sdks/python/target/.tox/py311/lib/python3.11/site-packages/pip (python
3.11)
py311: commands_pre[2]> pip check
No broken requirements found.
py311: commands_pre[3]> bash /beam/sdks/python/scripts/run_tox_cleanup.sh
py311: commands[0]> python apache_beam/examples/complete/autocomplete_test.py
Traceback (most recent call last):
File
"/beam/sdks/python/apache_beam/examples/complete/autocomplete_test.py", line
26, in <module>
import apache_beam as beam
File
"/beam/sdks/python/target/.tox/py311/lib/python3.11/site-packages/apache_beam/__init__.py",
line 88, in <module>
from apache_beam import io
File
"/beam/sdks/python/target/.tox/py311/lib/python3.11/site-packages/apache_beam/io/__init__.py",
line 28, in <module>
from apache_beam.io.parquetio import *
File
"/beam/sdks/python/target/.tox/py311/lib/python3.11/site-packages/apache_beam/io/parquetio.py",
line 679, in <module>
class _ParquetSink(filebasedsink.FileBasedSink):
File
"/beam/sdks/python/target/.tox/py311/lib/python3.11/site-packages/apache_beam/io/parquetio.py",
line 733, in _ParquetSink
def write_record(self, writer, table: pa.Table):
^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'Table'
py311: exit 1 (1.34 seconds) /beam/sdks/python> python
apache_beam/examples/complete/autocomplete_test.py pid=39206
py311: commands_post[0]> bash /beam/sdks/python/scripts/run_tox_cleanup.sh
.pkg: _exit> python
/usr/local/lib/python3.11/site-packages/pyproject_api/_backend.py True
setuptools.build_meta __legacy__
py311: FAIL code 1 (14.02=setup[10.76]+cmd[0.00,0.40,1.46,0.03,1.34,0.03]
seconds)
evaluation failed :( (14.23 seconds)
[root@1aa720a07127 python]#
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]