conan-1.6-utilities/pyproject.toml
Ole-Morten Duesund ac5a49ef62 conandeps: add progress output, silence Conan's SyntaxWarnings, allow Python 3.12+
- Progress lines on stderr for each of the three graph resolutions (with
  package/missing counts and timing) so a slow remote no longer looks like
  a hang; -q suppresses them. stdout remains the clean report.
- --verbose now streams Conan's output live via a tee instead of dumping it
  at the end.
- Filter SyntaxWarning/DeprecationWarning before importing conans: Conan 1.x
  modules trip the stricter escape-sequence checks of recent Pythons and
  printed a screenful of noise on 3.14.
- Drop the <3.12 requires-python ceiling. Conan 1.66 falls back to importlib
  where imp is missing; verified working on 3.14. Fix the Containerfile and
  docs that claimed otherwise.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYNdaGDrpaqDyT8QtrTQbM
2026-08-25 15:07:07 +02:00

34 lines
741 B
TOML

[project]
name = "conan-utils"
version = "0.1.0"
description = "Small utilities for Conan 1.x (targets 1.66)"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Ole-Morten Duesund" }]
requires-python = ">=3.8"
dependencies = ["conan>=1.66,<2"]
[project.scripts]
conandeps = "conandeps:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# Single-module layout: ship conandeps.py itself, not a package directory.
[tool.hatch.build.targets.wheel]
only-include = ["conandeps.py"]
[dependency-groups]
dev = ["pytest", "ruff"]
[tool.ruff]
target-version = "py38"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "B"]
[tool.pytest.ini_options]
testpaths = ["tests"]