You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The version constraint of simsimd<5.0.0 prevents installing langchain-weaviate on Python >= 3.13, due to a bug in simsimd in v4.4.0 (and earlier).
Complete Minimal Reproducible Example
Steps to reproduce the behavior:
Try to install langchain-weaviate on any platform for which no wheels of simsimd==4.4.0 are available (e.g. Python 3.13, but also older or more rare setups).
Get an error like this:
#13 0.112 Using CPython 3.13.0 interpreter at: /usr/local/bin/python3
#13 0.112 Creating virtual environment at: .venv
#13 0.861 × Failed to download and build `simsimd==4.4.0`
#13 0.861 ╰─▶ Build backend failed to determine requirements with `build_wheel()`
#13 0.861 (exit status: 1)
#13 0.861
#13 0.861 [stderr]
#13 0.861 Traceback (most recent call last):
#13 0.861 File "<string>", line 14, in <module>
#13 0.861 requires = get_requires_for_build({})
#13 0.861 File
#13 0.861 "/root/.cache/uv/builds-v0/.tmpKjfYuY/lib/python3.13/site-packages/setuptools/build_meta.py",
#13 0.861 line 334, in get_requires_for_build_wheel
#13 0.861 return self._get_build_requires(config_settings, requirements=[])
#13 0.861 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#13 0.861 File
#13 0.861 "/root/.cache/uv/builds-v0/.tmpKjfYuY/lib/python3.13/site-packages/setuptools/build_meta.py",
#13 0.861 line 304, in _get_build_requires
#13 0.861 self.run_setup()
#13 0.861 ~~~~~~~~~~~~~~^^
#13 0.861 File
#13 0.861 "/root/.cache/uv/builds-v0/.tmpKjfYuY/lib/python3.13/site-packages/setuptools/build_meta.py",
#13 0.861 line 320, in run_setup
#13 0.861 exec(code, locals())
#13 0.861 ~~~~^^^^^^^^^^^^^^^^
#13 0.861 File "<string>", line 6, in <module>
#13 0.861 sys.path = [] + sys.path
#13 0.861 ^^^^^^^^^^
#13 0.861 FileNotFoundError: [Errno 2] No such file or directory: 'VERSION'
#13 0.861
#13 0.861 help: `simsimd` was included because `example-project==1.0.0` depends on
#13 0.861 `langchain-weaviate==0.0.3` which depends on `simsimd`
Expected behavior langchain-weaviate should be installable also in environments for which no pre-built simsimd wheels are available.
Tech Stack:
weaviate server version: irrelevant
weaviate client version: v4.9.3
weaviate modules enabled: none
langchain-weaviate version: v0.03
langchain version: v0.3.7
Additional context
This bug was reported on the simsimd side in ashvardanian/SimSIMD#150 and fixed in v5.0.0 (and then appeared again in ashvardanian/SimSIMD#209 and fixed again in v5.7.1). The current version of simsimd is v6.0.5.
The text was updated successfully, but these errors were encountered:
@dudanogueira
disabling simsimd (or rather making it optional) would be a work-around, but the much better solution would be to allow a newer version of the package, for which local wheel building is not broken.
I mean it is one thing saying that some niche platform is not fully supported, but this is the current Python version we are talking about.
Describe the bug
The version constraint of
simsimd<5.0.0
prevents installinglangchain-weaviate
on Python >= 3.13, due to a bug insimsimd
inv4.4.0
(and earlier).Complete Minimal Reproducible Example
Steps to reproduce the behavior:
langchain-weaviate
on any platform for which no wheels ofsimsimd==4.4.0
are available (e.g. Python 3.13, but also older or more rare setups).Expected behavior
langchain-weaviate
should be installable also in environments for which no pre-builtsimsimd
wheels are available.Tech Stack:
v4.9.3
v0.03
v0.3.7
Additional context
This bug was reported on the
simsimd
side in ashvardanian/SimSIMD#150 and fixed inv5.0.0
(and then appeared again in ashvardanian/SimSIMD#209 and fixed again inv5.7.1
). The current version ofsimsimd
isv6.0.5
.The text was updated successfully, but these errors were encountered: