LuisMayo / LuisMayo/objection_engine
Not compatible with Python 3.11
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 122
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to install Objection into another project, and getting the following output:
```
>>> python -m pip install git+https://github.com/LuisMayo/objection_engine.git
Collecting git+https://github.com/LuisMayo/objection_engine.git
Cloning https://github.com/LuisMayo/objection_engine.git to /private/var/folders/ms/x80nt_4n31j5pmb4qtr7m9c40000gn/T/pip-req-build-fnsjnbrp
Running command git clone --filter=blob:none -q https://github.com/LuisMayo/objection_engine.git /private/var/folders/ms/x80nt_4n31j5pmb4qtr7m9c40000gn/T/pip-req-build-fnsjnbrp
Resolved https://github.com/LuisMayo/objection_engine.git to commit d062290141f39d1a6a2f4c78e963372315586e75
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting rich<13.0.0,>=12.6.0
Using cached rich-12.6.0-py3-none-any.whl (237 kB)
Collecting fonttools<5.0.0,>=4.33.3
Using cached fonttools-4.39.4-py3-none-any.whl (1.0 MB)
Collecting pydub<0.26.0,>=0.25.1
Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Requirement already satisfied: requests<3.0.0,>=2.28.1 in ./venv/lib/python3.11/site-packages (from objection-engine==3.3.0) (2.31.0)
Collecting google-cloud-translate<3.0.0,>=2.0.1
Using cached google_cloud_translate-2.0.4-py2.py3-none-any.whl (92 kB)
Collecting sentencepiece<0.2.0,>=0.1.97
Using cached sentencepiece-0.1.99-cp311-cp311-macosx_10_9_x86_64.whl (1.2 MB)
Collecting moviepy<2.0.0,>=1.0.3
Using cached moviepy-1.0.3-py3-none-any.whl
Collecting spacy<4.0.0,>=3.1.4
Using cached spacy-3.5.3-cp311-cp311-macosx_10_9_x86_64.whl (6.8 MB)
Requirement already satisfied: transformers<5.0.0,>=4.25.1 in ./venv/lib/python3.11/site-packages (from objection-engine==3.3.0) (4.30.1)
Collecting Pillow<10.0.0,>=9.1.0
Using cached Pillow-9.5.0-cp311-cp311-macosx_10_10_x86_64.whl (3.4 MB)
Collecting ffmpeg-python<0.3.0,>=0.2.0
Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Requirement already satisfied: numpy<2.0.0,>=1.19.3 in ./venv/lib/python3.11/site-packages (from objection-engine==3.3.0) (1.24.3)
Collecting pycld2<0.42,>=0.41
Using cached pycld2-0.41-cp311-cp311-macosx_10_9_universal2.whl
Collecting textblob<0.18.0,>=0.17.1
Using cached textblob-0.17.1-py2.py3-none-any.whl (636 kB)
Collecting pyicu<3.0.0,>=2.10.2
Using cached PyICU-2.11-cp311-cp311-macosx_10_9_universal2.whl
ERROR: Could not find a version that satisfies the requirement torch<2.0.0,>=1.13.1 (from objection-engine) (from versions: 2.0.0, 2.0.1)
ERROR: No matching distribution found for torch<2.0.0,>=1.13.1
```
As far as I can tell, Objection itself [only requires `torch` to be greater than version `1.13.1`](https://github.com/LuisMayo/objection_engine/blob/main/pyproject.toml#L32). I have no idea where the `torch<2.0.0` requirement is coming from; I even went through all of the dependencies in the `pyproject.toml` file and searched *their* dependencies to see if I could find it, but had no luck. Maybe this is just something I'm spacing on?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with pyproject.toml around the dependency declaration referenced near line 32, then inspect the generated package metadata and dependency constraints involved in installation. Reproduce the Python 3.11 install command and identify where the torch<2.0 requirement is introduced; done means the source of the constraint and a compatible installation path are established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100