[ https://issues.apache.org/jira/browse/FLINK-17877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sunjincheng closed FLINK-17877. ------------------------------- Fix Version/s: 1.12.0 Assignee: sunjincheng Resolution: Fixed > Add support for Python 3.8 > -------------------------- > > Key: FLINK-17877 > URL: https://issues.apache.org/jira/browse/FLINK-17877 > Project: Flink > Issue Type: Improvement > Components: API / Python > Affects Versions: 1.10.1 > Reporter: Robert Metzger > Assignee: sunjincheng > Priority: Major > Fix For: 1.12.0 > > > While trying out PyFlink on Ubuntu 20.04, I noticed that PyFlink does not > support Python 3.8 yet. > It fails with the following error > {code} > ubuntu@ubn-latest-testing:~$ python -m pip install apache-flink > Collecting apache-flink > Downloading apache-flink-1.10.1.tar.gz (284.5 MB) > |████████████████████████████████| 284.5 MB 803 bytes/s > Collecting apache-beam==2.15.0 > Downloading apache-beam-2.15.0.zip (1.6 MB) > |████████████████████████████████| 1.6 MB 24.1 MB/s > Collecting avro-python3<=1.9.1,>=1.8.1 > Downloading avro-python3-1.9.1.tar.gz (36 kB) > Collecting cloudpickle==1.2.2 > Downloading cloudpickle-1.2.2-py2.py3-none-any.whl (25 kB) > Collecting py4j==0.10.8.1 > Downloading py4j-0.10.8.1-py2.py3-none-any.whl (196 kB) > |████████████████████████████████| 196 kB 51.2 MB/s > Collecting pyarrow<0.14.0,>=0.11.1 > Downloading pyarrow-0.13.0.tar.gz (4.8 MB) > |████████████████████████████████| 4.8 MB 37.6 MB/s > Installing build dependencies ... done > Getting requirements to build wheel ... done > Preparing wheel metadata ... done > Collecting python-dateutil==2.8.0 > Downloading python_dateutil-2.8.0-py2.py3-none-any.whl (226 kB) > |████████████████████████████████| 226 kB 39.6 MB/s > Collecting crcmod<2.0,>=1.7 > Downloading crcmod-1.7.tar.gz (89 kB) > |████████████████████████████████| 89 kB 14.0 MB/s > Collecting dill<0.2.10,>=0.2.9 > Downloading dill-0.2.9.tar.gz (150 kB) > |████████████████████████████████| 150 kB 47.4 MB/s > Collecting fastavro<0.22,>=0.21.4 > Downloading fastavro-0.21.24.tar.gz (496 kB) > |████████████████████████████████| 496 kB 36.6 MB/s > Collecting future<1.0.0,>=0.16.0 > Downloading future-0.18.2.tar.gz (829 kB) > |████████████████████████████████| 829 kB 41.0 MB/s > Collecting grpcio<2,>=1.8 > Downloading grpcio-1.29.0-cp38-cp38-manylinux2010_x86_64.whl (3.0 MB) > |████████████████████████████████| 3.0 MB 47.4 MB/s > Collecting hdfs<3.0.0,>=2.1.0 > Downloading hdfs-2.5.8.tar.gz (41 kB) > |████████████████████████████████| 41 kB 1.8 MB/s > Collecting httplib2<=0.12.0,>=0.8 > Downloading httplib2-0.12.0.tar.gz (218 kB) > |████████████████████████████████| 218 kB 48.7 MB/s > Collecting mock<3.0.0,>=1.0.1 > Downloading mock-2.0.0-py2.py3-none-any.whl (56 kB) > |████████████████████████████████| 56 kB 8.1 MB/s > Collecting oauth2client<4,>=2.0.1 > Downloading oauth2client-3.0.0.tar.gz (77 kB) > |████████████████████████████████| 77 kB 11.1 MB/s > Collecting protobuf<4,>=3.5.0.post1 > Downloading protobuf-3.12.1-cp38-cp38-manylinux1_x86_64.whl (1.3 MB) > |████████████████████████████████| 1.3 MB 3.0 MB/s > Collecting pydot<2,>=1.2.0 > Downloading pydot-1.4.1-py2.py3-none-any.whl (19 kB) > Collecting pymongo<4.0.0,>=3.8.0 > Downloading pymongo-3.10.1-cp38-cp38-manylinux2014_x86_64.whl (480 kB) > |████████████████████████████████| 480 kB 35.1 MB/s > Collecting pytz>=2018.3 > Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB) > |████████████████████████████████| 510 kB 62.6 MB/s > Collecting pyyaml<4.0.0,>=3.12 > Downloading PyYAML-3.13.tar.gz (270 kB) > |████████████████████████████████| 270 kB 31.0 MB/s > Requirement already satisfied: six>=1.0.0 in /usr/lib/python3/dist-packages > (from pyarrow<0.14.0,>=0.11.1->apache-flink) (1.14.0) > Collecting numpy>=1.14 > Downloading numpy-1.18.4-cp38-cp38-manylinux1_x86_64.whl (20.7 MB) > |████████████████████████████████| 20.7 MB 28.4 MB/s > Collecting docopt > Downloading docopt-0.6.2.tar.gz (25 kB) > Requirement already satisfied: requests>=2.7.0 in > /usr/lib/python3/dist-packages (from > hdfs<3.0.0,>=2.1.0->apache-beam==2.15.0->apache-flink) (2.22.0) > Collecting pbr>=0.11 > Downloading pbr-5.4.5-py2.py3-none-any.whl (110 kB) > |████████████████████████████████| 110 kB 44.2 MB/s > Requirement already satisfied: pyasn1-modules>=0.0.5 in > /usr/lib/python3/dist-packages (from > oauth2client<4,>=2.0.1->apache-beam==2.15.0->apache-flink) (0.2.1) > Requirement already satisfied: pyasn1>=0.1.7 in > /usr/lib/python3/dist-packages (from > oauth2client<4,>=2.0.1->apache-beam==2.15.0->apache-flink) (0.4.2) > Collecting rsa>=3.1.4 > Downloading rsa-4.0-py2.py3-none-any.whl (38 kB) > Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages > (from protobuf<4,>=3.5.0.post1->apache-beam==2.15.0->apache-flink) (45.2.0) > Collecting pyparsing>=2.1.4 > Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) > |████████████████████████████████| 67 kB 10.0 MB/s > Building wheels for collected packages: apache-flink, apache-beam, > avro-python3, pyarrow, crcmod, dill, fastavro, future, hdfs, httplib2, > oauth2client, pyyaml, docopt > Building wheel for apache-flink (setup.py) ... done > Created wheel for apache-flink: > filename=apache_flink-1.10.1-py2.py3-none-any.whl size=284709073 > sha256=aef45b7f4ebfb94918895ff64193b65c900ede65029d4c9e1bd7444c58b48c54 > Stored in directory: > /home/ubuntu/.cache/pip/wheels/36/24/32/439003610a5dfabeb37279fa603d8b25fc77d851b8d161e362 > Building wheel for apache-beam (setup.py) ... done > Created wheel for apache-beam: filename=apache_beam-2.15.0-py3-none-any.whl > size=1536867 > sha256=9208308051c30b5502808790f06518275bf47d066d30b9ac383772cb508a266e > Stored in directory: > /home/ubuntu/.cache/pip/wheels/2b/31/df/a099239a957f1f7a3813ed83e7f9d471b9b793085b0f477f2c > Building wheel for avro-python3 (setup.py) ... done > Created wheel for avro-python3: > filename=avro_python3-1.9.1-py3-none-any.whl size=43202 > sha256=7c0811005ae933be32f0ac9ece6b6a125bc8a748ed2d5b477da101c1616d9ecb > Stored in directory: > /home/ubuntu/.cache/pip/wheels/1d/e3/ac/c8a5c32c830fe57db7bc71802f1775b63266fa38c7f0ecdf07 > Building wheel for pyarrow (PEP 517) ... error > ERROR: Command errored out with exit status 1: > command: /usr/bin/python /tmp/tmp1l_ol50i build_wheel /tmp/tmp54atss8k > cwd: /tmp/pip-install-nbw47g9q/pyarrow > Complete output (309 lines): > running bdist_wheel > running build > running build_py > creating build > creating build/lib.linux-x86_64-3.8 > creating build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/feather.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/util.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/flight.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/pandas_compat.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/serialization.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/jvm.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/plasma.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/benchmark.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/hdfs.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/__init__.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/types.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/ipc.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_generated_version.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/orc.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/csv.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/parquet.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/filesystem.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/cuda.py -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/compat.py -> build/lib.linux-x86_64-3.8/pyarrow > creating build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_convert_builtin.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_filesystem.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_feather.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_cuda_numba_interop.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/strategies.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/pandas_examples.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_io.py -> build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_compute.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_parquet.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_table.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_memory.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_plasma.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_orc.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/util.py -> build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_serialization.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_jvm.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_flight.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/deserialize_buffer.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_ipc.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_types.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_array.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_cuda.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_schema.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/__init__.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_misc.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_tensor.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_hdfs.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_builder.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_gandiva.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_scalars.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_deprecations.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/conftest.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_strategies.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_cython.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_csv.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_plasma_tf_op.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > copying pyarrow/tests/test_pandas.py -> > build/lib.linux-x86_64-3.8/pyarrow/tests > running egg_info > writing pyarrow.egg-info/PKG-INFO > writing dependency_links to pyarrow.egg-info/dependency_links.txt > writing entry points to pyarrow.egg-info/entry_points.txt > writing requirements to pyarrow.egg-info/requires.txt > writing top-level names to pyarrow.egg-info/top_level.txt > reading manifest file 'pyarrow.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*.so' found anywhere in > distribution > warning: no previously-included files matching '*.pyc' found anywhere in > distribution > warning: no previously-included files matching '*~' found anywhere in > distribution > warning: no previously-included files matching '#*' found anywhere in > distribution > warning: no previously-included files matching '.git*' found anywhere in > distribution > warning: no previously-included files matching '.DS_Store' found anywhere > in distribution > no previously-included directories found matching '.asv' > writing manifest file 'pyarrow.egg-info/SOURCES.txt' > copying pyarrow/__init__.pxd -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_csv.cpp -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_csv.pyx -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_cuda.pxd -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_cuda.pyx -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_flight.pyx -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_orc.cpp -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_orc.pxd -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_orc.pyx -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_parquet.cpp -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_parquet.pxd -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_parquet.pyx -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_plasma.cpp -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/_plasma.pyx -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/array.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/benchmark.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/builder.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/error.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/feather.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/gandiva.pyx -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/io-hdfs.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/io.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/ipc.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/lib.cpp -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/lib.pxd -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/lib.pyx -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/lib_api.h -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/memory.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/pandas-shim.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/plasma_store_server -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/public-api.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/scalar.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/serialization.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/table.pxi -> build/lib.linux-x86_64-3.8/pyarrow > copying pyarrow/types.pxi -> build/lib.linux-x86_64-3.8/pyarrow > creating build/lib.linux-x86_64-3.8/pyarrow/include > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/allocator.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/api.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/array.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/buffer-builder.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/buffer.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/builder.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/compare.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/memory_pool-test.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/memory_pool.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/pretty_print.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/record_batch.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/sparse_tensor.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/status.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/stl.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/table.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/table_builder.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/tensor.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/test-common.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/test-util.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/type.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/type_fwd.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/type_traits.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/visitor.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > copying pyarrow/include/arrow/visitor_inline.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/adapters > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/adapters/orc > copying pyarrow/include/arrow/adapters/orc/adapter.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/adapters/orc > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/array > copying pyarrow/include/arrow/array/builder_adaptive.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/array > copying pyarrow/include/arrow/array/builder_base.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/array > copying pyarrow/include/arrow/array/builder_binary.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/array > copying pyarrow/include/arrow/array/builder_decimal.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/array > copying pyarrow/include/arrow/array/builder_dict.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/array > copying pyarrow/include/arrow/array/builder_nested.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/array > copying pyarrow/include/arrow/array/builder_primitive.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/array > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/compute > copying pyarrow/include/arrow/compute/api.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/compute > copying pyarrow/include/arrow/compute/context.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/compute > copying pyarrow/include/arrow/compute/kernel.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/compute > copying pyarrow/include/arrow/compute/test-util.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/compute > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/compute/kernels > copying pyarrow/include/arrow/compute/kernels/boolean.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/compute/kernels > copying pyarrow/include/arrow/compute/kernels/cast.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/compute/kernels > copying pyarrow/include/arrow/compute/kernels/hash.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/compute/kernels > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/csv > copying pyarrow/include/arrow/csv/api.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/csv > copying pyarrow/include/arrow/csv/chunker.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/csv > copying pyarrow/include/arrow/csv/column-builder.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/csv > copying pyarrow/include/arrow/csv/converter.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/csv > copying pyarrow/include/arrow/csv/options.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/csv > copying pyarrow/include/arrow/csv/parser.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/csv > copying pyarrow/include/arrow/csv/reader.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/csv > copying pyarrow/include/arrow/csv/test-common.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/csv > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/gpu > copying pyarrow/include/arrow/gpu/cuda_api.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/gpu > copying pyarrow/include/arrow/gpu/cuda_arrow_ipc.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/gpu > copying pyarrow/include/arrow/gpu/cuda_common.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/gpu > copying pyarrow/include/arrow/gpu/cuda_context.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/gpu > copying pyarrow/include/arrow/gpu/cuda_memory.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/gpu > copying pyarrow/include/arrow/gpu/cuda_version.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/gpu > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/io > copying pyarrow/include/arrow/io/api.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/io > copying pyarrow/include/arrow/io/buffered.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/io > copying pyarrow/include/arrow/io/compressed.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/io > copying pyarrow/include/arrow/io/file.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/io > copying pyarrow/include/arrow/io/hdfs.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/io > copying pyarrow/include/arrow/io/interfaces.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/io > copying pyarrow/include/arrow/io/memory.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/io > copying pyarrow/include/arrow/io/mman.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/io > copying pyarrow/include/arrow/io/readahead.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/io > copying pyarrow/include/arrow/io/test-common.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/io > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/ipc > copying pyarrow/include/arrow/ipc/api.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/ipc > copying pyarrow/include/arrow/ipc/dictionary.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/ipc > copying pyarrow/include/arrow/ipc/feather.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/ipc > copying pyarrow/include/arrow/ipc/json-simple.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/ipc > copying pyarrow/include/arrow/ipc/json.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/ipc > copying pyarrow/include/arrow/ipc/message.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/ipc > copying pyarrow/include/arrow/ipc/reader.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/ipc > copying pyarrow/include/arrow/ipc/test-common.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/ipc > copying pyarrow/include/arrow/ipc/util.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/ipc > copying pyarrow/include/arrow/ipc/writer.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/ipc > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/api.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/arrow_to_pandas.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/benchmark.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/common.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/config.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/decimal.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/deserialize.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/helpers.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/inference.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/init.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/io.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/iterators.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/numpy_convert.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/numpy_interop.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/numpy_to_arrow.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/platform.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/pyarrow.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/pyarrow_api.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/pyarrow_lib.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/python_to_arrow.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/serialize.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/type_traits.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > copying pyarrow/include/arrow/python/visibility.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/python > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/bit-stream-utils.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/bit-util.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/bpacking.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/checked_cast.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/compiler-util.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/compression.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/compression_brotli.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/compression_bz2.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/compression_lz4.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/compression_snappy.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/compression_zlib.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/compression_zstd.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/cpu-info.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/decimal.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/hash-util.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/hashing.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/int-util.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/io-util.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/key_value_metadata.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/lazy.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/logging.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/macros.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/memory.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/neon-util.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/parallel.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/parsing.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/rle-encoding.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/sse-util.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/stl.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/stopwatch.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/string.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/string_builder.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/string_view.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/task-group.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/thread-pool.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/trie.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/type_traits.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/utf8.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/variant.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/visibility.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > copying pyarrow/include/arrow/util/windows_compatibility.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/util > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/vendored > copying pyarrow/include/arrow/vendored/date.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/vendored > copying pyarrow/include/arrow/vendored/string_view.hpp -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/vendored > creating build/lib.linux-x86_64-3.8/pyarrow/include/arrow/vendored/variant > copying pyarrow/include/arrow/vendored/variant/recursive_wrapper.hpp -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/vendored/variant > copying pyarrow/include/arrow/vendored/variant/variant.hpp -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/vendored/variant > copying pyarrow/include/arrow/vendored/variant/variant_io.hpp -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/vendored/variant > copying pyarrow/include/arrow/vendored/variant/variant_visitor.hpp -> > build/lib.linux-x86_64-3.8/pyarrow/include/arrow/vendored/variant > creating build/lib.linux-x86_64-3.8/pyarrow/include/plasma > copying pyarrow/include/plasma/client.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/plasma > copying pyarrow/include/plasma/common.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/plasma > copying pyarrow/include/plasma/compat.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/plasma > copying pyarrow/include/plasma/events.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/plasma > copying pyarrow/include/plasma/test-util.h -> > build/lib.linux-x86_64-3.8/pyarrow/include/plasma > creating build/lib.linux-x86_64-3.8/pyarrow/includes > copying pyarrow/includes/__init__.pxd -> > build/lib.linux-x86_64-3.8/pyarrow/includes > copying pyarrow/includes/common.pxd -> > build/lib.linux-x86_64-3.8/pyarrow/includes > copying pyarrow/includes/libarrow.pxd -> > build/lib.linux-x86_64-3.8/pyarrow/includes > copying pyarrow/includes/libarrow_cuda.pxd -> > build/lib.linux-x86_64-3.8/pyarrow/includes > copying pyarrow/includes/libarrow_flight.pxd -> > build/lib.linux-x86_64-3.8/pyarrow/includes > copying pyarrow/includes/libgandiva.pxd -> > build/lib.linux-x86_64-3.8/pyarrow/includes > creating build/lib.linux-x86_64-3.8/pyarrow/tensorflow > copying pyarrow/tensorflow/plasma_op.cc -> > build/lib.linux-x86_64-3.8/pyarrow/tensorflow > copying pyarrow/tests/pyarrow_cython_example.pyx -> > build/lib.linux-x86_64-3.8/pyarrow/tests > creating build/lib.linux-x86_64-3.8/pyarrow/tests/data > creating build/lib.linux-x86_64-3.8/pyarrow/tests/data/orc > copying pyarrow/tests/data/orc/README.md -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/orc > copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.jsn.gz -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/orc > copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.orc -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/orc > copying pyarrow/tests/data/orc/TestOrcFile.test1.jsn.gz -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/orc > copying pyarrow/tests/data/orc/TestOrcFile.test1.orc -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/orc > copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.jsn.gz -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/orc > copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.orc -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/orc > copying pyarrow/tests/data/orc/decimal.jsn.gz -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/orc > copying pyarrow/tests/data/orc/decimal.orc -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/orc > creating build/lib.linux-x86_64-3.8/pyarrow/tests/data/parquet > copying pyarrow/tests/data/parquet/v0.7.1.all-named-index.parquet -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/parquet > copying pyarrow/tests/data/parquet/v0.7.1.column-metadata-handling.parquet > -> build/lib.linux-x86_64-3.8/pyarrow/tests/data/parquet > copying pyarrow/tests/data/parquet/v0.7.1.parquet -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/parquet > copying pyarrow/tests/data/parquet/v0.7.1.some-named-index.parquet -> > build/lib.linux-x86_64-3.8/pyarrow/tests/data/parquet > running build_ext > creating build/temp.linux-x86_64-3.8 > -- Running cmake for pyarrow > cmake -DPYTHON_EXECUTABLE=/usr/bin/python -DPYARROW_BOOST_USE_SHARED=on > -DCMAKE_BUILD_TYPE=release /tmp/pip-install-nbw47g9q/pyarrow > error: command 'cmake' failed with exit status 1 > ---------------------------------------- > ERROR: Failed building wheel for pyarrow > Building wheel for crcmod (setup.py) ... done > Created wheel for crcmod: filename=crcmod-1.7-cp38-cp38-linux_x86_64.whl > size=35990 > sha256=3352f0efb0b1faa488731193051fc57faea34753398afb335c403f5b5c6c49cd > Stored in directory: > /home/ubuntu/.cache/pip/wheels/ca/5a/02/f3acf982a026f3319fb3e798a8dca2d48fafee7761788562e9 > Building wheel for dill (setup.py) ... done > Created wheel for dill: filename=dill-0.2.9-py3-none-any.whl size=77404 > sha256=896037b2ab52068ccaba2f7686d11b5b49558df8f9326f4e7697db7ee62ee6a2 > Stored in directory: > /home/ubuntu/.cache/pip/wheels/da/03/f6/41ff217c2d88b1446b2d593d5b7433b9e823f1ee52e798e4f2 > Building wheel for fastavro (setup.py) ... error > ERROR: Command errored out with exit status 1: > command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; > sys.argv[0] = '"'"'/tmp/pip-install-nbw47g9q/fastavro/setup.py'"'"'; > __file__='"'"'/tmp/pip-install-nbw47g9q/fastavro/setup.py'"'"';f=getattr(tokenize, > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' > bdist_wheel -d /tmp/pip-wheel-zhso7st7 > cwd: /tmp/pip-install-nbw47g9q/fastavro/ > Complete output (728 lines): > running bdist_wheel > running build > running build_py > creating build > creating build/lib.linux-x86_64-3.8 > creating build/lib.linux-x86_64-3.8/fastavro > copying fastavro/_read_py.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/_validate_common.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/write.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/_validation_py.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/schema.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/validation.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/_timezone.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/_write_py.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/read.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/__init__.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/_schema_py.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/six.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/__main__.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/_read_common.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/_schema_common.py -> build/lib.linux-x86_64-3.8/fastavro > copying fastavro/const.py -> build/lib.linux-x86_64-3.8/fastavro > running build_ext > building 'fastavro._read' extension > creating build/temp.linux-x86_64-3.8 > creating build/temp.linux-x86_64-3.8/fastavro > x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g > -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat > -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -I/usr/include/python3.8 -c fastavro/_read.c -o > build/temp.linux-x86_64-3.8/fastavro/_read.o > fastavro/_read.c: In function ‘__Pyx_InitCachedConstants’: > /usr/include/python3.8/code.h:72:25: warning: passing argument 6 of > ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] > 72 | #define CO_OPTIMIZED 0x0001 > | ^ > | | > | int > fastavro/_read.c:318:37: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^ > fastavro/_read.c:15771:63: note: in expansion of macro ‘CO_OPTIMIZED’ > 15771 | __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(5, 0, 10, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter_avro_records, 628, > __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) __PYX_ERR(0, 628, > __pyx_L1_error) > | > ^~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15771:233: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 15771 | __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(5, 0, 10, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter_avro_records, 628, > __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) __PYX_ERR(0, 628, > __pyx_L1_error) > | > > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > | > > > | > | > > > PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15771:262: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 15771 | __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(5, 0, 10, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter_avro_records, 628, > __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) __PYX_ERR(0, 628, > __pyx_L1_error) > | > > > ^~~ > | > > > | > | > > > int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:15771:33: note: in expansion of macro ‘__Pyx_PyCode_New’ > 15771 | __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(5, 0, 10, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter_avro_records, 628, > __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) __PYX_ERR(0, 628, > __pyx_L1_error) > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > /usr/include/python3.8/code.h:72:25: warning: passing argument 6 of > ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] > 72 | #define CO_OPTIMIZED 0x0001 > | ^ > | | > | int > fastavro/_read.c:318:37: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^ > fastavro/_read.c:15783:63: note: in expansion of macro ‘CO_OPTIMIZED’ > 15783 | __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(5, 0, 11, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter_avro_blocks, 648, > __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 648, > __pyx_L1_error) > | > ^~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15783:233: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 15783 | __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(5, 0, 11, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter_avro_blocks, 648, > __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 648, > __pyx_L1_error) > | > > > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | > > > | > | > > > PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15783:261: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 15783 | __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(5, 0, 11, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter_avro_blocks, 648, > __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 648, > __pyx_L1_error) > | > > > ^~~ > | > > > | > | > > > int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:15783:33: note: in expansion of macro ‘__Pyx_PyCode_New’ > 15783 | __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(5, 0, 11, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter_avro_blocks, 648, > __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 648, > __pyx_L1_error) > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > /usr/include/python3.8/code.h:72:25: warning: passing argument 6 of > ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] > 72 | #define CO_OPTIMIZED 0x0001 > | ^ > | | > | int > fastavro/_read.c:318:37: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^ > fastavro/_read.c:15795:63: note: in expansion of macro ‘CO_OPTIMIZED’ > 15795 | __pyx_codeobj__14 = (PyObject*)__Pyx_PyCode_New(8, 0, 8, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__13, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 675, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__14)) __PYX_ERR(0, 675, __pyx_L1_error) > | > ^~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15795:233: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 15795 | __pyx_codeobj__14 = (PyObject*)__Pyx_PyCode_New(8, 0, 8, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__13, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 675, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__14)) __PYX_ERR(0, 675, __pyx_L1_error) > | > > > ^~~~~~~~~~~~~~ > | > > > | > | > > > PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15795:249: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 15795 | __pyx_codeobj__14 = (PyObject*)__Pyx_PyCode_New(8, 0, 8, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__13, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 675, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__14)) __PYX_ERR(0, 675, __pyx_L1_error) > | > > > ^~~ > | > > > | > | > > > int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:15795:34: note: in expansion of macro ‘__Pyx_PyCode_New’ > 15795 | __pyx_codeobj__14 = (PyObject*)__Pyx_PyCode_New(8, 0, 8, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__13, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 675, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__14)) __PYX_ERR(0, 675, __pyx_L1_error) > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > /usr/include/python3.8/code.h:72:25: warning: passing argument 6 of > ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] > 72 | #define CO_OPTIMIZED 0x0001 > | ^ > | | > | int > fastavro/_read.c:318:37: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^ > fastavro/_read.c:15807:62: note: in expansion of macro ‘CO_OPTIMIZED’ > 15807 | __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__15, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter, 685, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__7)) __PYX_ERR(0, 685, __pyx_L1_error) > | > ^~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15807:232: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 15807 | __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__15, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter, 685, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__7)) __PYX_ERR(0, 685, __pyx_L1_error) > | > > > ^~~~~~~~~~~~~~ > | > > > | > | > > > PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15807:248: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 15807 | __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__15, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter, 685, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__7)) __PYX_ERR(0, 685, __pyx_L1_error) > | > > > ^~~ > | > > > | > | > > > int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:15807:33: note: in expansion of macro ‘__Pyx_PyCode_New’ > 15807 | __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__15, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter, 685, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__7)) __PYX_ERR(0, 685, __pyx_L1_error) > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > /usr/include/python3.8/code.h:72:25: warning: passing argument 6 of > ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] > 72 | #define CO_OPTIMIZED 0x0001 > | ^ > | | > | int > fastavro/_read.c:318:37: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^ > fastavro/_read.c:15819:63: note: in expansion of macro ‘CO_OPTIMIZED’ > 15819 | __pyx_codeobj__17 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_str, 690, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__17)) __PYX_ERR(0, 690, __pyx_L1_error) > | > ^~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15819:233: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 15819 | __pyx_codeobj__17 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_str, 690, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__17)) __PYX_ERR(0, 690, __pyx_L1_error) > | > > > ^~~~~~~~~~~~~ > | > > > | > | > > > PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15819:248: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 15819 | __pyx_codeobj__17 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_str, 690, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__17)) __PYX_ERR(0, 690, __pyx_L1_error) > | > > > ^~~ > | > > > | > | > > > int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:15819:34: note: in expansion of macro ‘__Pyx_PyCode_New’ > 15819 | __pyx_codeobj__17 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_str, 690, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__17)) __PYX_ERR(0, 690, __pyx_L1_error) > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > /usr/include/python3.8/code.h:72:25: warning: passing argument 6 of > ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] > 72 | #define CO_OPTIMIZED 0x0001 > | ^ > | | > | int > fastavro/_read.c:318:37: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^ > fastavro/_read.c:15831:63: note: in expansion of macro ‘CO_OPTIMIZED’ > 15831 | __pyx_codeobj__19 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__18, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 697, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__19)) __PYX_ERR(0, 697, __pyx_L1_error) > | > ^~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15831:233: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 15831 | __pyx_codeobj__19 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__18, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 697, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__19)) __PYX_ERR(0, 697, __pyx_L1_error) > | > > > ^~~~~~~~~~~~~~ > | > > > | > | > > > PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15831:249: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 15831 | __pyx_codeobj__19 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__18, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 697, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__19)) __PYX_ERR(0, 697, __pyx_L1_error) > | > > > ^~~ > | > > > | > | > > > int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:15831:34: note: in expansion of macro ‘__Pyx_PyCode_New’ > 15831 | __pyx_codeobj__19 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__18, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 697, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__19)) __PYX_ERR(0, 697, __pyx_L1_error) > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > /usr/include/python3.8/code.h:72:25: warning: passing argument 6 of > ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] > 72 | #define CO_OPTIMIZED 0x0001 > | ^ > | | > | int > fastavro/_read.c:318:37: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^ > fastavro/_read.c:15846:63: note: in expansion of macro ‘CO_OPTIMIZED’ > 15846 | __pyx_codeobj__22 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__21, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_schema_2, 724, __pyx_empty_bytes); > if (unlikely(!__pyx_codeobj__22)) __PYX_ERR(0, 724, __pyx_L1_error) > | > ^~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15846:233: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 15846 | __pyx_codeobj__22 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__21, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_schema_2, 724, __pyx_empty_bytes); > if (unlikely(!__pyx_codeobj__22)) __PYX_ERR(0, 724, __pyx_L1_error) > | > > > ^~~~~~~~~~~~~~~~~~ > | > > > | > | > > > PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15846:253: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 15846 | __pyx_codeobj__22 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__21, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_schema_2, 724, __pyx_empty_bytes); > if (unlikely(!__pyx_codeobj__22)) __PYX_ERR(0, 724, __pyx_L1_error) > | > > > ^~~ > | > > > | > | > > > int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:15846:34: note: in expansion of macro ‘__Pyx_PyCode_New’ > 15846 | __pyx_codeobj__22 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__21, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_schema_2, 724, __pyx_empty_bytes); > if (unlikely(!__pyx_codeobj__22)) __PYX_ERR(0, 724, __pyx_L1_error) > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > /usr/include/python3.8/code.h:72:25: warning: passing argument 6 of > ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] > 72 | #define CO_OPTIMIZED 0x0001 > | ^ > | | > | int > fastavro/_read.c:318:37: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^ > fastavro/_read.c:15858:63: note: in expansion of macro ‘CO_OPTIMIZED’ > 15858 | __pyx_codeobj__24 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__23, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter, 732, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__24)) __PYX_ERR(0, 732, __pyx_L1_error) > | > ^~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15858:233: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 15858 | __pyx_codeobj__24 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__23, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter, 732, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__24)) __PYX_ERR(0, 732, __pyx_L1_error) > | > > > ^~~~~~~~~~~~~~ > | > > > | > | > > > PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15858:249: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 15858 | __pyx_codeobj__24 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__23, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter, 732, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__24)) __PYX_ERR(0, 732, __pyx_L1_error) > | > > > ^~~ > | > > > | > | > > > int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:15858:34: note: in expansion of macro ‘__Pyx_PyCode_New’ > 15858 | __pyx_codeobj__24 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__23, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter, 732, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__24)) __PYX_ERR(0, 732, __pyx_L1_error) > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > /usr/include/python3.8/code.h:72:25: warning: passing argument 6 of > ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] > 72 | #define CO_OPTIMIZED 0x0001 > | ^ > | | > | int > fastavro/_read.c:318:37: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^ > fastavro/_read.c:15870:63: note: in expansion of macro ‘CO_OPTIMIZED’ > 15870 | __pyx_codeobj__26 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__25, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_next, 737, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__26)) __PYX_ERR(0, 737, __pyx_L1_error) > | > ^~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15870:233: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 15870 | __pyx_codeobj__26 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__25, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_next, 737, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__26)) __PYX_ERR(0, 737, __pyx_L1_error) > | > > > ^~~~~~~~~~~~~~ > | > > > | > | > > > PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15870:249: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 15870 | __pyx_codeobj__26 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__25, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_next, 737, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__26)) __PYX_ERR(0, 737, __pyx_L1_error) > | > > > ^~~ > | > > > | > | > > > int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:15870:34: note: in expansion of macro ‘__Pyx_PyCode_New’ > 15870 | __pyx_codeobj__26 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__25, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_next, 737, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__26)) __PYX_ERR(0, 737, __pyx_L1_error) > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > /usr/include/python3.8/code.h:72:25: warning: passing argument 6 of > ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] > 72 | #define CO_OPTIMIZED 0x0001 > | ^ > | | > | int > fastavro/_read.c:318:37: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^ > fastavro/_read.c:15882:63: note: in expansion of macro ‘CO_OPTIMIZED’ > 15882 | __pyx_codeobj__28 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__27, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 744, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__28)) __PYX_ERR(0, 744, __pyx_L1_error) > | > ^~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15882:233: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 15882 | __pyx_codeobj__28 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__27, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 744, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__28)) __PYX_ERR(0, 744, __pyx_L1_error) > | > > > ^~~~~~~~~~~~~~ > | > > > | > | > > > PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15882:249: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 15882 | __pyx_codeobj__28 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__27, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 744, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__28)) __PYX_ERR(0, 744, __pyx_L1_error) > | > > > ^~~ > | > > > | > | > > > int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:15882:34: note: in expansion of macro ‘__Pyx_PyCode_New’ > 15882 | __pyx_codeobj__28 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__27, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 744, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__28)) __PYX_ERR(0, 744, __pyx_L1_error) > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > /usr/include/python3.8/code.h:72:25: warning: passing argument 6 of > ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion] > 72 | #define CO_OPTIMIZED 0x0001 > | ^ > | | > | int > fastavro/_read.c:318:37: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^ > fastavro/_read.c:15897:63: note: in expansion of macro ‘CO_OPTIMIZED’ > 15897 | __pyx_codeobj__31 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__30, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 755, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__31)) __PYX_ERR(0, 755, __pyx_L1_error) > | > ^~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15897:233: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 15897 | __pyx_codeobj__31 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__30, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 755, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__31)) __PYX_ERR(0, 755, __pyx_L1_error) > | > > > ^~~~~~~~~~~~~~ > | > > > | > | > > > PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:15897:249: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 15897 | __pyx_codeobj__31 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__30, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 755, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__31)) __PYX_ERR(0, 755, __pyx_L1_error) > | > > > ^~~ > | > > > | > | > > > int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:15897:34: note: in expansion of macro ‘__Pyx_PyCode_New’ > 15897 | __pyx_codeobj__31 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, > CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, > __pyx_empty_tuple, __pyx_tuple__30, __pyx_empty_tuple, __pyx_empty_tuple, > __pyx_kp_s_fastavro__read_pyx, __pyx_n_s_init, 755, __pyx_empty_bytes); if > (unlikely(!__pyx_codeobj__31)) __PYX_ERR(0, 755, __pyx_L1_error) > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c: In function ‘__Pyx_modinit_type_init_code’: > fastavro/_read.c:15964:3: warning: ‘tp_print’ is deprecated > [-Wdeprecated-declarations] > 15964 | > __pyx_type_8fastavro_5_read___pyx_scope_struct___iter_avro_records.tp_print = > 0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/object.h:746, > from /usr/include/python3.8/pytime.h:6, > from /usr/include/python3.8/Python.h:85, > from fastavro/_read.c:4: > /usr/include/python3.8/cpython/object.h:260:30: note: declared here > 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); > | ^~~~~~~~ > fastavro/_read.c:15970:3: warning: ‘tp_print’ is deprecated > [-Wdeprecated-declarations] > 15970 | > __pyx_type_8fastavro_5_read___pyx_scope_struct_1__iter_avro_blocks.tp_print = > 0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/object.h:746, > from /usr/include/python3.8/pytime.h:6, > from /usr/include/python3.8/Python.h:85, > from fastavro/_read.c:4: > /usr/include/python3.8/cpython/object.h:260:30: note: declared here > 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); > | ^~~~~~~~ > fastavro/_read.c:15976:3: warning: ‘tp_print’ is deprecated > [-Wdeprecated-declarations] > 15976 | > __pyx_type_8fastavro_5_read___pyx_scope_struct_2___iter__.tp_print = 0; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/object.h:746, > from /usr/include/python3.8/pytime.h:6, > from /usr/include/python3.8/Python.h:85, > from fastavro/_read.c:4: > /usr/include/python3.8/cpython/object.h:260:30: note: declared here > 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); > | ^~~~~~~~ > fastavro/_read.c: In function ‘__Pyx_CreateCodeObjectForTraceback’: > fastavro/_read.c:20693:9: warning: passing argument 14 of ‘PyCode_New’ > makes integer from pointer without a cast [-Wint-conversion] > 20693 | py_funcname, /*PyObject *name,*/ > | ^~~~~~~~~~~ > | | > | PyObject * {aka struct _object *} > fastavro/_read.c:318:69: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is > of type ‘PyObject *’ {aka ‘struct _object *’} > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:20694:9: warning: passing argument 15 of ‘PyCode_New’ > makes pointer from integer without a cast [-Wint-conversion] > 20694 | py_line, > | ^~~~~~~ > | | > | int > fastavro/_read.c:318:75: note: in definition of macro ‘__Pyx_PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | > ^~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka > ‘struct _object *’} but argument is of type ‘int’ > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > fastavro/_read.c:318:11: error: too many arguments to function ‘PyCode_New’ > 318 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, > name, fline, lnos) > | ^~~~~~~~~~ > fastavro/_read.c:20680:15: note: in expansion of macro ‘__Pyx_PyCode_New’ > 20680 | py_code = __Pyx_PyCode_New( > | ^~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.8/compile.h:5, > from /usr/include/python3.8/Python.h:138, > from fastavro/_read.c:4: > /usr/include/python3.8/code.h:122:28: note: declared here > 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( > | ^~~~~~~~~~ > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 > ---------------------------------------- > ERROR: Failed building wheel for fastavro > Running setup.py clean for fastavro > Building wheel for future (setup.py) ... done > Created wheel for future: filename=future-0.18.2-py3-none-any.whl > size=491058 > sha256=ec332580c55badf02021abd50786f0e66c70c9a94493bbb7c6b979704f34056a > Stored in directory: > /home/ubuntu/.cache/pip/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4 > Building wheel for hdfs (setup.py) ... done > Created wheel for hdfs: filename=hdfs-2.5.8-py3-none-any.whl size=33213 > sha256=7755135ac465411e52f7d33a453df171f07808e4e40554d2cfe3dcd8e5b41db0 > Stored in directory: > /home/ubuntu/.cache/pip/wheels/43/cb/59/3fdce328ada746ea437798538a9808e4f730135f5a26f137a4 > Building wheel for httplib2 (setup.py) ... done > Created wheel for httplib2: filename=httplib2-0.12.0-py3-none-any.whl > size=93464 > sha256=99aba81bc0fc283382f6424804da10383745a4e68d26608fbd4369bf0fba3b98 > Stored in directory: > /home/ubuntu/.cache/pip/wheels/28/5f/7a/853be49fd1671b16cb2f282e1e87bde49c64557edd5d017991 > Building wheel for oauth2client (setup.py) ... done > Created wheel for oauth2client: > filename=oauth2client-3.0.0-py3-none-any.whl size=106382 > sha256=3472b542668b49b1986f67a6f52d2ea3f1dad7762f4f3bf71c0915c6bfb43a42 > Stored in directory: > /home/ubuntu/.cache/pip/wheels/72/35/a1/4e0e05c5c381fdf1429312cd38e37a305bd18bd6118037cd5a > Building wheel for pyyaml (setup.py) ... done > Created wheel for pyyaml: filename=PyYAML-3.13-cp38-cp38-linux_x86_64.whl > size=43084 > sha256=3440452242fe948bd3b4f4ee23229909af3f9d1723891194b5f9367a8b72af83 > Stored in directory: > /home/ubuntu/.cache/pip/wheels/db/f2/07/5e58b12bc11255c3fc0a0aca89849050a8ec203d8b4a3c52c0 > Building wheel for docopt (setup.py) ... done > Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl > size=13704 > sha256=491caf873c717a84c40705d2a8601bae985b8933bf42626e8040ee4196745ed4 > Stored in directory: > /home/ubuntu/.cache/pip/wheels/56/ea/58/ead137b087d9e326852a851351d1debf4ada529b6ac0ec4e8c > Successfully built apache-flink apache-beam avro-python3 crcmod dill future > hdfs httplib2 oauth2client pyyaml docopt > Failed to build pyarrow fastavro > ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be > installed directly > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)