Comments (6)
See PR #13 for the setup.
from python-blosc.
See PR #14 for the submodule version.
from python-blosc.
See PR #15 for the subtree version.
from python-blosc.
So, now for some discussion.
The submodule requires additional commands of those users who checkout the repository. However, the sources themselves are never actually checked into the repository. The subtree merge requires additional commands on the side of the person merging the sources from upstream. In the current instructions, I have chosen to use --squash
, which means that each time a new Blosc version is merged, all the new commits are squashed into a single commit. In previous versions of the subtree merge approach, all commits in the history would be merged. This was sometimes confusing because the history of the original project would be quite polluted even with tags of the merged project. To clarify what an update would look like, the most recent commit of #15 is a merge from master. One advantage of the subtree merge is, that the users need not worry about anything, since the sources are part of this project. On the downside of course, the sources are actually checked in to the repository, but this shouldn't be too bad since Blosc sources are quite small.
Perhaps you should clone my fork into /tmp
when testing these approaches, since the submodule approach may do weird things, when switching branches, esp. if the new branch doesn't use submodules.
from python-blosc.
We have decided to go with the subtree approach, see #15 and #23.
from python-blosc.
Subtree approach introduced in commit 77ca657
from python-blosc.
Related Issues (20)
- Issues decompressing bytes from files HOT 1
- Replace obsolete `popen2` HOT 1
- Properly identify vendored `cpuinfo.py` version
- Blosc_ROOT cmake warning: Policy CMP0074 is not set HOT 2
- "RuntimeError: Cannot decompress" for a compressed sequence of more than 7240 zero bytes HOT 1
- Very bad compression on short inputs 1-127 bytes long HOT 5
- “python_requires” should be set with “>=3.6”, as blosc 1.10.6 is not compatible with all Python versions. HOT 2
- wrong setuptools build command
- Concatenate two blosc compressed bytes objects HOT 2
- LICENSES/BLOSC.txt HOT 4
- Rename default branch HOT 1
- Update pypi with latest blosc version HOT 3
- Wheel for Python 3.10 and Python 3.11 HOT 3
- Cannot install blosc 1.11.0 on apple M1 machine HOT 3
- decompress in fore-end HOT 1
- README link to python-blosc2 seems useful HOT 1
- __pack_tensor__ must be made portable and not depend on Python HOT 2
- __pack_tensor__ should be in the beginning of the file to avoid seeking the whole file HOT 2
- Python 3.12 compatibility HOT 6
- Numpy 2 compatibility
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 python-blosc.