Comments (4)
we need pytest because of this class
from zarr-python.
Thanks. I see that the __init__.py
guards against pytest missing:
zarr-python/src/zarr/testing/__init__.py
Lines 4 to 7 in 064b2e0
Here's the behavior I see in an environment without pytest:
In [1]: import zarr
In [2]: import zarr.testing
<ipython-input-2-02d20f6cfc6f>:1: UserWarning: pytest not installed, skipping test suite
import zarr.testing
In [3]: zarr.testing.StoreTests
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[3], line 1
----> 1 zarr.testing.StoreTests
AttributeError: module 'zarr.testing' has no attribute 'StoreTests'
from zarr-python.
. So maybe the intended behavior is to just not have that class be importable if pytest isn't installed?
This seems right! (@jhamman feel free to issue a correction here).
from zarr-python.
Pytest should not be a required dependency so +1 to removing it.
from zarr-python.
Related Issues (20)
- http zarr proxy HOT 4
- [v3] benchmarks and performance tools HOT 1
- `zarr.{array,config,group}` are both modules and functions HOT 5
- _merge_chunk_array could allocate memory more carefully HOT 5
- Adding GPU CI HOT 7
- Re-enable dependabot on `main` branch HOT 2
- [v3] Inner chunk size validation behavior for `ShardingCodec` when downstream of `TransposeCodec` HOT 1
- zarr-python cannot read arrays saved by tensorstore using the zstd compressor HOT 1
- write_empty_chunks and zarr.zeros HOT 1
- Boolean array uses same amount of space as uint8 HOT 2
- Keys not URL-decoded when loaded over the network
- parallel append broken with ProcessSynchronizer HOT 3
- User attributes not being saved to file HOT 9
- Failure to encode `object` types when used with `zarr.full` HOT 3
- How easy can it be to create a zarr array
- Inconsistent reading performance with multiple cpu threads
- deprecate n5
- Enable ruff rull B905 on v2 branch
- Store ABC doesn't match spec HOT 1
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 zarr-python.