Skip to content

Cannot install pywry on 3.15 due to pytauri-wheel failure #94

Description

@clin1234

Also, https://github.com/pytauri/pytauri hasn't been maintained for close to a year, with pytauri/pytauri#308 being unanswered

> python3t -m pip install openbb-cli
Collecting openbb-cli
  Using cached openbb_cli-1.4.2-py3-none-any.whl.metadata (3.0 kB)
Collecting openbb<5.0.0,>=4.7.2 (from openbb[all]<5.0.0,>=4.7.2->openbb-cli)
  Using cached openbb-4.7.2-py3-none-any.whl.metadata (12 kB)
Collecting openpyxl<4.0.0,>=3.1.5 (from openbb-cli)
  Using cached openpyxl-3.1.5-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting prompt-toolkit<4.0.0,>=3.0.50 (from openbb-cli)
  Using cached prompt_toolkit-3.0.52-py3-none-any.whl.metadata (6.4 kB)
Collecting python-dotenv<2.0.0,>=1.0.1 (from openbb-cli)
  Using cached python_dotenv-1.2.2-py3-none-any.whl.metadata (27 kB)
Collecting pywry>=2.0.2 (from openbb-cli)
  Using cached pywry-2.0.4.tar.gz (4.4 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × installing build dependencies for pywry did not run successfully.
  │ exit code: 1
  ╰─> [1091 lines of output]
      Collecting hatchling>=1.21.0
        Using cached hatchling-1.30.1-py3-none-any.whl.metadata (3.8 kB)
      Collecting pip
        Using cached pip-26.1.2-py3-none-any.whl.metadata (4.6 kB)
      Collecting pytauri-wheel>=0.8.0
        Using cached pytauri_wheel-0.8.0.tar.gz (71 kB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Collecting packaging>=24.2 (from hatchling>=1.21.0)
        Using cached packaging-26.2-py3-none-any.whl.metadata (3.5 kB)
      Collecting pathspec>=0.10.1 (from hatchling>=1.21.0)
        Using cached pathspec-1.1.1-py3-none-any.whl.metadata (14 kB)
      Collecting pluggy>=1.0.0 (from hatchling>=1.21.0)
        Using cached pluggy-1.6.0-py3-none-any.whl.metadata (4.8 kB)
      Collecting trove-classifiers (from hatchling>=1.21.0)
        Using cached trove_classifiers-2026.6.1.19-py3-none-any.whl.metadata (2.3 kB)
      Collecting typing-extensions>=4.14 (from pytauri-wheel>=0.8.0)
        Using cached typing_extensions-4.16.0-py3-none-any.whl.metadata (3.3 kB)
      Collecting pytauri==0.8.* (from pytauri-wheel>=0.8.0)
        Using cached pytauri-0.8.0-py3-none-any.whl.metadata (495 bytes)
      Collecting anyio>=4 (from pytauri==0.8.*->pytauri-wheel>=0.8.0)
        Using cached anyio-4.14.1-py3-none-any.whl.metadata (4.6 kB)
      Collecting importlib-metadata>=8 (from pytauri==0.8.*->pytauri-wheel>=0.8.0)
        Using cached importlib_metadata-9.0.0-py3-none-any.whl.metadata (4.5 kB)
      Collecting pillow>=11.1 (from pytauri==0.8.*->pytauri-wheel>=0.8.0)
        Using cached pillow-12.3.0-cp315-cp315t-win_amd64.whl.metadata (9.3 kB)
      Collecting pydantic>=2 (from pytauri==0.8.*->pytauri-wheel>=0.8.0)
        Using cached pydantic-2.13.4-py3-none-any.whl.metadata (109 kB)
      Collecting idna>=2.8 (from anyio>=4->pytauri==0.8.*->pytauri-wheel>=0.8.0)
        Using cached idna-3.18-py3-none-any.whl.metadata (6.1 kB)
      Collecting zipp>=3.20 (from importlib-metadata>=8->pytauri==0.8.*->pytauri-wheel>=0.8.0)
        Using cached zipp-4.1.0-py3-none-any.whl.metadata (3.6 kB)
      Collecting annotated-types>=0.6.0 (from pydantic>=2->pytauri==0.8.*->pytauri-wheel>=0.8.0)
        Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
      Collecting pydantic-core==2.46.4 (from pydantic>=2->pytauri==0.8.*->pytauri-wheel>=0.8.0)
        Using cached pydantic_core-2.46.4.tar.gz (471 kB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Collecting typing-inspection>=0.4.2 (from pydantic>=2->pytauri==0.8.*->pytauri-wheel>=0.8.0)
        Using cached typing_inspection-0.4.2-py3-none-any.whl.metadata (2.6 kB)
      Using cached hatchling-1.30.1-py3-none-any.whl (77 kB)
      Using cached pip-26.1.2-py3-none-any.whl (1.8 MB)
      Using cached pytauri-0.8.0-py3-none-any.whl (62 kB)
      Using cached anyio-4.14.1-py3-none-any.whl (124 kB)
      Using cached idna-3.18-py3-none-any.whl (65 kB)
      Using cached importlib_metadata-9.0.0-py3-none-any.whl (27 kB)
      Using cached packaging-26.2-py3-none-any.whl (100 kB)
      Using cached pathspec-1.1.1-py3-none-any.whl (57 kB)
      Using cached pillow-12.3.0-cp315-cp315t-win_amd64.whl (7.2 MB)
      Using cached pluggy-1.6.0-py3-none-any.whl (20 kB)
      Using cached pydantic-2.13.4-py3-none-any.whl (472 kB)
      Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)
      Using cached typing_extensions-4.16.0-py3-none-any.whl (45 kB)
      Using cached typing_inspection-0.4.2-py3-none-any.whl (14 kB)
      Using cached zipp-4.1.0-py3-none-any.whl (10 kB)
      Using cached trove_classifiers-2026.6.1.19-py3-none-any.whl (14 kB)
      Building wheels for collected packages: pytauri-wheel, pydantic-core
        Building wheel for pytauri-wheel (pyproject.toml): started
        Building wheel for pytauri-wheel (pyproject.toml): still running...
        Building wheel for pytauri-wheel (pyproject.toml): still running...
        Building wheel for pytauri-wheel (pyproject.toml): still running...
        Building wheel for pytauri-wheel (pyproject.toml): still running...
        Building wheel for pytauri-wheel (pyproject.toml): still running...
        Building wheel for pytauri-wheel (pyproject.toml): still running...
        Building wheel for pytauri-wheel (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error

        × Building wheel for pytauri-wheel (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [996 lines of output]
            running bdist_wheel
            running build
            running build_py
            creating build\lib.win-amd64-cpython-315t\pytauri_wheel
            copying python\pytauri_wheel\lib.py -> build\lib.win-amd64-cpython-315t\pytauri_wheel
            copying python\pytauri_wheel\__init__.py -> build\lib.win-amd64-cpython-315t\pytauri_wheel
            running egg_info
            writing python\pytauri_wheel.egg-info\PKG-INFO
            writing dependency_links to python\pytauri_wheel.egg-info\dependency_links.txt
            writing entry points to python\pytauri_wheel.egg-info\entry_points.txt
            writing requirements to python\pytauri_wheel.egg-info\requires.txt
            writing top-level names to python\pytauri_wheel.egg-info\top_level.txt
            listing git files failed - pretending there aren't any
            reading manifest file 'python\pytauri_wheel.egg-info\SOURCES.txt'
            writing manifest file 'python\pytauri_wheel.egg-info\SOURCES.txt'
            copying python\pytauri_wheel\py.typed -> build\lib.win-amd64-cpython-315t\pytauri_wheel
            running build_ext
            running build_rust
                Updating crates.io index
                 Locking 661 packages to latest compatible versions
                  Adding generic-array v0.14.7 (available: v0.14.9)
                  Adding json-patch v3.0.1 (available: v4.2.0)
                  Adding pyo3 v0.25.1 (available: v0.29.0)
                  Adding tauri v2.8.5 (available: v2.11.5)
                  Adding tauri-build v2.4.1 (available: v2.6.3)
                  Adding tauri-codegen v2.4.0 (available: v2.6.3)
                  Adding tauri-macros v2.4.0 (available: v2.6.3)
                  Adding tauri-plugin v2.4.0 (available: v2.6.3)
                  Adding tauri-plugin-deep-link v2.4.5 (available: v2.4.9)
                  Adding tauri-plugin-dialog v2.4.2 (available: v2.7.1)
                  Adding tauri-plugin-fs v2.4.4 (available: v2.5.1)
                  Adding tauri-plugin-global-shortcut v2.3.1 (available: v2.3.2)
                  Adding tauri-plugin-http v2.5.4 (available: v2.5.9)
                  Adding tauri-plugin-opener v2.5.2 (available: v2.5.4)
                  Adding tauri-plugin-persisted-scope v2.3.4 (available: v2.3.7)
                  Adding tauri-plugin-positioner v2.3.1 (available: v2.3.2)
                  Adding tauri-plugin-shell v2.3.3 (available: v2.3.5)
                  Adding tauri-plugin-single-instance v2.3.6 (available: v2.4.2)
                  Adding tauri-plugin-updater v2.9.0 (available: v2.10.1)
                  Adding tauri-plugin-upload v2.3.2 (available: v2.4.0)
                  Adding tauri-plugin-websocket v2.4.1 (available: v2.4.2)
                  Adding tauri-runtime v2.8.0 (available: v2.11.3)
                  Adding tauri-runtime-wry v2.8.1 (available: v2.11.4)
                  Adding tauri-utils v2.7.0 (available: v2.9.3)
                  Adding toml v0.8.2 (available: v0.8.23)
                  Adding toml_datetime v0.6.3 (available: v0.6.11)
                  Adding toml_edit v0.20.2 (available: v0.20.7)
                  Adding webkit2gtk v2.0.1 (available: v2.0.2)
                  Adding webkit2gtk-sys v2.0.1 (available: v2.0.2)
            cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module tauri/custom-protocol --crate-typecdylib
               Compiling quote v1.0.46
               Compiling proc-macro2 v1.0.106
               Compiling unicode-ident v1.0.24
               Compiling cfg-if v1.0.4
               Compiling zerocopy v0.8.52
               Compiling serde_core v1.0.228
               Compiling icu_properties_data v2.2.0
               Compiling icu_normalizer_data v2.2.0
               Compiling zmij v1.0.21
               Compiling thiserror v2.0.18
               Compiling siphasher v0.3.11
               Compiling siphasher v1.0.3
               Compiling parking_lot_core v0.9.12
               Compiling memchr v2.8.2
               Compiling getrandom v0.1.16
               Compiling stable_deref_trait v1.2.1
               Compiling syn v1.0.109
               Compiling serde v1.0.228
               Compiling autocfg v1.5.1
               Compiling proc-macro-hack v0.5.20+deprecated

...
               Compiling futures-executor v0.3.32
                 Running `C:\Users\שזדס\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name futures_executor --edition=2018 C:\Users\שזדס\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\futures-executor-0.3.32\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unreachable_pub --warn=unexpected_cfgs --warn=single_use_lifetimes --warn=rust_2018_idioms --warn=missing_debug_implementations --check-cfg cfg(futures_sanitizer) --cfg "feature=\"std\"" --check-cfg cfg(docsrs,test) --check-cfg "cfg(feature, values(\"default\", \"std\", \"thread-pool\"))" -C metadata=da79c741257afc5c -C extra-filename=-f5c7d31988d73aca --out-dir C:\Users\שזדס\AppData\Local\Temp\pip-install-bwqfktxz\pytauri-wheel_85cd368df3364bbf8ee3ce019985588b\target\release\deps -C strip=debuginfo -L dependency=C:\Users\שזדס\AppData\Local\Temp\pip-install-bwqfktxz\pytauri-wheel_85cd368df3364bbf8ee3ce019985588b\target\release\deps --extern futures_core=C:\Users\שזדס\AppData\Local\Temp\pip-install-bwqfktxz\pytauri-wheel_85cd368df3364bbf8ee3ce019985588b\target\release\deps\libfutures_core-911ea53fed24c10d.rmeta --extern futures_task=C:\Users\שזדס\AppData\Local\Temp\pip-install-bwqfktxz\pytauri-wheel_85cd368df3364bbf8ee3ce019985588b\target\release\deps\libfutures_task-aa4f97d2d818ce3b.rmeta --extern futures_util=C:\Users\שזדס\AppData\Local\Temp\pip-install-bwqfktxz\pytauri-wheel_85cd368df3364bbf8ee3ce019985588b\target\release\deps\libfutures_util-7494d59d43c9ff9f.rmeta --cap-lints allow`
            error: failed to run custom build command for `pyo3-ffi v0.25.1`

            Caused by:
              process didn't exit successfully: `C:\Users\שזדס\AppData\Local\Temp\pip-install-bwqfktxz\pytauri-wheel_85cd368df3364bbf8ee3ce019985588b\target\release\build\pyo3-ffi-4272ee99929208cb\build-script-build` (exit code: 1)
              --- stdout
              cargo:rustc-check-cfg=cfg(Py_LIMITED_API)
              cargo:rustc-check-cfg=cfg(Py_GIL_DISABLED)
              cargo:rustc-check-cfg=cfg(PyPy)
              cargo:rustc-check-cfg=cfg(GraalPy)
              cargo:rustc-check-cfg=cfg(py_sys_config, values("Py_DEBUG", "Py_REF_DEBUG", "Py_TRACE_REFS", "COUNT_ALLOCS"))
              cargo:rustc-check-cfg=cfg(pyo3_disable_reference_pool)
              cargo:rustc-check-cfg=cfg(pyo3_leak_on_drop_without_reference_pool)
              cargo:rustc-check-cfg=cfg(Py_3_7)
              cargo:rustc-check-cfg=cfg(Py_3_8)
              cargo:rustc-check-cfg=cfg(Py_3_9)
              cargo:rustc-check-cfg=cfg(Py_3_10)
              cargo:rustc-check-cfg=cfg(Py_3_11)
              cargo:rustc-check-cfg=cfg(Py_3_12)
              cargo:rustc-check-cfg=cfg(Py_3_13)
              cargo:rustc-check-cfg=cfg(Py_3_14)
              cargo:rerun-if-env-changed=PYO3_CROSS
              cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR
              cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION
              cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_IMPLEMENTATION
              cargo:rerun-if-env-changed=PYO3_PRINT_CONFIG

              --- stderr
              error: The configured Python interpreter version (3.15) is newer than PyO3's maximum supported version (3.14)
              = help: please check if an updated version of PyO3 is available. Current version: 0.25.1
              = help: The free-threaded build of CPython does not support the limited API so this check cannot be suppressed.
            warning: build failed, waiting for other jobs to finish...
            error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features 'pyo3/extension-module tauri/custom-protocol' --crate-type cdylib` failed with code 101
            [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for pytauri-wheel
        Building wheel for pydantic-core (pyproject.toml): started
        Building wheel for pydantic-core (pyproject.toml): still running...
        Building wheel for pydantic-core (pyproject.toml): still running...
        Building wheel for pydantic-core (pyproject.toml): still running...
        Building wheel for pydantic-core (pyproject.toml): finished with status 'done'
        Created wheel for pydantic-core: filename=pydantic_core-2.46.4-cp315-cp315t-win_amd64.whl size=2148420 sha256=57563665bf0425c8c06722e245cc207182e7265d0e24ccb7e918c5cc8f1f7d7c
        Stored in directory: c:\users\שזדס\appdata\local\pip\cache\wheels\34\12\71\30f72d7b7a440635ebc4ddb0ca3cf0086eb13f7b4246d46cf1
      Successfully built pydantic-core
      Failed to build pytauri-wheel
      error: failed-wheel-build-for-install

      × Failed to build installable wheels for some pyproject.toml based projects
      ╰─> pytauri-wheel
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'pywry' when installing build dependencies for pywry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions