Repository: OpenMined/TenSEAL (language: python)

Issue:
I can't install TenSEAL on Windows 11
## Description
SEAL and Cmake are installed. I tried all the commands offered in the instructions and which I found on the formula. In any case, the error is the same (except pip install tenseal)


## My installation attempts
1. `pip install tenseal`
Error:
`ERROR: Could not find a version that satisfies the requirement tenseal (from versions: none)
ERROR: No matching distribution found for tenseal`
2. `pip install git+https://github.com/OpenMined/TenSEAL.git#egg=tenseal` 
3. 'git clone https://github.com/OpenMined/TenSEAL.git' 'cd TenSEAL' 'pip install .'
Error:
`Collecting tenseal
  Cloning https://github.com/OpenMined/TenSEAL.git to c:\users\ea_or\appdata\local\temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552
  Running command git clone --filter=blob:none --quiet https://github.com/OpenMined/TenSEAL.git 'C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552'
  Resolved https://github.com/OpenMined/TenSEAL.git to commit 13486592953f82ca60502fd196016f815891e25a
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: tenseal
  Building wheel for tenseal (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for tenseal (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [189 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-312
      creating build\lib.win-amd64-cpython-312\tenseal
      copying tenseal\enc_context.py -> build\lib.win-amd64-cpython-312\tenseal
      copying tenseal\version.py -> build\lib.win-amd64-cpython-312\tenseal
      copying tenseal\__init__.py -> build\lib.win-amd64-cpython-312\tenseal
      creating build\lib.win-amd64-cpython-312\tenseal\sealapi
      copying tenseal\sealapi\__init__.py -> build\lib.win-amd64-cpython-312\tenseal\sealapi
      creating build\lib.win-amd64-cpython-312\tenseal\tensors
      copying tenseal\tensors\abstract_tensor.py -> build\lib.win-amd64-cpython-312\tenseal\tensors
      copying tenseal\tensors\bfvtensor.py -> build\lib.win-amd64-cpython-312\tenseal\tensors
      copying tenseal\tensors\bfvvector.py -> build\lib.win-amd64-cpython-312\tenseal\tensors
      copying tenseal\tensors\ckkstensor.py -> build\lib.win-amd64-cpython-312\tenseal\tensors
      copying tenseal\tensors\ckksvector.py -> build\lib.win-amd64-cpython-312\tenseal\tensors
      copying tenseal\tensors\plaintensor.py -> build\lib.win-amd64-cpython-312\tenseal\tensors
      copying tenseal\tensors\__init__.py -> build\lib.win-amd64-cpython-312\tenseal\tensors
      creating build\lib.win-amd64-cpython-312\tenseal\sealapi\util
      copying tenseal\sealapi\util\__init__.py -> build\lib.win-amd64-cpython-312\tenseal\sealapi\util
      running build_ext
      <string>:41: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
      -- Building for: Visual Studio 17 2022
      -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
      -- The C compiler identification is MSVC 19.38.33130.0
      -- The CXX compiler identification is MSVC 19.38.33130.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Build type (CMAKE_BUILD_TYPE): Release
      -- Microsoft SEAL debug mode: OFF
      -- SEAL_USE_CXX17: ON
      -- SEAL_BUILD_DEPS: ON
      -- SEAL_USE_MSGSL: ON
      -- Microsoft GSL: download ...
      CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
        Calling FetchContent_Populate(msgsl) is deprecated, call
        FetchContent_MakeAvailable(msgsl) instead.  Policy CMP0169 can be set to
        OLD to allow FetchContent_Populate(msgsl) to be called directly for now,
        but the ability to call it with declared details will be removed completely
        in a future version.
      Call Stack (most recent call first):
        build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-src/cmake/ExternalMSGSL.cmake:12 (FetchContent_Populate)
        build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-src/cmake/SEALMacros.cmake:17 (include)
        build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-src/CMakeLists.txt:150 (seal_fetch_thirdparty_content)
      This warning is for project developers.  Use -Wno-dev to suppress it.

      -- SEAL_USE_ZLIB: ON
      -- ZLIB: download ...
      CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
        Calling FetchContent_Populate(zlib) is deprecated, call
        FetchContent_MakeAvailable(zlib) instead.  Policy CMP0169 can be set to OLD
        to allow FetchContent_Populate(zlib) to be called directly for now, but the
        ability to call it with declared details will be removed completely in a
        future version.
      Call Stack (most recent call first):
        build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-src/cmake/ExternalZLIB.cmake:10 (FetchContent_Populate)
        build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-src/cmake/SEALMacros.cmake:17 (include)
        build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-src/CMakeLists.txt:169 (seal_fetch_thirdparty_content)
      This warning is for project developers.  Use -Wno-dev to suppress it.

      CMake Deprecation Warning at build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-build/thirdparty/zlib-src/CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 3.5 will be removed from a future version of
        CMake.

        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.


      -- Looking for sys/types.h
      -- Looking for sys/types.h - found
      -- Looking for stdint.h
      -- Looking for stdint.h - found
      -- Looking for stddef.h
      -- Looking for stddef.h - found
      -- Check size of off64_t
      -- Check size of off64_t - failed
      -- Looking for fseeko
      -- Looking for fseeko - not found
      -- Looking for unistd.h
      -- Looking for unistd.h - not found
      -- Renaming
      --     C:/Users/ea_or/AppData/Local/Temp/pip-install-x35l6ndz/tenseal_f4cf4811fde34555a6232e36086f8552/build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-build/thirdparty/zlib-src/zconf.h
      -- to 'zconf.h.included' because this file is included with zlib
      -- but CMake generates it automatically in the build directory.
      -- SEAL_USE_ZSTD: ON
      -- Zstandard: download ...
      Р’РµСЂСЃРёСЏ MSBuild 17.8.3+195e7f5a3 РґР»СЏ .NET Framework

      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: РџСЂРѕРјРµР¶СѓС‚РѕС‡РЅС‹Р№ РєР°С‚Р°Р»РѕРі РёР»Рё РєР°С‚Р°Р»РѕРі РІС‹С…РѕРґР° РЅРµ РјРѕР¶РµС‚ СЂР°СЃРїРѕР»Р°РіР°С‚СЊСЃСЏ РІРѕ РІСЂРµРјРµРЅРЅРѕРј РєР°С‚Р°Р»РѕРіРµ, РїРѕС‚РѕРјСѓ С‡С‚Рѕ СЌС‚Рѕ РјРѕР¶РµС‚ СЃС‚Р°С‚СЊ РїСЂРёС‡РёРЅРѕР№ РїСЂРѕР±Р»РµРј СЃ РґРѕР±Р°РІРѕС‡РЅРѕР№ СЃР±РѕСЂРєРѕР№. [C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\ZERO_CHECK.vcxproj]
        1>Checking Build System
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: РџСЂРѕРјРµР¶СѓС‚РѕС‡РЅС‹Р№ РєР°С‚Р°Р»РѕРі РёР»Рё РєР°С‚Р°Р»РѕРі РІС‹С…РѕРґР° РЅРµ РјРѕР¶РµС‚ СЂР°СЃРїРѕР»Р°РіР°С‚СЊСЃСЏ РІРѕ РІСЂРµРјРµРЅРЅРѕРј РєР°С‚Р°Р»РѕРіРµ, РїРѕС‚РѕРјСѓ С‡С‚Рѕ СЌС‚Рѕ РјРѕР¶РµС‚ СЃС‚Р°С‚СЊ РїСЂРёС‡РёРЅРѕР№ РїСЂРѕР±Р»РµРј СЃ РґРѕР±Р°РІРѕС‡РЅРѕР№ СЃР±РѕСЂРєРѕР№. [C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\zstd-populate.vcxproj]
        1>Creating directories for 'zstd-populate'
        Performing download step (git clone) for 'zstd-populate'
        Cloning into 'zstd-src'...
      CUSTOMBUILD : error : 1311 bytes of body are still expected [C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\zstd-populate.vcxproj]
        fetch-pack: unexpected disconnect while reading sideband packet
        fatal: early EOF
        fatal: fetch-pack: invalid index-pack output
        Cloning into 'zstd-src'...
        Had to git clone more than once: 2 times.
        HEAD is now at e47e674c Merge pull request #2995 from facebook/v1.5.2-rc
        Building Custom Rule C:/Users/ea_or/AppData/Local/Temp/pip-install-x35l6ndz/tenseal_f4cf4811fde34555a6232e36086f8552/build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-build/thirdparty/zstd-subbuild/CMakeLists.txt
        Performing update step for 'zstd-populate'
        -- Already at requested ref: e47e674cd09583ff0503f0f6defd6d23d8b718d3
        No patch step for 'zstd-populate'
        No configure step for 'zstd-populate'
        No build step for 'zstd-populate'
        No install step for 'zstd-populate'
        No test step for 'zstd-populate'
        Completed 'zstd-populate'
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: РїРѕР»СЊР·РѕРІР°С‚РµР»СЊСЃРєР°СЏ СЃР±РѕСЂРєР° РґР»СЏ "C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\CMakeFiles\e267e5ec4a37fecb86744921990363d0\zstd-populate-download.rule;C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\CMakeFiles\e267e5ec4a37fecb86744921990363d0\zstd-populate-update.rule;C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\CMakeFiles\e267e5ec4a37fecb86744921990363d0\zstd-populate-patch.rule;C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\CMakeFiles\e267e5ec4a37fecb86744921990363d0\zstd-populate-configure.rule;C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\CMakeFiles\e267e5ec4a37fecb86744921990363d0\zstd-populate-build.rule;C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\CMakeFiles\e267e5ec4a37fecb86744921990363d0\zstd-populate-install.rule;C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\CMakeFiles\e267e5ec4a37fecb86744921990363d0\zstd-populate-test.rule;C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\CMakeFiles\34dd7902409153f8a82c717288e9cf62\zstd-populate-complete.rule;C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\CMakeFiles\b926384001251007804d0f1083b6644e\zstd-populate.rule;C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\CMakeLists.txt" Р·Р°РІРµСЂС€РёР»Р° СЂР°Р±РѕС‚Сѓ СЃ РєРѕРґРѕРј -1. [C:\Users\ea_or\AppData\Local\Temp\pip-install-x35l6ndz\tenseal_f4cf4811fde34555a6232e36086f8552\build\temp.win-amd64-cpython-312\Release\_deps\com_microsoft_seal-build\thirdparty\zstd-subbuild\zstd-populate.vcxproj]

      CMake Error at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1918 (message):
        Build step for zstd failed: 1
      Call Stack (most recent call first):
        C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1609 (__FetchContent_populateSubbuild)
        C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:2145:EVAL:2 (__FetchContent_doPopulation)
        C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:2145 (cmake_language)
        C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1978:EVAL:1 (__FetchContent_Populate)
        C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1978 (cmake_language)
        build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-src/cmake/ExternalZSTD.cmake:11 (FetchContent_Populate)
        build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-src/cmake/SEALMacros.cmake:17 (include)
        build/temp.win-amd64-cpython-312/Release/_deps/com_microsoft_seal-src/CMakeLists.txt:190 (seal_fetch_thirdparty_content)


      -- Configuring incomplete, errors occurred!
      Traceback (most recent call last):
        File "C:\Users\ea_or\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\ea_or\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ea_or\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\build_meta.py", line 415, in build_wheel
          return self._build_with_temp_dir(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\build_meta.py", line 397, in _build_with_temp_dir
          self.run_setup()
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\build_meta.py", line 497, in run_setup
          super().run_setup(setup_script=setup_script)
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup
          exec(code, locals())
        File "<string>", line 81, in <module>
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\__init__.py", line 108, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 184, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 200, in run_commands
          dist.run_commands()
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 970, in run_commands
          self.run_command(cmd)
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\dist.py", line 945, in run_command
          super().run_command(command)
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command
          cmd_obj.run()
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\command\bdist_wheel.py", line 373, in run
          self.run_command("build")
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\dist.py", line 945, in run_command
          super().run_command(command)
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command
          cmd_obj.run()
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 135, in run
          self.run_command(cmd_name)
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\dist.py", line 945, in run_command
          super().run_command(command)
        File "C:\Users\ea_or\AppData\Local\Temp\pip-build-env-up9ek7os\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command
          cmd_obj.run()
        File "<string>", line 46, in run
        File "<string>", line 77, in build_extension
        File "C:\Users\ea_or\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\ea_or\\AppData\\Local\\Temp\\pip-install-x35l6ndz\\tenseal_f4cf4811fde34555a6232e36086f8552', '-DSEAL_USE_INTEL_HEXL=OFF', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\ea_or\\AppData\\Local\\Temp\\pip-install-x35l6ndz\\tenseal_f4cf4811fde34555a6232e36086f8552\\build\\lib.win-amd64-cpython-312', '-DPYTHON_EXECUTABLE=C:\\Users\\ea_or\\AppData\\Local\\Programs\\Python\\Python312\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\ea_or\\AppData\\Local\\Temp\\pip-install-x35l6ndz\\tenseal_f4cf4811fde34555a6232e36086f8552\\build\\lib.win-amd64-cpython-312', '-A', 'x64']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for tenseal
Failed to build tenseal
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (tenseal)`

## System Information
 - OS: Windows
 - OS Version: 11
 - Language Version: Python 3.12.4
 - Package Manager Version: pip 24.2




Discussion / hints:
same problem.
but when I using python 3.7, I can install tenseal


Fix patch:
diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml
index 00a5aac4..6b5d936c 100644
--- a/.github/workflows/benchmarks.yml
+++ b/.github/workflows/benchmarks.yml
@@ -8,13 +8,13 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        python-version: [3.8]
+        python-version: [3.12]
         os: [macos-latest, ubuntu-latest, windows-latest]
 
     steps:
       - uses: actions/checkout@v2
       - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v1
+        uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
         with:
           python-version: ${{ matrix.python-version }}
       - name: Prepare ENV
diff --git a/.github/workflows/pythonpublish-linux.yml b/.github/workflows/pythonpublish-linux.yml
index 2bc973ad..b93e4631 100644
--- a/.github/workflows/pythonpublish-linux.yml
+++ b/.github/workflows/pythonpublish-linux.yml
@@ -9,10 +9,11 @@ jobs:
     strategy:
       matrix:
         python-version:
-          - cp37-cp37m
           - cp38-cp38
           - cp39-cp39
           - cp310-cp310
+          - cp311-cp311
+          - cp312-cp312
 
     runs-on: ubuntu-latest
     container: quay.io/pypa/manylinux2014_x86_64
diff --git a/.github/workflows/pythonpublish-macos.yml b/.github/workflows/pythonpublish-macos.yml
index 38226585..dc2421ed 100644
--- a/.github/workflows/pythonpublish-macos.yml
+++ b/.github/workflows/pythonpublish-macos.yml
@@ -9,7 +9,7 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        python-version: ['3.7', '3.8', '3.9', '3.10']
+        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
         os: [macos-11, macos-12]
 
     steps:
@@ -17,7 +17,7 @@ jobs:
         with:
           submodules: true
       - name: Set up Python
-        uses: actions/setup-python@v1
+        uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
         with:
           python-version: ${{ matrix.python-version }}
       - name: Install dependencies
diff --git a/.github/workflows/pythonpublish-windows.yml b/.github/workflows/pythonpublish-windows.yml
index 4718f97a..3a997d29 100644
--- a/.github/workflows/pythonpublish-windows.yml
+++ b/.github/workflows/pythonpublish-windows.yml
@@ -9,14 +9,14 @@ jobs:
     runs-on: windows-latest
     strategy:
       matrix:
-        python-version: ['3.7', '3.8', '3.9', '3.10']
+        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
 
     steps:
       - uses: actions/checkout@v2
         with:
           submodules: true
       - name: Set up Python
-        uses: actions/setup-python@v1
+        uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
         with:
           python-version: ${{ matrix.python-version }}
       - name: Install dependencies
diff --git a/.github/workflows/scripts/install_req_ubuntu.sh b/.github/workflows/scripts/install_req_ubuntu.sh
index dcae95fe..32f91e25 100755
--- a/.github/workflows/scripts/install_req_ubuntu.sh
+++ b/.github/workflows/scripts/install_req_ubuntu.sh
@@ -3,7 +3,7 @@
 set -e
 
 sudo apt update -y
-sudo apt install curl git build-essential cmake automake libtool libtool-bin -y
+sudo apt install curl git build-essential cmake automake libtool libtool-bin clang clang-format -y
 
 python -m pip install --upgrade pip
 pip install -r requirements_dev.txt
diff --git a/cmake/pybind11.cmake b/cmake/pybind11.cmake
index 9057643a..f73a849c 100644
--- a/cmake/pybind11.cmake
+++ b/cmake/pybind11.cmake
@@ -3,7 +3,7 @@ include(FetchContent)
 FetchContent_Declare(
   com_pybind_pybind11
   GIT_REPOSITORY https://github.com/pybind/pybind11
-  GIT_TAG        v2.6.2
+  GIT_TAG        v2.12.0
 )
 FetchContent_MakeAvailable(com_pybind_pybind11)
 
diff --git a/tenseal/deps.bzl b/tenseal/deps.bzl
index 9d77cf1d..31c42883 100644
--- a/tenseal/deps.bzl
+++ b/tenseal/deps.bzl
@@ -25,7 +25,7 @@ def tenseal_deps():
         http_archive(
             name = "com_microsoft_seal",
             build_file = "//third_party:seal.BUILD",
-            sha256 = "cb2d608656c09877e3c9dd260a9887094e4cfa8a9fe4127dac2ade0a4c172122",
+            sha256 = "af9bf0f0daccda2a8b7f344f13a5692e0ee6a45fea88478b2b90c35648bf2672",
             strip_prefix = "SEAL-4.1.1",
             urls = ["https://github.com/microsoft/SEAL/archive/v4.1.1.tar.gz"],
         )
diff --git a/tenseal/version.py b/tenseal/version.py
index dc1bba86..8966e1c9 100644
--- a/tenseal/version.py
+++ b/tenseal/version.py
@@ -1,1 +1,1 @@
-__version__ = "0.3.14"
+__version__ = "0.3.15"


Test patch:
diff --git a/.github/workflows/bazel_tests.yml b/.github/workflows/bazel_tests.yml
index 85860099..a5ac5848 100644
--- a/.github/workflows/bazel_tests.yml
+++ b/.github/workflows/bazel_tests.yml
@@ -19,7 +19,7 @@ jobs:
         with:
           submodules: true
       - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v1
+        uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
         with:
           python-version: ${{ matrix.python-version }}
       - name: Run gtest
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 1e2f35e8..bc383383 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -11,14 +11,14 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        python-version: [3.8]
+        python-version: ['3.8', '3.12']
         os: [ubuntu-latest]
     steps:
       - uses: actions/checkout@v2
         with:
           submodules: true
       - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v1
+        uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
         with:
           python-version: ${{ matrix.python-version }}
       - name: Install dependencies
@@ -34,14 +34,14 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        python-version: ['3.7', '3.8', '3.9', '3.10']
+        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
         os: [macos-latest, ubuntu-latest, windows-latest]
     steps:
       - uses: actions/checkout@v2
         with:
           submodules: true
       - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v1
+        uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
         with:
           python-version: ${{ matrix.python-version }}
       - name: Check LongPathsEnabled
@@ -86,14 +86,14 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        python-version: ['3.7', '3.8', '3.9', '3.10']
+        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
         os: [macos-latest, ubuntu-latest, windows-latest]
     steps:
       - uses: actions/checkout@v2
         with:
           submodules: true
       - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v1
+        uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
         with:
           python-version: ${{ matrix.python-version }}
       - name: Prepare ENV