Giter Club home page Giter Club logo

Comments (6)

jbms avatar jbms commented on May 25, 2024

Oh, looks like we accidentally broke support for Python 3.8 by relying on that operator. If you use Python 3.9 it will work; I will see if there is a way to make it work with 3.8 though.

from tensorstore.

dzenanz avatar dzenanz commented on May 25, 2024

d5b12de still has this issue, as seen here: https://github.com/dzenanz/ITKIOOMEZarrNGFF/actions/runs/4683095325/jobs/8297768244.

from tensorstore.

dzenanz avatar dzenanz commented on May 25, 2024

Also here, for Linux: https://github.com/dzenanz/ITKIOOMEZarrNGFF/actions/runs/4683095325/jobs/8297767336.

from tensorstore.

dzenanz avatar dzenanz commented on May 25, 2024

In case the link rots, here is the error:

Found Python3: /opt/python/cp38-cp38/bin/python (found version "3.8.15") found components: Interpreter 
-- Found Patch: /usr/bin/patch  
-- [Protobuf] Found ZLIB: zlib  
-- [absl] Performing Test ABSL_INTERNAL_AT_LEAST_CXX17
-- [absl] Performing Test ABSL_INTERNAL_AT_LEAST_CXX17 - Success
Traceback (most recent call last):
  File "/work/_skbuild/linux-x86_64-3.8/cmake-build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/evaluation.py", line 283, in get_optional_target_info
    rule_info.impl()
  File "/work/_skbuild/linux-x86_64-3.8/cmake-build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/bzl_library/bazel_skylib.py", line 153, in <lambda>
    lambda: _expand_template_impl(context, target, out_target, **kwargs),
  File "/work/_skbuild/linux-x86_64-3.8/cmake-build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/bzl_library/bazel_skylib.py", line 191, in _expand_template_impl
    json.dumps(_context.evaluate_configurable(substitutions)).encode("utf-8"))
  File "/work/_skbuild/linux-x86_64-3.8/cmake-build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/starlark/invocation_context.py", line 121, in evaluate_configurable
    cast(Union[Select[T], SelectExpression[T]],
  File "/work/_skbuild/linux-x86_64-3.8/cmake-build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/starlark/select.py", line 108, in evaluate
    return self.op(*(_try_evaluate(operand) for operand in self.operands))
  File "/work/_skbuild/linux-x86_64-3.8/cmake-build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/starlark/select.py", line 108, in <genexpr>
    return self.op(*(_try_evaluate(operand) for operand in self.operands))
  File "/work/_skbuild/linux-x86_64-3.8/cmake-build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/starlark/select.py", line 104, in _try_evaluate
    return t.evaluate(test_condition)
  File "/work/_skbuild/linux-x86_64-3.8/cmake-build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/starlark/select.py", line 108, in evaluate
    return self.op(*(_try_evaluate(operand) for operand in self.operands))
TypeError: unsupported operand type(s) for |: 'NoneType' and 'DictWithUnion'

from tensorstore.

jbms avatar jbms commented on May 25, 2024

Thanks for reporting this --- there was a missing return new here:

And also in our CI system, CMake was finding an unexpected Python version via the Windows registry and therefore this code path wasn't being properly tested.

I will push out a fixed version shortly.

from tensorstore.

dzenanz avatar dzenanz commented on May 25, 2024

I confirm that 2868eab fixes the problem.

from tensorstore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.