perspective icon indicating copy to clipboard operation
perspective copied to clipboard

Support python 3.10 on windows

Open shinny-yangyang opened this issue 4 years ago • 3 comments

pip install perspective-python fail on windows python 3.10 env, error message:

  running build_ext
  setup.py:104: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    cmake_version = LooseVersion(
  CMake Error at CMakeLists.txt:2 (project):
    Generator

      Visual Studio 15 2017

    could not find any instance of Visual Studio.

If I switch to python 3.9, pip install will success

shinny-yangyang avatar Dec 22 '21 08:12 shinny-yangyang

Thanks for the report @shinny-yangyang!

We did not dist Windows wheels for Perspective's 1.0.7 perspective release due to a regression, and you do not have the needed dependencies to build Perspective from source, e.g. a C++ compiler (see the development guide for details). I've added a Python 3.10 task to our buildbot in #1684 , so Perspective 1.0.8 will dist these barring another regression.

texodus avatar Dec 22 '21 18:12 texodus

Thank you texodus. perspective is a great project.

shinny-yangyang avatar Dec 22 '21 23:12 shinny-yangyang

Looks like 3.10 has some CI issues so this won't make 1.0.8, we'll track this issue here.

texodus avatar Dec 23 '21 08:12 texodus

Note that there is already a conda-forge build of perspective for windows on python 3.10 https://anaconda.org/conda-forge/perspective/files

timkpaine avatar Sep 29 '22 19:09 timkpaine

https://github.com/finos/perspective/pull/2065

timkpaine avatar Apr 13 '23 19:04 timkpaine