Skip to content

Installation of dependencies issue #130

@ghita

Description

@ghita

I get on python 3.13

`Building wheels for collected packages: regex
Building wheel for regex (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for regex (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [144 lines of output]
C:\Users\ROGM\AppData\Local\Temp\pip-build-env-d8q6643f\overlay\Lib\site-packages\setuptools\dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:

          License :: OSI Approved :: Apache Software License

          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************

  !!
    self._finalize_license_expression()
  running bdist_wheel
  running build
  running build_py
  creating build\lib.win-amd64-cpython-313\regex
  copying regex_3\__init__.py -> build\lib.win-amd64-cpython-313\regex
  copying regex_3\regex.py -> build\lib.win-amd64-cpython-313\regex
  copying regex_3\_regex_core.py -> build\lib.win-amd64-cpython-313\regex
  copying regex_3\test_regex.py -> build\lib.win-amd64-cpython-313\regex
  running build_ext
  building 'regex._regex' extension
  creating build\temp.win-amd64-cpython-313\Release\regex_3
  "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.44.35207\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.44.35207\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.44.35207\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcregex_3\_regex.c /Fobuild\temp.win-amd64-cpython-313\Release\regex_3\_regex.obj
  _regex.c
  regex_3\_regex.c(514): error C2061: syntax error: identifier 'clock_t'
  regex_3\_regex.c(530): error C2059: syntax error: '}'
  regex_3\_regex.c(610): error C2061: syntax error: identifier 'RE_State'
  regex_3\_regex.c(612): error C2059: syntax error: '}'
  regex_3\_regex.c(618): error C2061: syntax error: identifier 'RE_State'
  regex_3\_regex.c(624): error C2059: syntax error: '}'
  regex_3\_regex.c(799): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(799): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(799): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(799): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(799): error C2059: syntax error: ')'
  regex_3\_regex.c(799): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(855): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(855): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(855): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(855): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(855): error C2059: syntax error: ')'
  regex_3\_regex.c(855): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(861): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(861): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(861): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(861): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(861): error C2059: syntax error: ')'
  regex_3\_regex.c(861): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(867): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(867): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(867): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(867): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(867): error C2059: syntax error: ')'
  regex_3\_regex.c(867): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(878): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(878): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(878): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(878): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(878): error C2059: syntax error: ')'
  regex_3\_regex.c(878): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(889): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(889): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(889): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(889): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(889): error C2059: syntax error: ')'
  regex_3\_regex.c(889): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(905): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(905): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(905): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(905): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(905): error C2059: syntax error: ')'
  regex_3\_regex.c(905): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(925): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(925): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(925): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(925): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(925): error C2059: syntax error: ')'
  regex_3\_regex.c(925): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(1011): error C2065: 'ascii_at_boundary': undeclared identifier
  regex_3\_regex.c(1012): error C2065: 'ascii_at_word_start': undeclared identifier
  regex_3\_regex.c(1013): error C2065: 'ascii_at_word_end': undeclared identifier
  regex_3\_regex.c(1014): error C2065: 'ascii_at_boundary': undeclared identifier
  regex_3\_regex.c(1015): error C2065: 'ascii_at_word_start': undeclared identifier
  regex_3\_regex.c(1016): error C2065: 'ascii_at_word_end': undeclared identifier
  regex_3\_regex.c(1017): error C2065: 'at_boundary_always': undeclared identifier
  regex_3\_regex.c(1019): error C2065: 'ascii_at_line_start': undeclared identifier
  regex_3\_regex.c(1020): error C2065: 'ascii_at_line_end': undeclared identifier
  regex_3\_regex.c(1009): error C2099: initializer is not a constant
  regex_3\_regex.c(1018): warning C4113: 'BOOL (__cdecl *)(Py_UCS4)' differs in parameter lists from 'BOOL (__cdecl *)(RE_StatePtr,Py_ssize_t)'
  regex_3\_regex.c(1021): warning C4113: 'BOOL (__cdecl *)(RE_LocaleInfo *,Py_UCS4)' differs in parameter lists from 'BOOL (__cdecl *)(RE_StatePtr,Py_ssize_t)'
  regex_3\_regex.c(1022): warning C4113: 'int (__cdecl *)(RE_LocaleInfo *,Py_UCS4,Py_UCS4 *)' differs in parameter lists from 'BOOL (__cdecl *)(RE_StatePtr,Py_ssize_t)'
  regex_3\_regex.c(1022): warning C4133: 'initializing': incompatible types - from 'int (__cdecl *)(RE_LocaleInfo *,Py_UCS4,Py_UCS4 *)' to 'BOOL (__cdecl *)(RE_StatePtr,Py_ssize_t)'    
  regex_3\_regex.c(1023): warning C4113: 'Py_UCS4 (__cdecl *)(RE_LocaleInfo *,Py_UCS4)' differs in parameter lists from 'BOOL (__cdecl *)(RE_StatePtr,Py_ssize_t)'
  regex_3\_regex.c(1023): warning C4133: 'initializing': incompatible types - from 'Py_UCS4 (__cdecl *)(RE_LocaleInfo *,Py_UCS4)' to 'BOOL (__cdecl *)(RE_StatePtr,Py_ssize_t)'
  regex_3\_regex.c(1024): warning C4113: 'int (__cdecl *)(RE_LocaleInfo *,Py_UCS4,Py_UCS4 *)' differs in parameter lists from 'BOOL (__cdecl *)(RE_StatePtr,Py_ssize_t)'
  regex_3\_regex.c(1024): warning C4133: 'initializing': incompatible types - from 'int (__cdecl *)(RE_LocaleInfo *,Py_UCS4,Py_UCS4 *)' to 'BOOL (__cdecl *)(RE_StatePtr,Py_ssize_t)'    
  regex_3\_regex.c(1025): warning C4113: 'int (__cdecl *)(RE_LocaleInfo *,Py_UCS4,Py_UCS4 *)' differs in parameter lists from 'BOOL (__cdecl *)(RE_StatePtr,Py_ssize_t)'
  regex_3\_regex.c(1025): warning C4133: 'initializing': incompatible types - from 'int (__cdecl *)(RE_LocaleInfo *,Py_UCS4,Py_UCS4 *)' to 'BOOL (__cdecl *)(RE_StatePtr,Py_ssize_t)'    
  regex_3\_regex.c(1228): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(1228): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(1228): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(1228): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(1228): error C2059: syntax error: ')'
  regex_3\_regex.c(1228): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(1234): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(1234): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(1234): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(1234): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(1234): error C2059: syntax error: ')'
  regex_3\_regex.c(1234): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(1241): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(1241): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(1241): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(1241): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(1241): error C2059: syntax error: ')'
  regex_3\_regex.c(1241): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(1252): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(1252): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(1252): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(1252): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(1252): error C2059: syntax error: ')'
  regex_3\_regex.c(1252): error C2054: expected '(' to follow 'text_pos'
  regex_3\_regex.c(1263): error C2143: syntax error: missing ')' before '*'
  regex_3\_regex.c(1263): error C2143: syntax error: missing '{' before '*'
  regex_3\_regex.c(1263): error C2371: 'Py_ssize_t': redefinition; different basic types
  C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(202): note: see declaration of 'Py_ssize_t'
  regex_3\_regex.c(1263): error C2146: syntax error: missing ';' before identifier 'text_pos'
  regex_3\_regex.c(1263): error C2059: syntax error: ')'
  regex_3\_regex.c(1263): fatal error C1003: error count exceeds 100; stopping compilation
  error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  [end of output]`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions