Conflict between spacy and thinc library

While deploying my app on streamlit cloud, i am getting conflict error but while running it locally it is working absolutely fine.
The link for the github is as follows GitHub - Abhirup2408/Geospatial
5. Share the full text of the error message (not a screenshot).
I am getting two error list which are as follows

  1. Using uv pip install.
    Resolved 93 packages in 643ms
    | ^~~~~~~~~~~~~~~
    thinc/backends/numpy_ops.cpp:2384:34: error: ‘_PyCFrame’ {aka ‘struct _PyCFrame’} has no member named ‘use_tracing’
    2384 | (unlikely((tstate)->cframe->use_tracing) &&
    | ^~~~~~~~~~~
    thinc/backends/numpy_ops.cpp:1001:43: note: in definition of macro ‘unlikely’
    1001 | #define unlikely(x) __builtin_expect(!!(x), 0)
    | ^
    thinc/backends/numpy_ops.cpp:2431:11: note: in expansion of macro ‘__Pyx_IsTracing’
    2431 | if (__Pyx_IsTracing(tstate, 1, 1)) {
    | ^~~~~~~~~~~~~~~
    thinc/backends/numpy_ops.cpp:4965:3: note: in expansion of macro ‘__Pyx_TraceCall’
    4965 | __Pyx_TraceCall(“init”, __pyx_f[0], 51, 0, __PYX_ERR(0, 51, __pyx_L1_error));
    | ^~~~~~~~~~~~~~~
    thinc/backends/numpy_ops.cpp:2384:34: error: ‘_PyCFrame’ {aka ‘struct _PyCFrame’} has no member named ‘use_tracing’
    2384 | (unlikely((tstate)->cframe->use_tracing) &&
    | ^~~~~~~~~~~
    thinc/backends/numpy_ops.cpp:1001:43: note: in definition of macro ‘unlikely’

1001 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
thinc/backends/numpy_ops.cpp:2482:19: note: in expansion of macro ‘__Pyx_IsTracing’
2482 | if (__Pyx_IsTracing(tstate, 0, 0)) {
| ^~~~~~~~~~~~~~~
thinc/backends/numpy_ops.cpp:5058:3: note: in expansion of macro ‘__Pyx_TraceReturn’
5058 | __Pyx_TraceReturn(__pyx_r, 0);
| ^~~~~~~~~~~~~~~~~

  1. the second error i am getting is when i am trying to install build dependecies of spacy

Installing build dependencies: finished with status ‘error’

         2384 |      (unlikely((tstate)->cframe->use_tracing) &&\
              |                                  ^~~~~~~~~~~


        thinc/backends/numpy_ops.cpp:1001:43: note: in definition of macro ‘unlikely’
         1001 |   #define unlikely(x) __builtin_expect(!!(x), 0)
              |                                           ^
        thinc/backends/numpy_ops.cpp:2482:19: note: in expansion of macro ‘__Pyx_IsTracing’
         2482 |               if (__Pyx_IsTracing(tstate, 0, 0)) {\

              |                   ^~~~~~~~~~~~~~~
        thinc/backends/numpy_ops.cpp:5058:3: note: in expansion of macro ‘__Pyx_TraceReturn’
         5058 |   __Pyx_TraceReturn(__pyx_r, 0);

              |   ^~~~~~~~~~~~~~~~~
        thinc/backends/numpy_ops.cpp:2384:34: error: ‘_PyCFrame’ {aka ‘struct _PyCFrame’} has no member named ‘use_tracing’
         2384 |      (unlikely((tstate)->cframe->use_tracing) &&\
              |                                  ^~~~~~~~~~~
        thinc/backends/numpy_ops.cpp:1001:43: note: in definition of macro ‘unlikely’
         1001 |   #define unlikely(x) __builtin_expect(!!(x), 0)

The python version which i am using is 3.10

Can someone please help me with this