Skip to content

Commit e2e355b

Browse files
committed
fix(install): stop extras from installing other people's packages
None of the DevForge tools is on public PyPI, so bare extras like "deadcode", "envault" and "json2sql" resolved to unrelated packages by other authors (deadcode 2.4.1, envault 0.4.6, json2sql 1.0.0rc1), and [all] failed outright. Each extra now points at its real distribution in its GitHub repo. Also fix the README's recommended command, which pip parsed as a git URL ending in "[all]" and failed to clone. Verified: pip install --dry-run "./devforge-cli[all]" resolves all ten tools to Coding-Dev-Tools repos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0111byzLrKKTCJ23uTT6PyZq
1 parent 8a05221 commit e2e355b

2 files changed

Lines changed: 24 additions & 21 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Instead of installing ten separate tools and learning ten different CLIs, the `d
2828
2929
```bash
3030
# Install everything (recommended)
31-
pip install "git+https://github.com/Coding-Dev-Tools/devforge-cli.git[all]"
31+
pip install "devforge-tools[all] @ git+https://github.com/Coding-Dev-Tools/devforge-cli.git"
3232

3333
# Or clone and install locally
3434
git clone https://github.com/Coding-Dev-Tools/devforge-cli.git

‎pyproject.toml‎

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,30 @@ dependencies = [
2828

2929
# Optional groups — install with: pip install devforge-tools[all]
3030
[project.optional-dependencies]
31-
guard = ["api-contract-guardian>=0.1.0"]
32-
sql = ["json2sql>=0.1.0"]
33-
deploy = ["deploydiff>=0.1.0"]
34-
drift = ["configdrift>=0.1.0"]
35-
ghost = ["apighost>=0.1.0"]
36-
auth = ["apiauth>=0.2.0"]
37-
envault = ["envault>=0.1.0"]
38-
schema = ["schemaforge>=1.7.0"]
39-
mcp = ["click-to-mcp>=0.4.0"]
40-
deadcode = ["deadcode>=0.1.1"]
31+
# These tools are not on public PyPI yet, so each extra points at its GitHub repo.
32+
# Bare names (e.g. "deadcode", "envault", "json2sql") resolve to unrelated
33+
# packages owned by other people. Switch to version pins once each tool is published.
34+
guard = ["api-contract-guardian @ git+https://github.com/Coding-Dev-Tools/api-contract-guardian.git"]
35+
sql = ["json2sql-cli @ git+https://github.com/Coding-Dev-Tools/json2sql.git"]
36+
deploy = ["deploydiff @ git+https://github.com/Coding-Dev-Tools/deploydiff.git"]
37+
drift = ["configdrift @ git+https://github.com/Coding-Dev-Tools/configdrift.git"]
38+
ghost = ["apighost @ git+https://github.com/Coding-Dev-Tools/apighost.git"]
39+
auth = ["apiauth @ git+https://github.com/Coding-Dev-Tools/apiauth.git"]
40+
envault = ["rh-envault @ git+https://github.com/Coding-Dev-Tools/envault.git"]
41+
schema = ["schemaforge-cli @ git+https://github.com/Coding-Dev-Tools/schemaforge.git"]
42+
mcp = ["click-to-mcp @ git+https://github.com/Coding-Dev-Tools/click-to-mcp.git"]
43+
deadcode = ["deadcode-cli @ git+https://github.com/Coding-Dev-Tools/deadcode.git"]
4144
all = [
42-
"api-contract-guardian>=0.1.0",
43-
"json2sql>=0.1.0",
44-
"deploydiff>=0.1.0",
45-
"configdrift>=0.1.0",
46-
"apighost>=0.1.0",
47-
"apiauth>=0.2.0",
48-
"envault>=0.1.0",
49-
"schemaforge>=1.7.0",
50-
"click-to-mcp>=0.4.0",
51-
"deadcode>=0.1.1",
45+
"api-contract-guardian @ git+https://github.com/Coding-Dev-Tools/api-contract-guardian.git",
46+
"json2sql-cli @ git+https://github.com/Coding-Dev-Tools/json2sql.git",
47+
"deploydiff @ git+https://github.com/Coding-Dev-Tools/deploydiff.git",
48+
"configdrift @ git+https://github.com/Coding-Dev-Tools/configdrift.git",
49+
"apighost @ git+https://github.com/Coding-Dev-Tools/apighost.git",
50+
"apiauth @ git+https://github.com/Coding-Dev-Tools/apiauth.git",
51+
"rh-envault @ git+https://github.com/Coding-Dev-Tools/envault.git",
52+
"schemaforge-cli @ git+https://github.com/Coding-Dev-Tools/schemaforge.git",
53+
"click-to-mcp @ git+https://github.com/Coding-Dev-Tools/click-to-mcp.git",
54+
"deadcode-cli @ git+https://github.com/Coding-Dev-Tools/deadcode.git",
5255
]
5356
dev = ["pytest>=7.0.0", "pyright>=1.1.300"]
5457

0 commit comments

Comments
 (0)