Comments (9)
Windows support would be very much welcomed. There are a few projects that I am forced to use a remote interpreter for because of just this package not building on windows.
from hiredis-py.
So in theory hiredis-py should work on Windows, we even got CI coverage for that.
But because I have no Windows machine and no idea of development on Windows I can't verify whether it works correctly. I rely solely on user input for this.
from hiredis-py.
My apologies, the package I was using was pointing to an outdated version of hiredis. The newer versions definitely work on Windows.
from hiredis-py.
Thanks for confirming!
from hiredis-py.
Hi, could you please tell me which the hiredis-py version work on windows?
from hiredis-py.
The latest: 0.2.0
from hiredis-py.
I can not install the lastest version (0.2.0) on a windows machine.
from hiredis-py.
Hi what is the error you're getting? I don't have a windows machine but it might provide a clue
from hiredis-py.
Hi @michael-grunder I get a error when try to compile this package:
python setup.py build
running build
running build_py
running build_clib
building 'hiredis_for_hiredis_py' library
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" /Tcvendor/hiredis/read.c /Fobuild\temp.win-amd64-3.6\vendor/hiredis/read.obj
read.c
vendor/hiredis/read.c(122): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/read.c(182): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/read.c(261): warning C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data
vendor/hiredis/read.c(262): warning C4244: '=': conversion from '__int64' to 'long', possible loss of data
vendor/hiredis/read.c(317): warning C4244: '=': conversion from '__int64' to 'long', possible loss of data
vendor/hiredis/read.c(513): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" /Tcvendor/hiredis/sds.c /Fobuild\temp.win-amd64-3.6\vendor/hiredis/sds.obj
sds.c
vendor/hiredis/sds.c(60): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(107): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(145): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(227): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(228): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(245): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(246): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(281): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(282): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(327): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(356): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(434): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(455): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(555): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(556): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(581): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(585): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(593): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(601): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(602): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(607): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(614): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(638): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\lib.exe build\temp.win-amd64-3.6\vendor/hiredis/read.obj build\temp.win-amd64-3.6\vendor/hiredis/sds.obj /OUT:build\temp.win-amd64-3.6\hiredis_for_hiredis_py.lib
Microsoft (R) Library Manager Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved.
LINK : fatal error LNK1171: unable to load mspdb140.dll (error code: 127)
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\lib.exe' failed with exit status 1171
from hiredis-py.
Related Issues (20)
- Can not decode resp3's big number type HOT 4
- pip install failing for version 2.0.0 python 3.10 HOT 2
- Can't install hiredis HOT 2
- C99 errors with older gcc HOT 4
- PUSH type not distinguishable from ARRAY type in RESP3 HOT 4
- 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
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.