Allow networkx install on older Python runtimes#183
Merged
DevOpsMadDog merged 1 commit intoDec 7, 2025
Conversation
Contributor
There was a problem hiding this comment.
1 issue found across 2 files
Prompt for AI agents (all 1 issues)
Check if these issues are valid — if so, understand the root cause of each and fix them.
<file name="scripts/setup-wizard.sh">
<violation number="1" location="scripts/setup-wizard.sh:80">
P2: The wizard always invokes `docker compose` but never falls back to the documented `docker-compose` binary, so it fails outright on systems without the Compose v2 plugin.</violation>
</file>
Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR
Comment on lines
+80
to
+84
| docker compose -f "$ROOT_DIR/$COMPOSE_FILE" build | ||
|
|
||
| echo "🚀 Starting FixOps stack..." | ||
| docker compose -f "$ROOT_DIR/$COMPOSE_FILE" up -d | ||
|
|
Contributor
There was a problem hiding this comment.
P2: The wizard always invokes docker compose but never falls back to the documented docker-compose binary, so it fails outright on systems without the Compose v2 plugin.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At scripts/setup-wizard.sh, line 80:
<comment>The wizard always invokes `docker compose` but never falls back to the documented `docker-compose` binary, so it fails outright on systems without the Compose v2 plugin.</comment>
<file context>
@@ -11,166 +11,84 @@ YELLOW='\033[1;33m'
+"$ROOT_DIR/scripts/bootstrap.sh"
+
+echo "🐳 Building FixOps Docker image using $COMPOSE_FILE ..."
+docker compose -f "$ROOT_DIR/$COMPOSE_FILE" build
+
+echo "🚀 Starting FixOps stack..."
</file context>
Suggested change
| docker compose -f "$ROOT_DIR/$COMPOSE_FILE" build | |
| echo "🚀 Starting FixOps stack..." | |
| docker compose -f "$ROOT_DIR/$COMPOSE_FILE" up -d | |
| echo "🐳 Building FixOps Docker image using $COMPOSE_FILE ..." | |
| if docker compose version &> /dev/null; then | |
| DOCKER_COMPOSE_CMD="docker compose" | |
| elif command -v docker-compose &> /dev/null; then | |
| DOCKER_COMPOSE_CMD="docker-compose" | |
| else | |
| echo -e "${RED}❌ Docker Compose (v2 plugin or docker-compose binary) is required.${NC}" | |
| exit 1 | |
| fi | |
| $DOCKER_COMPOSE_CMD -f "$ROOT_DIR/$COMPOSE_FILE" build | |
| echo "🚀 Starting FixOps stack..." | |
| $DOCKER_COMPOSE_CMD -f "$ROOT_DIR/$COMPOSE_FILE" up -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
Codex Task
Note
Adds Python-versioned constraints for
networkxand replaces the interactive setup wizard with a non-interactive one-click script that writes defaults and builds/starts Docker.scripts/setup-wizard.sh: Replaces interactive prompts with a non-interactive one-click flow that:.env, writes fresh defaults (env, API token, LLM flags, service secrets, optional integration vars,COMPOSE_FILE).scripts/bootstrap.sh, thendocker compose buildandup -dusingCOMPOSE_FILE.DEPLOYMENT_MODE,COMPOSE_FILE).requirements.txt: Adds Python-version markers fornetworkx(>=3.5,<4.0for Python >=3.10;>=3.2.1,<3.5for Python <3.10).Written by Cursor Bugbot for commit 9ed25ac. This will update automatically on new commits. Configure here.
Summary by cubic
Allows NetworkX to install on Python <3.10 and streamlines deployment with a one-click, non-interactive setup that builds and starts the stack automatically.
Dependencies
Refactors
Written for commit 9ed25ac. Summary will update automatically on new commits.