-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Labels
User issue 🚨Issue openned by usersIssue openned by usersUsers PainAn issue known to cause users pain, generaly open by the user.An issue known to cause users pain, generaly open by the user.bug 🐞Something isn't workingSomething isn't workingpython 🐍Python wrapperPython wrapper
Milestone
Description
Describe the bug
hi, so i installed glide with pypy since it's said to be supported
https://github.com/valkey-io/valkey-glide/blob/main/python/pyproject.toml#L24
but i get the following error
╰─➤ pypy
Python 3.11.11 (0253c85bf5f8, Feb 26 2025, 10:42:42)
[PyPy 7.3.19 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>> import glide
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import glide
File "/home/amirreza/projects/1/pypytest/.venv/lib/pypy3.11/site-packages/glide/__init__.py", line 3, in <module>
from glide.async_commands.bitmap import (
File "/home/amirreza/projects/1/pypytest/.venv/lib/pypy3.11/site-packages/glide/async_commands/__init__.py", line 3, in <module>
from .core import CoreCommands
File "/home/amirreza/projects/1/pypytest/.venv/lib/pypy3.11/site-packages/glide/async_commands/core.py", line 28, in <module>
from glide.async_commands.sorted_set import (
File "/home/amirreza/projects/1/pypytest/.venv/lib/pypy3.11/site-packages/glide/async_commands/sorted_set.py", line 7, in <module>
from glide.constants import TEncodable
File "/home/amirreza/projects/1/pypytest/.venv/lib/pypy3.11/site-packages/glide/constants.py", line 5, in <module>
from glide.protobuf.command_request_pb2 import CommandRequest
ModuleNotFoundError: No module named 'glide.protobuf'
Expected Behavior
to work with pypy
or if it doesn't, it should be documented
Current Behavior
.
Reproduction Steps
pyenv install pypy3.11-7.3.19
pyenv local pypy3.11-7.3.19
pip install valkey-glide
Possible Solution
No response
Additional Information/Context
No response
Client version used
latest
Engine type and version
8.0.2
OS
linux
Language
Python
Language Version
3.11
Cluster information
No response
Logs
No response
Other information
when installing with pypy, dist info is named ike this:
valkey_glide-0.0.0rc0.dist-info
you can find this in site_packages
directory inside venv
Metadata
Metadata
Labels
User issue 🚨Issue openned by usersIssue openned by usersUsers PainAn issue known to cause users pain, generaly open by the user.An issue known to cause users pain, generaly open by the user.bug 🐞Something isn't workingSomething isn't workingpython 🐍Python wrapperPython wrapper
Type
Projects
Status
Done