Comments (6)
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.
d5b12de still has this issue, as seen here: https://github.com/dzenanz/ITKIOOMEZarrNGFF/actions/runs/4683095325/jobs/8297768244.
from tensorstore.
Also here, for Linux: https://github.com/dzenanz/ITKIOOMEZarrNGFF/actions/runs/4683095325/jobs/8297767336.
from tensorstore.
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.
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.
I confirm that 2868eab fixes the problem.
from tensorstore.
Related Issues (20)
- AWS S3 authentication issues HOT 6
- Please create a pre-built PyPI wheel for linux arm64 HOT 4
- Support of large files for grpc_kvstore HOT 1
- S3 kvstore driver not being recognized HOT 3
- downsample driver produces repeating patterns HOT 8
- Debug logs for S3 driver, log requests and responses HOT 9
- Cache pool context from multiple python processes HOT 2
- Error while installing "tensorstore" on jetson linux (jetpack) HOT 1
- Assertion `IsUnmodified()' failed HOT 6
- How to use a custom bazel installation? HOT 2
- Building on linux with ppc64le arch
- Specify S3 credentials directly HOT 3
- Transactional/ACID semantics HOT 1
- Failing to build tensorestore as a cmake project HOT 4
- Using s3 kvstore with minio HOT 1
- Error reading shard index, Requested byte range... was not satisfied by response with byte range ... HOT 4
- Unable to include tensorstore as a cmake dependency
- Question: does tensorstore support array with multiple dynamic dimensions? HOT 2
- Clarify in documentation if the C++ API is thread safe HOT 2
- Writing local files fails on Windows 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorstore.