Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ARM pre-built for manylinux #115

Open
EHadoux opened this issue Jan 2, 2025 · 2 comments
Open

Missing ARM pre-built for manylinux #115

EHadoux opened this issue Jan 2, 2025 · 2 comments

Comments

@EHadoux
Copy link

EHadoux commented Jan 2, 2025

It looks like the latest version (2.5.0) is missing the ARM builds for manylinux (and musl). The previous versions had them. Thanks!

@Anton-Aracor
Copy link

Seems that problem is on Mac with M1-M4 processors, as they have ARM.

It works if I install on MacOS itself - all good.

But when we try to build our project inside the Docket container it fails with (we use docker.io/library/python:3.12.3-slim image):

18.09   • Installing srsly (2.5.0)
18.11   • Installing tenacity (8.5.0)
18.12   • Installing torch (2.5.1)
18.12   • Installing tzdata (2024.2)
18.14   • Installing wrapt (1.17.0)
23.19 
23.19   ChefBuildError
23.19 
23.19   Backend subprocess exited when trying to invoke build_wheel
23.19   
23.19   running bdist_wheel
23.19   running build
23.19   running build_py
23.19   creating build/lib.linux-aarch64-cpython-312/murmurhash
23.19   copying murmurhash/about.py -> build/lib.linux-aarch64-cpython-312/murmurhash
23.19   copying murmurhash/__init__.py -> build/lib.linux-aarch64-cpython-312/murmurhash
23.19   creating build/lib.linux-aarch64-cpython-312/murmurhash/tests
23.19   copying murmurhash/tests/test_import.py -> build/lib.linux-aarch64-cpython-312/murmurhash/tests
23.19   copying murmurhash/tests/__init__.py -> build/lib.linux-aarch64-cpython-312/murmurhash/tests
23.19   copying murmurhash/tests/test_hash.py -> build/lib.linux-aarch64-cpython-312/murmurhash/tests
23.19   copying murmurhash/mrmr.pyx -> build/lib.linux-aarch64-cpython-312/murmurhash
23.19   copying murmurhash/__init__.pxd -> build/lib.linux-aarch64-cpython-312/murmurhash
23.19   copying murmurhash/mrmr.pxd -> build/lib.linux-aarch64-cpython-312/murmurhash
23.19   creating build/lib.linux-aarch64-cpython-312/murmurhash/include/murmurhash
23.19   copying murmurhash/include/murmurhash/MurmurHash3.h -> build/lib.linux-aarch64-cpython-312/murmurhash/include/murmurhash
23.19   copying murmurhash/include/murmurhash/MurmurHash2.h -> build/lib.linux-aarch64-cpython-312/murmurhash/include/murmurhash
23.19   warning: build_py: byte-compiling is disabled, skipping.
23.19   
23.19   running build_ext
23.19   building 'murmurhash.mrmr' extension
23.19   creating build/temp.linux-aarch64-cpython-312/murmurhash
23.19   g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -I/tmp/tmp04yod38u/murmurhash-1.0.11/murmurhash/include -I/tmp/tmpeolpo76v/.venv/include -I/usr/local/include/python3.12 -c murmurhash/MurmurHash2.cpp -o build/temp.linux-aarch64-cpython-312/murmurhash/MurmurHash2.o -O3 -Wno-strict-prototypes -Wno-unused-function
23.19   error: command 'g++' failed: No such file or directory
23.19   
23.19 
23.19   at /usr/local/lib/python3.12/site-packages/poetry/installation/chef.py:166 in _prepare
23.19       162│ 
23.19       163│                 error = ChefBuildError("\n\n".join(message_parts))
23.19       164│ 
23.19       165│             if error is not None:
23.19     → 166│                 raise error from None
23.19       167│ 
23.19       168│             return path
23.19       169│ 
23.19       170│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
23.19 
23.19 Note: This error originates from the build backend, and is likely not a problem with poetry but with murmurhash (1.0.11) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "murmurhash (==1.0.11)"'.
23.19 
23.23 
23.23   ChefBuildError
23.23 
23.23   Backend subprocess exited when trying to invoke build_wheel
23.23   
23.23   running bdist_wheel
23.23   running build
23.23   running build_py
23.23   creating build/lib.linux-aarch64-cpython-312/cymem
23.23   copying cymem/about.py -> build/lib.linux-aarch64-cpython-312/cymem
23.23   copying cymem/__init__.py -> build/lib.linux-aarch64-cpython-312/cymem
23.23   creating build/lib.linux-aarch64-cpython-312/cymem/tests
23.23   copying cymem/tests/test_import.py -> build/lib.linux-aarch64-cpython-312/cymem/tests
23.23   copying cymem/tests/__init__.py -> build/lib.linux-aarch64-cpython-312/cymem/tests
23.23   copying cymem/cymem.pyx -> build/lib.linux-aarch64-cpython-312/cymem
23.23   copying cymem/__init__.pxd -> build/lib.linux-aarch64-cpython-312/cymem
23.23   copying cymem/cymem.pxd -> build/lib.linux-aarch64-cpython-312/cymem
23.23   warning: build_py: byte-compiling is disabled, skipping.
23.23   
23.23   running build_ext
23.23   building 'cymem.cymem' extension
23.23   creating build/temp.linux-aarch64-cpython-312/cymem
23.23   g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -I/tmp/tmp4a9u6u9l/.venv/include -I/usr/local/include/python3.12 -c cymem/cymem.cpp -o build/temp.linux-aarch64-cpython-312/cymem/cymem.o -O3 -Wno-strict-prototypes -Wno-unused-function
23.23   error: command 'g++' failed: No such file or directory
23.23   
23.23 
23.23   at /usr/local/lib/python3.12/site-packages/poetry/installation/chef.py:166 in _prepare
23.24       162│ 
23.24       163│                 error = ChefBuildError("\n\n".join(message_parts))
23.24       164│ 
23.24       165│             if error is not None:
23.24     → 166│                 raise error from None
23.24       167│ 
23.24       168│             return path
23.24       169│ 
23.24       170│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
23.24 
23.24 Note: This error originates from the build backend, and is likely not a problem with poetry but with cymem (2.0.10) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "cymem (==2.0.10)"'.
23.24 
23.96 
23.96   ChefBuildError
23.96 
23.96   Backend subprocess exited when trying to invoke build_wheel
23.96   
23.96   Cythonizing sources
23.96   running bdist_wheel
23.96   running build
23.96   running build_py
23.96   creating build/lib.linux-aarch64-cpython-312/srsly
23.96   copying srsly/about.py -> build/lib.linux-aarch64-cpython-312/srsly
23.96   copying srsly/_json_api.py -> build/lib.linux-aarch64-cpython-312/srsly
23.96   copying srsly/_msgpack_api.py -> build/lib.linux-aarch64-cpython-312/srsly
23.96   copying srsly/__init__.py -> build/lib.linux-aarch64-cpython-312/srsly
23.96   copying srsly/util.py -> build/lib.linux-aarch64-cpython-312/srsly
23.96   copying srsly/_yaml_api.py -> build/lib.linux-aarch64-cpython-312/srsly
23.96   copying srsly/_pickle_api.py -> build/lib.linux-aarch64-cpython-312/srsly
23.96   creating build/lib.linux-aarch64-cpython-312/srsly/cloudpickle
23.96   copying srsly/cloudpickle/cloudpickle_fast.py -> build/lib.linux-aarch64-cpython-312/srsly/cloudpickle
23.96   copying srsly/cloudpickle/compat.py -> build/lib.linux-aarch64-cpython-312/srsly/cloudpickle
23.96   copying srsly/cloudpickle/__init__.py -> build/lib.linux-aarch64-cpython-312/srsly/cloudpickle
23.96   copying srsly/cloudpickle/cloudpickle.py -> build/lib.linux-aarch64-cpython-312/srsly/cloudpickle
23.96   creating build/lib.linux-aarch64-cpython-312/srsly/tests
23.96   copying srsly/tests/test_msgpack_api.py -> build/lib.linux-aarch64-cpython-312/srsly/tests
23.96   copying srsly/tests/__init__.py -> build/lib.linux-aarch64-cpython-312/srsly/tests
23.96   copying srsly/tests/util.py -> build/lib.linux-aarch64-cpython-312/srsly/tests
23.96   copying srsly/tests/test_pickle_api.py -> build/lib.linux-aarch64-cpython-312/srsly/tests
23.96   copying srsly/tests/test_json_api.py -> build/lib.linux-aarch64-cpython-312/srsly/tests
23.96   copying srsly/tests/test_yaml_api.py -> build/lib.linux-aarch64-cpython-312/srsly/tests
23.96   creating build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/parser.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/representer.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/composer.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/serializer.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/scanner.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/events.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/error.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/reader.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/compat.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/__init__.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/scalarfloat.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/main.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/util.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/cyaml.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/emitter.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/loader.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/dumper.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/configobjwalker.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/nodes.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/resolver.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/scalarint.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/scalarstring.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/timestamp.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/tokens.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/comments.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/anchor.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/scalarbool.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ruamel_yaml/constructor.py -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   creating build/lib.linux-aarch64-cpython-312/srsly/ujson
23.96   copying srsly/ujson/__init__.py -> build/lib.linux-aarch64-cpython-312/srsly/ujson
23.96   creating build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/__init__.py -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/_msgpack_numpy.py -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/util.py -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/fallback.py -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/exceptions.py -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/ext.py -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/_version.py -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   creating build/lib.linux-aarch64-cpython-312/srsly/tests/cloudpickle
23.96   copying srsly/tests/cloudpickle/testutils.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/cloudpickle
23.96   copying srsly/tests/cloudpickle/cloudpickle_test.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/cloudpickle
23.96   copying srsly/tests/cloudpickle/__init__.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/cloudpickle
23.96   copying srsly/tests/cloudpickle/cloudpickle_file_test.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/cloudpickle
23.96   creating build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_line_col.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_issues.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_api_change.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_program_config.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_numpy.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_copy.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_a_dedent.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_comments.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_flowsequencekey.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/__init__.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_contextmanager.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_string.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_deprecation.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_z_data.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_json_numbers.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_comment_manipulation.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_yamlfile.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_anchor.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_z_check_debug_leftovers.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_documents.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_appliance.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_datetime.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_float.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_yamlobject.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_class_register.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_fail.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_version.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_literal.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_tag.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_none.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/roundtrip.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_collections.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_indentation.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_int.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_spec_examples.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   copying srsly/tests/ruamel_yaml/test_add_xxx.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ruamel_yaml
23.96   creating build/lib.linux-aarch64-cpython-312/srsly/tests/ujson
23.96   copying srsly/tests/ujson/__init__.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ujson
23.96   copying srsly/tests/ujson/test_ujson.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/ujson
23.96   creating build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_memoryview.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_except.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_buffer.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_format.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_numpy.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_subtype.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_case.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_limits.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/__init__.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_newspec.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_sequnpack.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_pack.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_stricttype.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_extension.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_unpack.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_seq.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   copying srsly/tests/msgpack/test_read_size.py -> build/lib.linux-aarch64-cpython-312/srsly/tests/msgpack
23.96   running egg_info
23.96   writing srsly.egg-info/PKG-INFO
23.96   writing dependency_links to srsly.egg-info/dependency_links.txt
23.96   writing entry points to srsly.egg-info/entry_points.txt
23.96   writing requirements to srsly.egg-info/requires.txt
23.96   writing top-level names to srsly.egg-info/top_level.txt
23.96   dependency /usr/local/include/python3.12/Python.h won't be automatically included in the manifest: the path must be relative
23.96   dependency /usr/local/include/python3.12/datetime.h won't be automatically included in the manifest: the path must be relative
23.96   dependency /usr/local/include/python3.12/Python.h won't be automatically included in the manifest: the path must be relative
23.96   dependency /usr/local/include/python3.12/datetime.h won't be automatically included in the manifest: the path must be relative
23.96   dependency /usr/local/include/python3.12/pythread.h won't be automatically included in the manifest: the path must be relative
23.96   dependency /usr/local/include/python3.12/Python.h won't be automatically included in the manifest: the path must be relative
23.96   dependency /usr/local/include/python3.12/pythread.h won't be automatically included in the manifest: the path must be relative
23.96   reading manifest file 'srsly.egg-info/SOURCES.txt'
23.96   reading manifest template 'MANIFEST.in'
23.96   warning: no files found matching '*.pxd' under directory 'srsly'
23.96   adding license file 'LICENSE'
23.96   writing manifest file 'srsly.egg-info/SOURCES.txt'
23.96   /tmp/tmp3f3am81k/.venv/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'srsly.ujson.lib' is absent from the `packages` configuration.
23.96   !!
23.96   
23.96           ********************************************************************************
23.96           ############################
23.96           # Package would be ignored #
23.96           ############################
23.96           Python recognizes 'srsly.ujson.lib' as an importable package[^1],
23.96           but it is absent from setuptools' `packages` configuration.
23.96   
23.96           This leads to an ambiguous overall configuration. If you want to distribute this
23.96           package, please make sure that 'srsly.ujson.lib' is explicitly added
23.96           to the `packages` configuration field.
23.96   
23.96           Alternatively, you can also rely on setuptools' discovery methods
23.96           (for example by using `find_namespace_packages(...)`/`find_namespace:`
23.96           instead of `find_packages(...)`/`find:`).
23.96   
23.96           You can read more about "package discovery" on setuptools documentation page:
23.96   
23.96           - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
23.96   
23.96           If you don't want 'srsly.ujson.lib' to be distributed and are
23.96           already explicitly excluding 'srsly.ujson.lib' via
23.96           `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
23.96           you can try to use `exclude_package_data`, or `include-package-data=False` in
23.96           combination with a more fine grained `package-data` configuration.
23.96   
23.96           You can read more about "package data files" on setuptools documentation page:
23.96   
23.96           - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
23.96   
23.96   
23.96           [^1]: For Python, any directory (with suitable naming) can be imported,
23.96                 even if it does not contain any `.py` files.
23.96                 On the other hand, currently there is no concept of package data
23.96                 directory, all directories are treated like packages.
23.96           ********************************************************************************
23.96   
23.96   !!
23.96     check.warn(importable)
23.96   copying srsly/ruamel_yaml/py.typed -> build/lib.linux-aarch64-cpython-312/srsly/ruamel_yaml
23.96   copying srsly/ujson/JSONtoObj.c -> build/lib.linux-aarch64-cpython-312/srsly/ujson
23.96   copying srsly/ujson/objToJSON.c -> build/lib.linux-aarch64-cpython-312/srsly/ujson
23.96   copying srsly/ujson/py_defines.h -> build/lib.linux-aarch64-cpython-312/srsly/ujson
23.96   copying srsly/ujson/ujson.c -> build/lib.linux-aarch64-cpython-312/srsly/ujson
23.96   copying srsly/ujson/version.h -> build/lib.linux-aarch64-cpython-312/srsly/ujson
23.96   creating build/lib.linux-aarch64-cpython-312/srsly/ujson/lib
23.96   copying srsly/ujson/lib/dconv_wrapper.cc -> build/lib.linux-aarch64-cpython-312/srsly/ujson/lib
23.96   copying srsly/ujson/lib/ultrajson.h -> build/lib.linux-aarch64-cpython-312/srsly/ujson/lib
23.96   copying srsly/ujson/lib/ultrajsondec.c -> build/lib.linux-aarch64-cpython-312/srsly/ujson/lib
23.96   copying srsly/ujson/lib/ultrajsonenc.c -> build/lib.linux-aarch64-cpython-312/srsly/ujson/lib
23.96   copying srsly/msgpack/_epoch.cpp -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/_epoch.pyx -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/_packer.cpp -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/_packer.pyx -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/_unpacker.cpp -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/_unpacker.pyx -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/pack.h -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/pack_template.h -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/sysdep.h -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/unpack.h -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/unpack_container_header.h -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/unpack_define.h -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/msgpack/unpack_template.h -> build/lib.linux-aarch64-cpython-312/srsly/msgpack
23.96   copying srsly/tests/ujson/334-reproducer.json -> build/lib.linux-aarch64-cpython-312/srsly/tests/ujson
23.96   warning: build_py: byte-compiling is disabled, skipping.
23.96   
23.96   running build_ext
23.96   building 'srsly.msgpack._epoch' extension
23.96   creating build/temp.linux-aarch64-cpython-312/srsly/msgpack
23.96   g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -D__LITTLE_ENDIAN__=1 -I/usr/local/include/python3.12 -I. -Isrsly -I/tmp/tmp3f3am81k/.venv/include -I/usr/local/include/python3.12 -c srsly/msgpack/_epoch.cpp -o build/temp.linux-aarch64-cpython-312/srsly/msgpack/_epoch.o -O2 -Wno-strict-prototypes -Wno-unused-function
23.96   error: command 'g++' failed: No such file or directory
23.96   
23.96 
23.96   at /usr/local/lib/python3.12/site-packages/poetry/installation/chef.py:166 in _prepare
23.96       162│ 
23.96       163│                 error = ChefBuildError("\n\n".join(message_parts))
23.96       164│ 
23.96       165│             if error is not None:
23.96     → 166│                 raise error from None
23.96       167│ 
23.96       168│             return path
23.96       169│ 
23.96       170│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
23.96 
23.96 Note: This error originates from the build backend, and is likely not a problem with poetry but with srsly (2.5.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "srsly (==2.5.0)"'.
23.96 
------
failed to solve: process "/bin/sh -c poetry config virtualenvs.create false && poetry install --no-dev" did not complete successfully: exit code: 1

@EHadoux
Copy link
Author

EHadoux commented Jan 7, 2025

23.19   error: command 'g++' failed: No such file or directory

You need g++ and a bunch of other deps to build it from scratch. So the pre-built packages would be very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants