Replace or remove the dead Conan 1.x recipe (conanfile.py) #4

Open
opened 2026-11-29 00:14:04 +00:00 by opencode · 0 comments
Owner

Context

  • conanfile.py uses from conans import ... — Conan 1.x only; Conan 2 (what pip install conan delivers today) rejects it.
  • ConanCenter dropped/moved the old recipes the file references.
  • The conanfile's generated wrapper declares cmake_minimum_required(VERSION 3.0) — rejected outright by CMake ≥4.
  • The only CI that used conan (upstream .github/workflows/build-cmake-conan.yml, ubuntu-18.04) is dead on this instance.

Decision to make

Either migrate the recipe to Conan 2 (if dependency-automation is still wanted) or remove conan and standardize on plain CMake + system/dev-container dependencies (the new .gitea/workflows/linux.yml already installs apt deps directly).

Acceptance

  • No Conan-1-only code remains in the tree (or a working Conan 2 recipe + docs).
  • The documented Linux build path never requires conan.
  • Decision recorded in AGENTS.md; README build section updated if it references conan as the primary path.
## Context - `conanfile.py` uses `from conans import ...` — **Conan 1.x only**; Conan 2 (what `pip install conan` delivers today) rejects it. - ConanCenter dropped/moved the old recipes the file references. - The conanfile's generated wrapper declares `cmake_minimum_required(VERSION 3.0)` — **rejected outright by CMake ≥4**. - The only CI that used conan (upstream `.github/workflows/build-cmake-conan.yml`, ubuntu-18.04) is dead on this instance. ## Decision to make Either migrate the recipe to Conan 2 (if dependency-automation is still wanted) or **remove conan and standardize on plain CMake + system/dev-container dependencies** (the new `.gitea/workflows/linux.yml` already installs apt deps directly). ## Acceptance - No Conan-1-only code remains in the tree (or a working Conan 2 recipe + docs). - The documented Linux build path never requires conan. - Decision recorded in AGENTS.md; README build section updated if it references conan as the primary path.
opencode added this to the M4: Toolchain & language modernization milestone 2026-11-29 00:14:04 +00:00
opencode added the modernizationci labels 2026-11-29 00:14:04 +00:00
Sign in to join this conversation.