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

Cannot complete a Docker build using v.3.8.2 #13649

Open
erikspears opened this issue Oct 3, 2024 · 4 comments
Open

Cannot complete a Docker build using v.3.8.2 #13649

erikspears opened this issue Oct 3, 2024 · 4 comments

Comments

@erikspears
Copy link

erikspears commented Oct 3, 2024

It looks like this problem still exists in the newest release, @honnibal :
Issue #13606

The Docker image build hangs in the same place...

#35 42.62 Collecting spacy (from -r requirements.txt (line 15))
#35 42.64   Downloading spacy-3.8.2.tar.gz (1.3 MB)
#35 42.78      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 11.8 MB/s eta 0:00:00
#35 45.06   Installing build dependencies: started
#35 131.6   Installing build dependencies: still running...
#35 218.1   Installing build dependencies: still running...
#35 376.2   Installing build dependencies: still running...
#35 501.0   Installing build dependencies: still running...
#35 715.7   Installing build dependencies: still running...
#35 1017.0   Installing build dependencies: still running...
#35 1082.7   Installing build dependencies: still running...
#35 1306.2   Installing build dependencies: still running...

It looks like the specific test run for Python 3.12.5 on the latest Ubuntu was canceled...here:
https://github.com/explosion/spaCy/actions/runs/11127868506/job/30921252535

How to reproduce the behaviour

Make sure your project pulls the latest spaCy (3.8.2 as of now), then attmept to build a Docker image. In our case, this happens withing a GitHub workflow, and we build them on latest Ubuntu.

Your Environment

  • Operating System: Ubuntu, latest
  • Python Version Used: 3.12.5
  • spaCy Version Used: 3.8.2
  • Environment Information: Issue seen in a GitHub workflow run

Our workaround will be to revert back to a hard pin of spaCy 3.7.5 for now, but we'd certainly like to get back to the latest releases once this issue is sorted. Thanks!

@honnibal
Copy link
Member

honnibal commented Oct 3, 2024

What's the platform tag within your docker container? The spacy-3.8.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl wheel built successfully for the release.

Regarding the ubuntu test, that was cancelled due to the unrelated failure on Windows (the CI has fail fast enabled). The CI is green on master, which is the same state.

@tigger0jk
Copy link

I have a similar error, building a docker container on Amazon Linux 2023 Python 3.12 base image (i.e. FROM public.ecr.aws/lambda/python:3.12)

It might be the required thinc version that it can't get a built wheel for, not spacy itself?

Downgrading to spacy 3.7.5 also succeeded for me as a workaround.

#21 25.47 Collecting spacy-lookups-data<1.1.0,>=1.0.3 (from spacy[lookups]>=3.6.0->textdescriptives->-r requirements.txt (line 32))
#21 25.49   Downloading spacy_lookups_data-1.0.5-py2.py3-none-any.whl.metadata (4.8 kB)
#21 25.59 Collecting blis<1.1.0,>=1.0.0 (from thinc<8.4.0,>=8.3.0->spacy->-r requirements.txt (line 21))
#21 25.60   Downloading blis-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.6 kB)
#21 25.63 Collecting confection<1.0.0,>=0.0.1 (from thinc<8.4.0,>=8.3.0->spacy->-r requirements.txt (line 21))
#21 25.64   Downloading confection-0.1.5-py3-none-any.whl.metadata (19 kB)
#21 25.65 INFO: pip is looking at multiple versions of thinc to determine which version is compatible with other requirements. This could take a while.
#21 25.65 Collecting thinc<8.4.0,>=8.3.0 (from spacy->-r requirements.txt (line 21))
#21 25.66   Downloading thinc-8.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (15 kB)
#21 25.69   Downloading thinc-8.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (15 kB)
#21 25.70 Collecting spacy[lookups]>=3.6.0 (from textdescriptives->-r requirements.txt (line 32))
#21 25.71   Downloading spacy-3.7.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (27 kB)
#21 25.73 INFO: pip is looking at multiple versions of spacy[lookups] to determine which version is compatible with other requirements. This could take a while.
#21 25.74   Downloading spacy-3.7.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (27 kB)
#21 25.76   Downloading spacy-3.7.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (25 kB)
#21 25.79   Downloading spacy-3.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (25 kB)
#21 25.82   Downloading spacy-3.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (25 kB)
#21 25.84   Downloading spacy-3.6.1.tar.gz (1.3 MB)
#21 25.86      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 70.4 MB/s eta 0:00:00
#21 26.19   Installing build dependencies: started
#21 46.36   Installing build dependencies: finished with status 'error'
#21 47.21   error: subprocess-exited-with-error
#21 47.21   
#21 47.21   × pip subprocess to install build dependencies did not run successfully.
#21 47.21   │ exit code: 1
#21 47.21   ╰─> [10407 lines of output]
#21 47.21       Collecting setuptools
#21 47.21         Using cached setuptools-75.1.0-py3-none-any.whl.metadata (6.9 kB)
#21 47.21       Collecting cython<3.0,>=0.25
#21 47.21         Downloading Cython-0.29.37-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.metadata (3.1 kB)
#21 47.21       Collecting cymem<2.1.0,>=2.0.2
#21 47.21         Using cached cymem-2.0.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.4 kB)
#21 47.21       Collecting preshed<3.1.0,>=3.0.2
#21 47.21         Using cached preshed-3.0.9-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.2 kB)
#21 47.21       Collecting murmurhash<1.1.0,>=0.28.0
#21 47.21         Using cached murmurhash-1.0.10-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.0 kB)
#21 47.21       Collecting thinc<8.2.0,>=8.1.8
#21 47.21         Downloading thinc-8.1.12.tar.gz (190 kB)
#21 47.21         Installing build dependencies: started
#21 47.21         Installing build dependencies: finished with status 'done'
#21 47.21         Getting requirements to build wheel: started
#21 47.21         Getting requirements to build wheel: finished with status 'done'
#21 47.21         Preparing metadata (pyproject.toml): started
#21 47.21         Preparing metadata (pyproject.toml): finished with status 'done'
#21 47.21       Collecting numpy>=1.15.0
#21 47.21         Using cached numpy-2.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
#21 47.21       Collecting blis<0.8.0,>=0.7.8 (from thinc<8.2.0,>=8.1.8)
#21 47.21         Using cached blis-0.7.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.4 kB)
#21 47.21       Collecting wasabi<1.2.0,>=0.8.1 (from thinc<8.2.0,>=8.1.8)
#21 47.21         Using cached wasabi-1.1.3-py3-none-any.whl.metadata (28 kB)
#21 47.21       Collecting srsly<3.0.0,>=2.4.0 (from thinc<8.2.0,>=8.1.8)
#21 47.21         Using cached srsly-2.4.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)
#21 47.21       Collecting catalogue<2.1.0,>=2.0.4 (from thinc<8.2.0,>=8.1.8)
#21 47.21         Using cached catalogue-2.0.10-py3-none-any.whl.metadata (14 kB)
#21 47.21       Collecting confection<1.0.0,>=0.0.1 (from thinc<8.2.0,>=8.1.8)
#21 47.21         Using cached confection-0.1.5-py3-none-any.whl.metadata (19 kB)
#21 47.21       Collecting pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4 (from thinc<8.2.0,>=8.1.8)
#21 47.21         Using cached pydantic-2.9.2-py3-none-any.whl.metadata (149 kB)
#21 47.21       Collecting packaging>=20.0 (from thinc<8.2.0,>=8.1.8)
#21 47.21         Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
#21 47.21       Collecting annotated-types>=0.6.0 (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->thinc<8.2.0,>=8.1.8)
#21 47.21         Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
#21 47.21       Collecting pydantic-core==2.23.4 (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->thinc<8.2.0,>=8.1.8)
#21 47.21         Using cached pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)
#21 47.21       Collecting typing-extensions>=4.6.1 (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->thinc<8.2.0,>=8.1.8)
#21 47.21         Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
#21 47.21       Using cached setuptools-75.1.0-py3-none-any.whl (1.2 MB)
#21 47.21       Using cached Cython-0.29.37-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (2.0 MB)
#21 47.21       Using cached cymem-2.0.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (46 kB)
#21 47.21       Using cached preshed-3.0.9-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (156 kB)
#21 47.21       Using cached murmurhash-1.0.10-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (29 kB)
#21 47.21       Using cached numpy-2.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.0 MB)
#21 47.21       Using cached blis-0.7.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB)
#21 47.21       Downloading catalogue-2.0.10-py3-none-any.whl (17 kB)
#21 47.21       Downloading confection-0.1.5-py3-none-any.whl (35 kB)
#21 47.21       Using cached packaging-24.1-py3-none-any.whl (53 kB)
#21 47.21       Downloading pydantic-2.9.2-py3-none-any.whl (434 kB)
#21 47.21       Downloading pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
#21 47.21          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 16.5 MB/s eta 0:00:00
#21 47.21       Downloading srsly-2.4.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (491 kB)
#21 47.21       Downloading wasabi-1.1.3-py3-none-any.whl (27 kB)
#21 47.21       Downloading annotated_types-0.7.0-py3-none-any.whl (13 kB)
#21 47.21       Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
#21 47.21       Building wheels for collected packages: thinc
#21 47.21         Building wheel for thinc (pyproject.toml): started
#21 47.21         Building wheel for thinc (pyproject.toml): finished with status 'error'
#21 47.21         error: subprocess-exited-with-error
#21 47.21       
#21 47.21         × Building wheel for thinc (pyproject.toml) did not run successfully.
#21 47.21         │ exit code: 1
#21 47.21         ╰─> [10336 lines of output]
#21 47.21             Cythonizing sources
#21 47.21             running bdist_wheel
#21 47.21             running build
#21 47.21             running build_py
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/initializers.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/api.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/optimizers.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/util.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/config.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/mypy.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/schedules.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/compat.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/model.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/types.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/about.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/loss.py -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/extra
#21 47.21             copying thinc/extra/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/extra
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/_custom_kernels.py -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/_param_server.py -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/ops.py -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/cupy_ops.py -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/_cupy_allocators.py -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/mps_ops.py -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/test_indexing.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/test_util.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/test_types.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/test_loss.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/strategies.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/test_examples.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/test_initializers.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/test_schedules.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/test_serialize.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/test_import__all__.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/conftest.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/util.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/test_config.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             copying thinc/tests/test_optimizers.py -> build/lib.linux-x86_64-cpython-312/thinc/tests
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_reshape.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_list.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/maxout.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/gelu.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/lstm.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/concatenate.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/relu.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/mish.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/reduce_last.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/list2ragged.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/multisoftmax.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/linear.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/list2padded.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/ragged2list.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_getitem.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/mxnetwrapper.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/resizable.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/dish.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/tensorflowwrapper.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/parametricattention.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_cpu.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/padded2list.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/noop.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_signpost_interval.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/hard_swish.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/clone.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/map_list.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/expand_window.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/layernorm.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/cauchysimilarity.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_flatten.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_array.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_debug.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/siamese.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_padded.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/reduce_mean.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_ragged.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/torchscriptwrapper.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/sigmoid.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_flatten_v2.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/softmax.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/reduce_max.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/array_getitem.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/strings2arrays.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/embed.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/remap_ids.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/clipped_linear.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/sigmoid_activation.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/logistic.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/hashembed.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/list2array.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_nvtx_range.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/softmax_activation.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/uniqued.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/tuplify.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/pytorchwrapper.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/reduce_first.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/chain.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/reduce_sum.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/bidirectional.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/swish.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/add.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/hard_swish_mobilenet.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/dropout.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/residual.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/with_array2d.py -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/shims
#21 47.21             copying thinc/shims/torchscript.py -> build/lib.linux-x86_64-cpython-312/thinc/shims
#21 47.21             copying thinc/shims/pytorch.py -> build/lib.linux-x86_64-cpython-312/thinc/shims
#21 47.21             copying thinc/shims/tensorflow.py -> build/lib.linux-x86_64-cpython-312/thinc/shims
#21 47.21             copying thinc/shims/pytorch_grad_scaler.py -> build/lib.linux-x86_64-cpython-312/thinc/shims
#21 47.21             copying thinc/shims/shim.py -> build/lib.linux-x86_64-cpython-312/thinc/shims
#21 47.21             copying thinc/shims/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/shims
#21 47.21             copying thinc/shims/mxnet.py -> build/lib.linux-x86_64-cpython-312/thinc/shims
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/extra/tests
#21 47.21             copying thinc/extra/tests/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/extra/tests
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests/regression
#21 47.21             copying thinc/tests/regression/test_issue208.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/regression
#21 47.21             copying thinc/tests/regression/test_issue564.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/regression
#21 47.21             copying thinc/tests/regression/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/regression
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests/extra
#21 47.21             copying thinc/tests/extra/test_beam_search.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/extra
#21 47.21             copying thinc/tests/extra/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/extra
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests/backends
#21 47.21             copying thinc/tests/backends/test_ops.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/backends
#21 47.21             copying thinc/tests/backends/test_mem.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/backends
#21 47.21             copying thinc/tests/backends/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/backends
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_feed_forward.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_mappers.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_combinators.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_reduce.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_lstm.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_with_transforms.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_basic_tagger.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_tensorflow_wrapper.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_with_flatten.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_hash_embed.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_shim.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_layers_api.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_linear.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_mxnet_wrapper.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_uniqued.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_transforms.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_mnist.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_resizable.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_with_debug.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_pytorch_wrapper.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_torchscriptwrapper.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_sparse_linear.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             copying thinc/tests/layers/test_softmax.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/layers
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests/mypy
#21 47.21             copying thinc/tests/mypy/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy
#21 47.21             copying thinc/tests/mypy/test_mypy.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests/shims
#21 47.21             copying thinc/tests/shims/test_pytorch_grad_scaler.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/shims
#21 47.21             copying thinc/tests/shims/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/shims
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests/model
#21 47.21             copying thinc/tests/model/test_validation.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/model
#21 47.21             copying thinc/tests/model/test_model.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/model
#21 47.21             copying thinc/tests/model/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/model
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests/regression/issue519
#21 47.21             copying thinc/tests/regression/issue519/program.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/regression/issue519
#21 47.21             copying thinc/tests/regression/issue519/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/regression/issue519
#21 47.21             copying thinc/tests/regression/issue519/test_issue519.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/regression/issue519
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/modules
#21 47.21             copying thinc/tests/mypy/modules/fail_no_plugin.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/modules
#21 47.21             copying thinc/tests/mypy/modules/success_no_plugin.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/modules
#21 47.21             copying thinc/tests/mypy/modules/fail_plugin.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/modules
#21 47.21             copying thinc/tests/mypy/modules/__init__.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/modules
#21 47.21             copying thinc/tests/mypy/modules/success_plugin.py -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/modules
#21 47.21             running egg_info
#21 47.21             writing thinc.egg-info/PKG-INFO
#21 47.21             writing dependency_links to thinc.egg-info/dependency_links.txt
#21 47.21             writing entry points to thinc.egg-info/entry_points.txt
#21 47.21             writing requirements to thinc.egg-info/requires.txt
#21 47.21             writing top-level names to thinc.egg-info/top_level.txt
#21 47.21             dependency /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
#21 47.21             dependency /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
#21 47.21             dependency /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
#21 47.21             dependency /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
#21 47.21             dependency /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
#21 47.21             dependency /var/lang/include/python3.12/Python.h won't be automatically included in the manifest: the path must be relative
#21 47.21             dependency /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
#21 47.21             dependency /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
#21 47.21             dependency /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
#21 47.21             dependency /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
#21 47.21             dependency /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
#21 47.21             dependency /var/lang/include/python3.12/Python.h won't be automatically included in the manifest: the path must be relative
#21 47.21             reading manifest file 'thinc.egg-info/SOURCES.txt'
#21 47.21             reading manifest template 'MANIFEST.in'
#21 47.21             no previously-included directories found matching 'tmp'
#21 47.21             adding license file 'LICENSE'
#21 47.21             writing manifest file 'thinc.egg-info/SOURCES.txt'
#21 47.21             /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'thinc.tests.mypy.configs' is absent from the `packages` configuration.
#21 47.21             !!
#21 47.21       
#21 47.21                     ********************************************************************************
#21 47.21                     ############################
#21 47.21                     # Package would be ignored #
#21 47.21                     ############################
#21 47.21                     Python recognizes 'thinc.tests.mypy.configs' as an importable package[^1],
#21 47.21                     but it is absent from setuptools' `packages` configuration.
#21 47.21       
#21 47.21                     This leads to an ambiguous overall configuration. If you want to distribute this
#21 47.21                     package, please make sure that 'thinc.tests.mypy.configs' is explicitly added
#21 47.21                     to the `packages` configuration field.
#21 47.21       
#21 47.21                     Alternatively, you can also rely on setuptools' discovery methods
#21 47.21                     (for example by using `find_namespace_packages(...)`/`find_namespace:`
#21 47.21                     instead of `find_packages(...)`/`find:`).
#21 47.21       
#21 47.21                     You can read more about "package discovery" on setuptools documentation page:
#21 47.21       
#21 47.21                     - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
#21 47.21       
#21 47.21                     If you don't want 'thinc.tests.mypy.configs' to be distributed and are
#21 47.21                     already explicitly excluding 'thinc.tests.mypy.configs' via
#21 47.21                     `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
#21 47.21                     you can try to use `exclude_package_data`, or `include-package-data=False` in
#21 47.21                     combination with a more fine grained `package-data` configuration.
#21 47.21       
#21 47.21                     You can read more about "package data files" on setuptools documentation page:
#21 47.21       
#21 47.21                     - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
#21 47.21       
#21 47.21       
#21 47.21                     [^1]: For Python, any directory (with suitable naming) can be imported,
#21 47.21                           even if it does not contain any `.py` files.
#21 47.21                           On the other hand, currently there is no concept of package data
#21 47.21                           directory, all directories are treated like packages.
#21 47.21                     ********************************************************************************
#21 47.21       
#21 47.21             !!
#21 47.21               check.warn(importable)
#21 47.21             /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'thinc.tests.mypy.outputs' is absent from the `packages` configuration.
#21 47.21             !!
#21 47.21       
#21 47.21                     ********************************************************************************
#21 47.21                     ############################
#21 47.21                     # Package would be ignored #
#21 47.21                     ############################
#21 47.21                     Python recognizes 'thinc.tests.mypy.outputs' as an importable package[^1],
#21 47.21                     but it is absent from setuptools' `packages` configuration.
#21 47.21       
#21 47.21                     This leads to an ambiguous overall configuration. If you want to distribute this
#21 47.21                     package, please make sure that 'thinc.tests.mypy.outputs' is explicitly added
#21 47.21                     to the `packages` configuration field.
#21 47.21       
#21 47.21                     Alternatively, you can also rely on setuptools' discovery methods
#21 47.21                     (for example by using `find_namespace_packages(...)`/`find_namespace:`
#21 47.21                     instead of `find_packages(...)`/`find:`).
#21 47.21       
#21 47.21                     You can read more about "package discovery" on setuptools documentation page:
#21 47.21       
#21 47.21                     - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
#21 47.21       
#21 47.21                     If you don't want 'thinc.tests.mypy.outputs' to be distributed and are
#21 47.21                     already explicitly excluding 'thinc.tests.mypy.outputs' via
#21 47.21                     `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
#21 47.21                     you can try to use `exclude_package_data`, or `include-package-data=False` in
#21 47.21                     combination with a more fine grained `package-data` configuration.
#21 47.21       
#21 47.21                     You can read more about "package data files" on setuptools documentation page:
#21 47.21       
#21 47.21                     - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
#21 47.21       
#21 47.21       
#21 47.21                     [^1]: For Python, any directory (with suitable naming) can be imported,
#21 47.21                           even if it does not contain any `.py` files.
#21 47.21                           On the other hand, currently there is no concept of package data
#21 47.21                           directory, all directories are treated like packages.
#21 47.21                     ********************************************************************************
#21 47.21       
#21 47.21             !!
#21 47.21               check.warn(importable)
#21 47.21             copying thinc/__init__.pxd -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/py.typed -> build/lib.linux-x86_64-cpython-312/thinc
#21 47.21             copying thinc/extra/__init__.pxd -> build/lib.linux-x86_64-cpython-312/thinc/extra
#21 47.21             copying thinc/extra/search.pxd -> build/lib.linux-x86_64-cpython-312/thinc/extra
#21 47.21             copying thinc/extra/search.pyx -> build/lib.linux-x86_64-cpython-312/thinc/extra
#21 47.21             copying thinc/backends/__init__.pxd -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/_custom_kernels.cu -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/_murmur3.cu -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/cblas.pxd -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/cblas.pyx -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/cpu_kernels.hh -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/linalg.pxd -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/linalg.pyx -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/numpy_ops.pxd -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/backends/numpy_ops.pyx -> build/lib.linux-x86_64-cpython-312/thinc/backends
#21 47.21             copying thinc/layers/premap_ids.pyx -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/layers/sparselinear.pyx -> build/lib.linux-x86_64-cpython-312/thinc/layers
#21 47.21             copying thinc/extra/tests/c_test_search.pyx -> build/lib.linux-x86_64-cpython-312/thinc/extra/tests
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/configs
#21 47.21             copying thinc/tests/mypy/configs/mypy-default.ini -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/configs
#21 47.21             copying thinc/tests/mypy/configs/mypy-plugin.ini -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/configs
#21 47.21             creating build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/outputs
#21 47.21             copying thinc/tests/mypy/outputs/fail-no-plugin.txt -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/outputs
#21 47.21             copying thinc/tests/mypy/outputs/fail-plugin.txt -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/outputs
#21 47.21             copying thinc/tests/mypy/outputs/success-no-plugin.txt -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/outputs
#21 47.21             copying thinc/tests/mypy/outputs/success-plugin.txt -> build/lib.linux-x86_64-cpython-312/thinc/tests/mypy/outputs
#21 47.21             running build_ext
#21 47.21             building 'thinc.backends.cblas' extension
#21 47.21             creating build/temp.linux-x86_64-cpython-312/thinc/backends
#21 47.21             g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include -I/var/lang/include/python3.12 -I/video-gen/venv/include -I/var/lang/include/python3.12 -c thinc/backends/cblas.cpp -o build/temp.linux-x86_64-cpython-312/thinc/backends/cblas.o -O3 -Wno-strict-prototypes -Wno-unused-function -std=c++11
#21 47.21             cc1plus: warning: command-line option ‘-Wno-strict-prototypes’ is valid for C/ObjC but not for C++
#21 47.21             g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -shared build/temp.linux-x86_64-cpython-312/thinc/backends/cblas.o -L/var/lang/lib -o build/lib.linux-x86_64-cpython-312/thinc/backends/cblas.cpython-312-x86_64-linux-gnu.so
#21 47.21             building 'thinc.backends.linalg' extension
#21 47.21             g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include -I/var/lang/include/python3.12 -I/video-gen/venv/include -I/var/lang/include/python3.12 -c thinc/backends/linalg.cpp -o build/temp.linux-x86_64-cpython-312/thinc/backends/linalg.o -O3 -Wno-strict-prototypes -Wno-unused-function -std=c++11
#21 47.21             cc1plus: warning: command-line option ‘-Wno-strict-prototypes’ is valid for C/ObjC but not for C++
#21 47.21             g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -shared build/temp.linux-x86_64-cpython-312/thinc/backends/linalg.o -L/var/lang/lib -o build/lib.linux-x86_64-cpython-312/thinc/backends/linalg.cpython-312-x86_64-linux-gnu.so
#21 47.21             building 'thinc.backends.numpy_ops' extension
#21 47.21             g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -Ithinc/backends -I/tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include -I/var/lang/include/python3.12 -I/video-gen/venv/include -I/var/lang/include/python3.12 -c thinc/backends/numpy_ops.cpp -o build/temp.linux-x86_64-cpython-312/thinc/backends/numpy_ops.o -O3 -Wno-strict-prototypes -Wno-unused-function -std=c++11
#21 47.21             cc1plus: warning: command-line option ‘-Wno-strict-prototypes’ is valid for C/ObjC but not for C++
#21 47.21             In file included from /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1909,
#21 47.21                              from /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
#21 47.21                              from /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
#21 47.21                              from thinc/backends/numpy_ops.cpp:803:
#21 47.21             /tmp/pip-build-env-hheyvi5f/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#21 47.21                17 | #warning "Using deprecated NumPy API, disable it with " \
#21 47.21                   |  ^~~~~~~
#21 47.21             thinc/backends/numpy_ops.cpp: In function ‘PyObject* __pyx_pf_5thinc_8backends_9numpy_ops_8NumpyOps___init__(PyObject*, PyObject*, PyObject*, PyObject*, PyObject*)’:
#21 47.21             thinc/backends/numpy_ops.cpp:[2384](https://github.com/ushabti-org/deploy/actions/runs/11169974330/job/31051841245#step:4:2385):34: error: ‘_PyCFrame’ {aka ‘struct _PyCFrame’} has no member named ‘use_tracing’
#21 47.21              2384 |      (unlikely((tstate)->cframe->use_tracing) &&\
#21 47.21                   |                                  ^~~~~~~~~~~
#21 47.21             thinc/backends/numpy_ops.cpp:1001:43: note: in definition of macro ‘unlikely’
#21 47.21              1001 |   #define unlikely(x) __builtin_expect(!!(x), 0)
#21 47.21                   |

...


~9000 lines omitted


...

#21 47.21             thinc/backends/numpy_ops.cpp:2384:34: error: ‘_PyCFrame’ {aka ‘struct _PyCFrame’} has no member named ‘use_tracing’
#21 47.21              2384 |      (unlikely((tstate)->cframe->use_tracing) &&\
#21 47.21                   |                                  ^~~~~~~~~~~
#21 47.21             thinc/backends/numpy_ops.cpp:1001:43: note: in definition of macro ‘unlikely’
#21 47.21              1001 |   #define unlikely(x) __builtin_expect(!!(x), 0)
#21 47.21                   |                                           ^
#21 47.21             thinc/backends/numpy_ops.cpp:2482:19: note: in expansion of macro ‘__Pyx_IsTracing’
#21 47.21              2482 |               if (__Pyx_IsTracing(tstate, 0, 0)) {\
#21 47.21                   |                   ^~~~~~~~~~~~~~~
#21 47.21             thinc/backends/numpy_ops.cpp:53501:3: note: in expansion of macro ‘__Pyx_TraceReturn’
#21 47.21             53501 |   __Pyx_TraceReturn(Py_None, 0);
#21 47.21                   |   ^~~~~~~~~~~~~~~~~
#21 47.21             thinc/backends/numpy_ops.cpp:2384:34: error: ‘_PyCFrame’ {aka ‘struct _PyCFrame’} has no member named ‘use_tracing’
#21 47.21              2384 |      (unlikely((tstate)->cframe->use_tracing) &&\
#21 47.21                   |                                  ^~~~~~~~~~~
#21 47.21             thinc/backends/numpy_ops.cpp:1001:43: note: in definition of macro ‘unlikely’
#21 47.21              1001 |   #define unlikely(x) __builtin_expect(!!(x), 0)
#21 47.21                   |                                           ^
#21 47.21             thinc/backends/numpy_ops.cpp:2489:15: note: in expansion of macro ‘__Pyx_IsTracing’
#21 47.21              2489 |           if (__Pyx_IsTracing(tstate, 0, 0)) {\
#21 47.21                   |               ^~~~~~~~~~~~~~~
#21 47.21             thinc/backends/numpy_ops.cpp:53501:3: note: in expansion of macro ‘__Pyx_TraceReturn’
#21 47.21             53501 |   __Pyx_TraceReturn(Py_None, 0);
#21 47.21                   |   ^~~~~~~~~~~~~~~~~
#21 47.21             thinc/backends/numpy_ops.cpp: In function ‘int __Pyx_TraceSetupAndCall(PyCodeObject**, PyFrameObject**, PyThreadState*, const char*, const char*, int)’:
#21 47.21             thinc/backends/numpy_ops.cpp:2384:34: error: ‘_PyCFrame’ {aka ‘struct _PyCFrame’} has no member named ‘use_tracing’
#21 47.21              2384 |      (unlikely((tstate)->cframe->use_tracing) &&\
#21 47.21                   |                                  ^~~~~~~~~~~
#21 47.21             thinc/backends/numpy_ops.cpp:1001:43: note: in definition of macro ‘unlikely’
#21 47.21              1001 |   #define unlikely(x) __builtin_expect(!!(x), 0)
#21 47.21                   |                                           ^
#21 47.21             thinc/backends/numpy_ops.cpp:53792:16: note: in expansion of macro ‘__Pyx_IsTracing’
#21 47.21             53792 |         return __Pyx_IsTracing(tstate, 0, 0) && retval;
#21 47.21                   |                ^~~~~~~~~~~~~~~
#21 47.21             error: command '/usr/bin/g++' failed with exit code 1
#21 47.21             [end of output]
#21 47.21       
#21 47.21         note: This error originates from a subprocess, and is likely not a problem with pip.
#21 47.21         ERROR: Failed building wheel for thinc
#21 47.21       Failed to build thinc
#21 47.21       ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (thinc)
#21 47.21       [end of output]
#21 47.21   
#21 47.21   note: This error originates from a subprocess, and is likely not a problem with pip.
#21 47.40 error: subprocess-exited-with-error
#21 47.40 
#21 47.40 × pip subprocess to install build dependencies did not run successfully.
#21 47.40 │ exit code: 1
#21 47.40 ╰─> See above for output.
#21 47.40 
#21 47.40 note: This error originates from a subprocess, and is likely not a problem with pip.

@erikspears
Copy link
Author

Hi @honnibal ,

We run this particular job in a "Large" GitHub runner. From the run in question, here is some additional detail:

Operating System
  Ubuntu
  22.04.5
  LTS
Runner Image
  Image: ubuntu-22.04
  Version: 20240922.1.0

And our app is currently using this Python image in the Dockerfile, in case that factors in as well: python:3.12.5-slim-bookworm

Is this helpful, or are you asking for something different from the run outputs?

Thanks again,
--Erik

@erikspears
Copy link
Author

Hi @honnibal ,
I had some time to revisit this today, and I'm still seeing the same issue. We can use spaCy (3.8.2) in our app with no issues at all, which is great. But when we try to build our Docker image, spaCy's dependencies are still unhappy. This is output from a local attempt on my MacOS machine, running Pyton 3.12.6, in a fresh virtual environment, fwiw.

 => [stage-0 11/14] RUN pip install --no-cache-dir --upgrade pip --root-user-action=ignore     && pip install --no-cache-dir -r requirements.txt     && pip install --no-cache-dir --upgrade gr  151.5s
 => => # Collecting spacy (from -r requirements.txt (line 15))                                                                                                                                         
 => => #   Downloading spacy-3.8.2.tar.gz (1.3 MB)                                                                                                                                                     
 => => #      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 34.4 MB/s eta 0:00:00                                                                                                                
 => => #   Installing build dependencies: started                                                                                                                                                      
 => => #   Installing build dependencies: still running...                                                                                                                                             
 => => #   Installing build dependencies: still running...   

Curious if an upcoming version might address this, or if there is anything we could do on our end?

Thanks,
--Erik

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

3 participants