Skip to content

Commit c5012c4

Browse files
authored
Merge pull request #153 from SharpAI/fix/depth-estimation-python-compat
fix(depth-estimation): use --ignore-requires-python for Python 3.11 c…
2 parents 4b2bcd2 + 79eac4b commit c5012c4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

skills/transformation/depth-estimation/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ class MyPrivacySkill(TransformSkillBase):
9797

9898
```bash
9999
python3 -m venv .venv && source .venv/bin/activate
100-
pip install -r requirements.txt
100+
pip install --ignore-requires-python -r requirements.txt
101101
```

skills/transformation/depth-estimation/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Depth Estimation — Privacy Transform Skill
22
# NOTE: torch and torchvision MUST be version-paired.
33
# Loose ranges cause pip to flip between incompatible versions.
4+
#
5+
# INSTALL WITH: pip install --ignore-requires-python -r requirements.txt
6+
# The depth-anything-v2 PyPI wheel declares python_requires>=3.12 in its
7+
# metadata, but is pure Python (py3-none-any) and works on Python 3.11+.
48
torch~=2.7.0
59
torchvision~=0.22.0
610
depth-anything-v2>=0.1.0

0 commit comments

Comments
 (0)