Comments (8)
$ wget https://files.pythonhosted.org/packages/b3/e2/4a8ba6d00966e017b884c909aa826d42573b1d613e8813a78eb1af11512f/hiredis-0.3.0.tar.gz
$ tar xf hiredis-0.3.0.tar.gz
$ tree hiredis-0.3.0/vendor/
hiredis-0.3.0/vendor/
└── hiredis
├── COPYING
├── async.c
├── async.h
├── dict.c
├── dict.h
├── fmacros.h
├── hiredis.c
├── hiredis.h
├── net.c
├── net.h
├── read.c
├── read.h
├── sds.c
├── sds.h
├── test.c
└── win32.h
1 directory, 16 files
$ sha256sum hiredis-0.3.0.tar.gz
0c8cff472d579434c667e4c8243efe1a7f598b1f616f08d12c06770f8e4171c0 hiredis-0.3.0.tar.gz
I checked and hiredis-0.3.0.tar.gz did contain vendor directory.
Where did you download hiredis-0.3.0.tar.gz from? And what's the checksum?
from hiredis-py.
From Github's releases page:
$ wget --quiet https://github.com/redis/hiredis-py/archive/v0.3.0.tar.gz
$ tar xf v0.3.0.tar.gz
$ tree hiredis-py-0.3.0
hiredis-py-0.3.0
├── appveyor
│ └── run_with_env.cmd
├── appveyor.yml
├── benchmark
│ ├── benchmark.py
│ ├── lrange
│ └── simple
├── CHANGELOG.md
├── COPYING
├── hiredis
│ ├── __init__.py
│ └── version.py
├── MANIFEST.in
├── README.md
├── setup.cfg
├── setup.py
├── src
│ ├── hiredis.c
│ ├── hiredis.h
│ ├── reader.c
│ └── reader.h
├── test
│ ├── __init__.py
│ └── reader.py
├── test.py
└── vendor
└── hiredis
7 directories, 20 files
$ sha256sum v0.3.0.tar.gz
92e7374f44875751ba972078bf1b6cd9ec90a2d2e713ddc7c458452c180e04f4 v0.3.0.tar.gz
:)
from hiredis-py.
It seems the archive from github releases only includes source files from this repo itself, but not inludes those source files from git submodules. It's better to git clone --recursive
and then switch to a specific tag.
from hiredis-py.
Indeed. I'd use the PyPi downloads (this is for Debian packaging btw) but these are missing the test/
directory. Rock and a hard place, huh? ;)
from hiredis-py.
I have no knowledge about Debian packaging.
Can Debian packaging cope with this situation like git clone --recursive and then git checkout a specific tag, or add hiredis-py as a git submodule?
However, if it's necessary, I can make a new release and include test files.
from hiredis-py.
Debian packaging requires a single source tarball; we can't access the internet during build etc to get submodules. I could roll a custom tarball myself but it is always best to use "upstream's" one. :)
from hiredis-py.
v0.3.1 released https://pypi.org/project/hiredis/0.3.1/#files
from hiredis-py.
Many thanks; works great!
from hiredis-py.
Related Issues (20)
- Release for supporting Python 3.10 HOT 9
- Support newest hiredis release 1.1.0
- Source tarballs unavailable on pypi? HOT 5
- Changelog entry missing for 2.1.0
- Support dispatch/manual and tagged releases
- Windows wheels fail to build due to ssize_t redefinition HOT 2
- CI needs to properly account for all buildwheels attempts - at least in some labelled cases HOT 1
- sdsalloc.h doesn't seem to be installed as part of regular hiredis HOT 9
- Support garbage collection in Reader HOT 1
- Tag mismatch for 2.2.3/2.3.0 release HOT 2
- tests/test_asyncio/test_connect.py hangs on Python 3.12
- Release 2.3.0 not available on PyPI HOT 4
- Python 3.12 wheels HOT 2
- Memory leak on hgetall with RESP3 and hiredis HOT 2
- hiredis 2.3.2 probably causes fastapi app crashes HOT 1
- Hiredis cannot be installed on Python 3.13 HOT 1
- CPU spike in python:3.12.2-slim-bookworm, almost Debian image
- Segmentation fault with RESP3 map inside set
- Hiredis Is Failing To Handle `notEnoughData` Keyword Argument
- Return type differs between RESP2/3 for set operations, with hiredis 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 hiredis-py.