diff --git a/.claude/README.md b/.claude/README.md new file mode 100644 index 0000000..087a4b3 --- /dev/null +++ b/.claude/README.md @@ -0,0 +1,104 @@ +# Claude Code Configuration + +This directory contains configuration for using this project with Claude Code, particularly in the online environment. + +## SessionStart Hook + +The `hooks/SessionStart` script automatically runs when a new Claude Code session begins. It: + +1. **Installs pixi** (if not already installed) - The package and environment manager +2. **Installs project dependencies** - All Python packages and tools defined in `pyproject.toml` +3. **Sets up prek hooks** - For automatic code quality checks +4. **Configures git** - Sets up merge drivers for lockfiles + +## Usage with Claude Code Online + +When you start a Claude Code online session, the SessionStart hook will automatically run and set up your environment. You'll see output indicating the setup progress. + +### Available Commands + +Once setup is complete, Claude can use these pixi tasks: + +#### Testing & Quality +- `pixi run test` - Run pytest tests +- `pixi run coverage` - Run tests with coverage report +- `pixi run lint` - Run ruff check, ruff format --check and ty +- `pixi run format` - Format code with ruff + +#### CI Tasks +- `pixi run ci` - Run full CI pipeline (format, lint, test, coverage) +- `pixi run fix` - Auto-fix common issues (update lock, format, lint) + +#### Prek Hooks +- `pixi run prek` - Run all prek hooks +- `pixi run prek-update` - Update prek hook versions + +### How It Works + +1. **First session**: The hook installs pixi and all dependencies (may take a few minutes) +2. **Subsequent sessions**: The hook verifies the environment is ready (much faster) +3. **Environment activated**: All pixi commands are available to Claude + +### Troubleshooting + +If you encounter issues: + +1. **Dependencies not found**: Run `pixi install` manually +2. **Lockfile conflicts**: Run `pixi run update-lock` +3. **Prek issues**: Run `pixi run prek-update` +4. **Full reset**: Delete `.pixi` directory and restart session + +### Customization + +You can modify `hooks/SessionStart` to: +- Install additional tools +- Run custom setup scripts +- Configure environment variables +- Set up external services + +## Ralph Orchestrator + +This project includes [ralph-orchestrator](https://github.com/mikeyobrien/ralph-orchestrator), an autonomous agent orchestrator for managing complex multi-step tasks. + +### Installation + +Ralph is installed as a pixi dependency. After running `pixi install`, it's available in the environment. + +### Basic Usage + +```bash +# Initialize ralph (creates ralph.yml and PROMPT.md if not present) +pixi run ralph init + +# Plan a task (creates a spec file) +pixi run ralph plan "Implement feature X" + +# Run ralph with the current PROMPT.md +pixi run ralph run + +# Check ralph version +pixi run ralph --version +``` + +### Configuration Files + +- `ralph.yml` - Main configuration (event loop, hats, backends) +- `PROMPT.md` - Task description for ralph to execute +- `specs/` - Directory for task specifications + +### Customization + +Edit `ralph.yml` to customize: +- `event_loop.max_iterations` - Maximum iterations before stopping +- `event_loop.max_runtime_seconds` - Maximum runtime +- `cli.backend` - AI backend (claude, gemini, codex, etc.) +- `hats` - Define custom personas for multi-agent workflows + +See the [ralph-orchestrator documentation](https://github.com/mikeyobrien/ralph-orchestrator) for more details. + +## Learn More + +- [Claude Code Documentation](https://docs.claude.com/claude-code) +- [Pixi Documentation](https://pixi.sh) +- [Ralph Orchestrator](https://github.com/mikeyobrien/ralph-orchestrator) +- [Project README](../README.md) diff --git a/.claude/activate.sh b/.claude/activate.sh new file mode 100755 index 0000000..c6ca221 --- /dev/null +++ b/.claude/activate.sh @@ -0,0 +1,19 @@ +#!/bin/bash +# Source this file to activate the pixi environment in your current shell +# Usage: source .claude/activate.sh + +# Add pixi to PATH +export PATH="$HOME/.pixi/bin:$PATH" + +# Optional: Activate pixi shell if available +if command -v pixi &> /dev/null; then + echo "✅ Pixi environment activated" + echo "💡 Available commands:" + echo " pixi run test - Run tests" + echo " pixi run lint - Run linters" + echo " pixi run format - Format code" + echo " pixi run ci - Run full CI" + pixi task list --summary 2>/dev/null || true +else + echo "⚠️ Pixi not found. Please run .claude/hooks/SessionStart first." +fi diff --git a/.claude/commands/fix-issue.md b/.claude/commands/fix-issue.md new file mode 100644 index 0000000..1af6c35 --- /dev/null +++ b/.claude/commands/fix-issue.md @@ -0,0 +1,20 @@ +# Fix GitHub Issue + +Fix the GitHub issue: $ARGUMENTS + +## Steps + +1. Fetch issue details: `pixi run gh issue view $ARGUMENTS` +2. Extract the issue number from the URL for commit messages +3. Understand the problem and locate relevant code +4. Implement the fix +5. Run `pixi run ci` to verify (format, lint, test, coverage) +6. Commit with message referencing the issue (e.g., `Fixes #123`) +7. Create PR: `pixi run gh pr create` + +## Notes + +- Input can be a GitHub URL (e.g., `https://github.com/owner/repo/issues/123`) or issue number +- Keep changes minimal and focused on the issue +- Add tests if fixing a bug +- Run full CI before committing diff --git a/.claude/hooks/SessionStart b/.claude/hooks/SessionStart new file mode 100755 index 0000000..5236120 --- /dev/null +++ b/.claude/hooks/SessionStart @@ -0,0 +1,47 @@ +#!/bin/bash +# SessionStart hook for Claude Code online environment +# This script sets up the Python development environment using pixi + +set -eo pipefail + +echo "🚀 Setting up Python Template environment..." + +# Check if pixi is installed +if ! command -v pixi &> /dev/null; then + echo "📦 Installing pixi..." + curl -fsSL https://pixi.sh/install.sh | bash + + # Add pixi to PATH for current session + export PATH="$HOME/.pixi/bin:$PATH" + + # Source bashrc to get pixi in PATH (if bashrc was updated) + # shellcheck disable=SC1091 + [ -f "$HOME/.bashrc" ] && source "$HOME/.bashrc" + + echo "✅ Pixi installed successfully" +else + echo "✅ Pixi already installed" +fi + +# Ensure pixi is in PATH for this session +export PATH="$HOME/.pixi/bin:$PATH" + +# Install project dependencies +echo "📦 Installing project dependencies..." +pixi install + +# Run prek installation +echo "🔧 Setting up prek hooks..." +pixi run prek install || echo "⚠️ Prek installation skipped (optional)" + +echo "✅ Environment setup complete!" +echo "" +echo "Available pixi tasks:" +pixi task list +echo "" +echo "💡 Common commands:" +echo " pixi run test - Run tests" +echo " pixi run lint - Run linters" +echo " pixi run format - Format code" +echo " pixi run ci - Run full CI pipeline" +echo "" diff --git a/.devcontainer/claude-code/init-host.sh b/.devcontainer/claude-code/init-host.sh index 0256010..da072a9 100755 --- a/.devcontainer/claude-code/init-host.sh +++ b/.devcontainer/claude-code/init-host.sh @@ -1,6 +1,11 @@ #!/bin/sh -# Runs on the HOST before the container is created. docker refuses a bind -# mount whose source does not exist, so every bind source in devcontainer.json -# must be created here. mkdir -p never clobbers an existing directory. +# Create the host directories that devcontainer.json bind-mounts. +# This script runs on the HOST before the container is created. +# docker refuses to create the container when a bind source is missing, so a +# host that has never run `gh auth login` (no ~/.config/gh) or never run Claude +# Code (no ~/.claude) could not start the container without this. +# mkdir -p is idempotent - it only creates if missing, won't clobber existing. +# Keep this list in step with the ${localEnv:HOME} bind mounts in +# devcontainer.json; test/test_devcontainer.py fails when they drift. mkdir -p "$HOME/.claude" "$HOME/.config/gh" diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 176443b..08d405b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,17 +1,29 @@ { - // Uses the template's prebuilt image for fast startup. This repo has no - // Dockerfile of its own; the image is built in blooop/python_template. + // Uses python_template's prebuilt image by default for fast startup. + // + // Template-only: python_template itself also ships .devcontainer/Dockerfile, + // .devcontainer/ci/ (the config its image is built from) and two pixi + // tasks that toggle this block -- `pixi run dev-use-local` (uncomment the + // "build" block below and build from the Dockerfile) and + // `pixi run dev-use-prebuilt` (point "image" at this repo's own image). + // A child repo that kept only devcontainer.json, post-create.sh and + // claude-code/init-host.sh (the initializeCommand below) has none of + // those; there the commented "build" block is inert, and to build locally + // you bring them over from blooop/python_template first. + // "build": { + // "dockerfile": "Dockerfile", + // "context": ".." + // }, "image": "ghcr.io/blooop/python_template/devcontainer:latest", // There is deliberately no "features" block. The claude-code feature is // already baked into the image above: python_template's // .devcontainer/ci/devcontainer.json, which is the config its CI builds - // that image from, declares - // "../claude-code". Declaring it again here made the devcontainer spec - // build a derived image on the first launch of every branch, reinstalling - // something the pulled image already carried -- so the "prebuilt image for - // fast startup" above still paid for a build. With this block gone the - // launch is a pull and nothing else. + // that image from, declares "../claude-code". Declaring it again here + // made the devcontainer spec build a derived image on the first launch of + // every branch, reinstalling something the pulled image already carried -- + // so the "prebuilt image for fast startup" above still paid for a build. + // With this block gone the launch is a pull and nothing else. // // Adding a feature back here is allowed and costs that derived build again. // If that ever becomes the normal case, the fix is devlaunch's design -- @@ -59,7 +71,9 @@ }, // Three mounts. The pixi volume keeps the environment out of the bind- - // mounted workspace; the other two share host credentials. + // mounted workspace; the other two share host credentials. docker will not + // create the container when a bind source is missing, so initializeCommand + // (.devcontainer/claude-code/init-host.sh) creates both on the host first. // // ~/.config/gh is here because it works. `gh` uses a system keyring when // one is available and falls back to hosts.yml when it is not, and on this diff --git a/.gitattributes b/.gitattributes index e507580..311c32a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -43,4 +43,4 @@ # numpy file format *.npy filter=lfs diff=lfs merge=lfs -text # GitHub syntax highlighting -pixi.lock linguist-language=YAML merge=ourslock +pixi.lock linguist-language=YAML merge=ours diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9f18bbc..7dc0a64 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -12,11 +12,10 @@ updates: groups: dev-dependencies: #try to group all development dependencies updates into a single pr - patterns: - - "check-manifest" - - "pre-commit" + patterns: + - "prek" - "pytest" - - "pytest-cov" + - "pytest-cov" - "hypothesis" - "ruff" - "coverage" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5aee2c..9fe8d25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,16 +17,16 @@ jobs: environment: [py310, py311, py312, py313] steps: - name: Checkout - uses: actions/checkout@v4 - - uses: prefix-dev/setup-pixi@v0.8.1 + uses: actions/checkout@v7 + - uses: prefix-dev/setup-pixi@v0.10.0 with: cache: true - frozen: true + locked: true environments: ${{ matrix.environment }} - name: CI run: | pixi run -e ${{ matrix.environment }} ci - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v7 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml deleted file mode 100644 index 8732461..0000000 --- a/.github/workflows/pre-commit.yaml +++ /dev/null @@ -1,10 +0,0 @@ -name: pre-commit - -on: [pull_request] - -jobs: - pre-commit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/prek.yaml b/.github/workflows/prek.yaml new file mode 100644 index 0000000..113ab8e --- /dev/null +++ b/.github/workflows/prek.yaml @@ -0,0 +1,19 @@ +name: prek + +on: [pull_request] + +jobs: + prek: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + # The ruff hooks are local hooks that run ruff (and prek) from the pixi + # environment, so CI uses the same pinned versions as local. + - uses: prefix-dev/setup-pixi@v0.10.0 + with: + cache: true + locked: true + environments: default + - name: prek + # `prek` is the pixi task `prek run -a`; extra args are appended to it. + run: pixi run --locked prek --show-diff-on-failure diff --git a/.gitignore b/.gitignore index 260ce0a..f99e42b 100644 --- a/.gitignore +++ b/.gitignore @@ -170,3 +170,10 @@ log/** managed_context/metadata.json test_suite_analysis/metadata.json + +.devpod/ +.devpod-internal/ +.ralph/ + +# Claude Code local settings (personal, not shared) +.claude/settings.local.json diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ae2c7df..dc8c164 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,14 +40,27 @@ repos: # - id: trailing-whitespace - id: fix-byte-order-marker - # Formatter for python - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.2 + # Ruff runs from the pixi environment, so these hooks, `pixi run lint` and CI + # all use the one ruff pinned in pyproject.toml. Change the version there only. + - repo: local hooks: - - # Run the formatter. + - id: ruff-check + name: ruff check + entry: pixi run --locked ruff check --fix --exit-non-zero-on-fix + language: system + types_or: [ python, pyi ] - id: ruff-format + name: ruff format + entry: pixi run --locked ruff format + language: system types_or: [ python, pyi ] + + # Shell script linter + - repo: https://github.com/shellcheck-py/shellcheck-py + rev: v0.11.0.1 + hooks: + - id: shellcheck + # Checks for spelling mistakes - repo: https://github.com/codespell-project/codespell rev: v2.3.0 diff --git a/.vscode/extensions.json b/.vscode/extensions.json index e8f481a..fd4af2a 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,13 +1,10 @@ { "recommendations": [ + "mhutchie.git-graph", "ms-python.python", "ms-python.vscode-pylance", - "njpwerner.autodocstring", + "jjjermiah.pixi-vscode", "charliermarsh.ruff", - "mhutchie.git-graph", - "tamasfe.even-better-toml", - "ms-azuretools.vscode-docker", - "ryanluker.vscode-coverage-gutters", - "jjjermiah.pixi-vscode" + "tamasfe.even-better-toml" ] } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 7680bda..ef97eec 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -25,11 +25,11 @@ "label": "autoformat", "detail": "Use ruff to automatically fix and format the code", "type": "shell", - "command": "pixi run fmt" + "command": "pixi run format" }, { "label": "lint", - "detail": "Run ruff check on the code", + "detail": "Run ruff check, ruff format --check and ty", "type": "shell", "command": "pixi run lint" }, @@ -52,7 +52,7 @@ "label": "pytest duration", "detail": "Run pytest and track the duration of each test", "type": "shell", - "command": "pytest --durations=0" + "command": "pixi run pytest --durations=0" }, { "label": "check CI", @@ -103,17 +103,7 @@ "detail": "Replaces all instances of the template project name with a new name. ", "type": "shell", "command": "scripts/rename_project.sh '${input:new_project_name}' '${input:new_author_name}' '${input:new_author_email}' '${input:github_username}'" - }, - { - "label": "flit install", - "type": "shell", - "command": "flit install --symlink" }, - { - "label": "flit publish", - "type": "shell", - "command": "flit publish" - }, { "label": "setup: host", "detail": "Sets up docker, nvidia docker git-lfs and rocker which are used to clone and setup docker containers", @@ -140,7 +130,7 @@ "label": "Install All Recommended Extensions", "type": "shell", "linux": { - "command": "cat .vscode/extensions.json | jq .recommendations[] | xargs -n 1 code . --install-extension" + "command": "if [ -f /.dockerenv ] || grep -q 'docker\\|lxc' /proc/1/cgroup 2>/dev/null; then echo 'Docker container detected, installing extensions...'; cat .vscode/extensions.json | jq .recommendations[] | xargs -n 1 code . --install-extension; else echo 'Not in Docker container, skipping extension installation'; fi" }, "runOptions": { "runOn": "folderOpen" @@ -149,19 +139,19 @@ "reveal": "always" }, }, - { - "label": "set git config recurse submodules", - "type": "shell", - "linux": { - "command": [" git config submodule.recurse true"], - }, - "runOptions": { - "runOn": "folderOpen" - }, - "presentation": { - "reveal": "silent" - }, - }, + // { + // "label": "set git config recurse submodules", + // "type": "shell", + // "linux": { + // "command": [" git config submodule.recurse true"], + // }, + // "runOptions": { + // "runOn": "folderOpen" + // }, + // "presentation": { + // "reveal": "silent" + // }, + // }, ], "inputs": [ { diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..167cf61 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,17 @@ +# Agent Instructions + +## Development Environment + +This project uses a devcontainer with pixi for environment management. + +### Available Tools + +- **GitHub CLI (`gh`)**: Available via `pixi run gh` or directly if using a login shell. The container mounts the host's `~/.config/gh`, so if you are authenticated on the host, that authentication is shared -- including in a container opened without `dl`, such as a plain `devpod up` or VS Code's Reopen in Container. Under `dl` there is also a forwarded `GH_TOKEN` (taken from `GH_TOKEN`, `GITHUB_TOKEN` or `gh auth token`, whichever answers first), and that takes precedence over the mounted `hosts.yml`. + +### Running Commands + +When using pixi tasks, prefer `pixi run `. See `pixi task list` for available tasks. + +For tools installed as dependencies (like `gh`), you can run them via: +- `pixi run gh ` - works in any shell +- `gh ` - works in login shells (`bash -l -c '...'`) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99f9c7a..1eea5d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,4 +2,4 @@ ## python_template -## [0.0.0] +## [0.2.0] diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 0000000..47dc3e3 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +AGENTS.md \ No newline at end of file diff --git a/PROMPT.md b/PROMPT.md new file mode 100644 index 0000000..0f9a73b --- /dev/null +++ b/PROMPT.md @@ -0,0 +1,21 @@ +# Project Development Context + + +## Project Overview +[Describe your project here] + +## Development Commands + +- `pixi run test` - Run tests +- `pixi run lint` - Run linters (ruff check, ruff format --check, ty) +- `pixi run format` - Format code +- `pixi run ci` - Full CI pipeline + +## Quality Standards +- All tests must pass +- Code must pass linting +- Follow existing code patterns + +## Current Objectives + +1. [Your objective here] diff --git a/README.md b/README.md index 463c5b8..def2bbc 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ A template repo for python projects that is set up using [pixi](https://pixi.sh) This has basic setup for -* ruff +* ruff (formatting and linting) * pytest * codecov * git-lfs @@ -11,6 +11,16 @@ This has basic setup for * pulling updates from this template +## One ruff version + +Ruff is pinned once, as `ruff==X.Y.Z` in `pyproject.toml`. Everything else runs that ruff from the pixi environment: + +* `pixi run lint` and `pixi run ci` run `ruff check .` and `ruff format --check .` +* the prek hooks in `.pre-commit-config.yaml` are `repo: local` hooks that run `pixi run --locked ruff ...`, so they carry no version of their own +* CI (`ci.yml` and `prek.yaml`) installs the pixi environment with `setup-pixi` and `locked: true`, so CI fails when `pixi.lock` does not match `pyproject.toml`. It does not run a stale ruff. + +To change the ruff version, edit the pin in `pyproject.toml` and run `pixi lock`. Dependabot changes only `pyproject.toml`, so run `pixi lock` on its PR before you merge it. Do not add a `rev:` for ruff to `.pre-commit-config.yaml` or a `version:` to a ruff GitHub action. + ## Continuous Integration Status [![Ci](https://github.com/blooop/python_template/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/blooop/python_template/actions/workflows/ci.yml?query=branch%3Amain) @@ -19,7 +29,7 @@ This has basic setup for [![GitHub pull-requests merged](https://badgen.net/github/merged-prs/blooop/python_template)](https://github.com/blooop/python_template/pulls?q=is%3Amerged) [![GitHub release](https://img.shields.io/github/release/blooop/python_template.svg)](https://GitHub.com/blooop/python_template/releases/) [![License](https://img.shields.io/pypi/l/bencher)](https://opensource.org/license/mit/) -[![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11-blue)](https://www.python.org/downloads/) +[![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)](https://www.python.org/downloads/) [![Pixi Badge](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json)](https://pixi.sh) diff --git a/docs/intro.rst b/docs/intro.rst index 4ddc498..a1ba12e 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -5,7 +5,7 @@ A template repo for python projects This has basic setup for -* ruff +* ruff (formatting and linting) * pytest * codecov * git-lfs @@ -20,8 +20,8 @@ This has basic setup for [![GitHub issues](https://img.shields.io/github/issues/blooop/python_template.svg)](https://GitHub.com/blooop/python_template/issues/) [![GitHub pull-requests merged](https://badgen.net/github/merged-prs/blooop/python_template)](https://github.com/blooop/python_template/pulls?q=is%3Amerged) [![GitHub release](https://img.shields.io/github/release/blooop/python_template.svg)](https://GitHub.com/blooop/python_template/releases/) -[![License](https://img.shields.io/pypi/l/bencher)](https://opensource.org/license/mit/) -[![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11-blue)](https://www.python.org/downloads/release/python-310/) +[![License](https://img.shields.io/github/license/blooop/python_template)](https://opensource.org/license/mit/) +[![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)](https://www.python.org/downloads/) To set up your project run the vscode task "pull updates from template repo" and then task "rename project template name" diff --git a/pixi.lock b/pixi.lock index dabe968..6e46e9d 100644 --- a/pixi.lock +++ b/pixi.lock @@ -10,6 +10,7 @@ environments: default: channels: - url: https://conda.anaconda.org/conda-forge/ + - url: https://prefix.dev/blooop/ indexes: - https://pypi.org/simple packages: @@ -18,6 +19,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-2_gnu.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/linux-64/bzip2-1.0.8-h4bc722e_7.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/ca-certificates-2024.8.30-hbcca054_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/gh-2.103.2-hfc2019e_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.43-h712a8e2_2.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.3-h5888daf_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2 @@ -33,34 +35,30 @@ environments: - conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.13.0-h9ebbce0_100_cp313.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/python_abi-3.13-5_cp313.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/readline-8.2-h8228510_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/shellcheck-0.10.0-ha770c72_1.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/tk-8.6.13-noxft_h4845f30_101.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/xz-5.2.6-h166bdaf_0.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2024b-hc8b5060_0.conda + - conda: https://prefix.dev/blooop/linux-64/devpod-0.8.12-hb0f4dca_0.conda + - conda: https://prefix.dev/blooop/linux-64/ralph-orchestrator-2.6.0-hb0f4dca_0.conda - pypi: ./ + - pypi: https://files.pythonhosted.org/packages/01/f8/c151e196d4f397ed9436a071e52666c70a2f021138dea828b0a461e245db/hypothesis-6.155.7-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/36/3b/48e79f2cd6a61dbbd4807b4ed46cb564b4fd50a76166b1c4ea5c1d9e2371/pytest_cov-6.0.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/3c/a6/bc1012356d8ece4d66dd75c4b9fc6c1f6650ddd5991e421177d9f8f671be/platformdirs-4.3.6-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/43/b3/df14c580d82b9627d173ceea305ba898dca135feb360b6d84019d0803d3b/pre_commit-4.1.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/54/c8/12811c9b48fde162bb72b6f2e78fada9a247a09d7bb5be2050a5d099c77b/nodeenv-1.11.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/60/91/1aa70d3dfcab0dbcf88a2cbc3bce7f7c69562287a90216e617eaa4937e25/python_discovery-1.6.4-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/6b/77/7440a06a8ead44c7757a64362dd22df5760f9b12dc5f11b6188cd2fc27a0/pytest-8.3.3-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/70/50/73f9a5aa0810cdccda9c1d20be3cbe4a4d6ea6bfd6931464a44c95eef731/numpy-2.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/7b/a2/97052c42f46fca976cf2d5d37ecf547062f2cb66f54a4f95442cf6610697/hypothesis-6.116.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/7f/f8/4436a643631a2fbab4b44d54f515028f6099bfb1cd95b13cfbf701e7f2f2/coverage-7.6.4-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/82/50/dfce42eff2cecabcd5a9bbad5489449c87db3415f408d23ffee417ce01f6/coverage-7.14.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl - pypi: https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/a0/57/4642e57484d80d274750dcc872ea66655bbd7e66e986fede31e1865b463d/ruff-0.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/c1/2b/238f02a4927fa2e27aa995371d240a468b52e42eae44a678434aff736b38/distlib-0.4.4-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/db/3c/33bac158f8ab7f89b2e59426d5fe2e4f63f7ed25df84c036890172b412b5/cfgv-3.5.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/df/93/084f10ebbecdedf7902ed68fbecc903f0e9c5742155bfffb05eccbc071da/virtualenv-21.14.5-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/e0/1b/5e74289a1878e666bb4b65fe5805a04cafcac2aa5f519ef1ead67ef91c56/filelock-4.2.4-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/9d/7a/d968e294073affff457b041c2be9868a40c1c71f4a35fcc1e45e5493067b/pytest_cov-7.1.0-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/a5/26/c250c2c569adc53a8591716641388397bcb2a442e4a30b952ae81b50c0e0/ty-0.0.65-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/bb/1c/c6a7800406f987559fc8e7c2cfd257a5a68096e806e953f143b488e00e4f/prek-0.4.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/c3/d8/59894cf630d2d86882457a2a6a0a1533410c5c805bfbac6f6eb4b5aef69d/ruff-0.17.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - pypi: https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/fa/70/fffc9613501877c0a10a1ef73a165e6ded3e53f6e7502227fef56d973933/identify-2.6.20-py2.py3-none-any.whl py310: channels: - url: https://conda.anaconda.org/conda-forge/ + - url: https://prefix.dev/blooop/ indexes: - https://pypi.org/simple packages: @@ -69,6 +67,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-2_gnu.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/linux-64/bzip2-1.0.8-h4bc722e_7.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/ca-certificates-2024.8.30-hbcca054_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/gh-2.103.2-hfc2019e_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.43-h712a8e2_2.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-14.2.0-h77fa898_1.conda @@ -83,37 +82,32 @@ environments: - conda: https://conda.anaconda.org/conda-forge/linux-64/openssl-3.3.2-hb9d3cd8_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.10.15-h4a871b0_2_cpython.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/readline-8.2-h8228510_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/shellcheck-0.10.0-ha770c72_1.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/tk-8.6.13-noxft_h4845f30_101.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/xz-5.2.6-h166bdaf_0.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2024b-hc8b5060_0.conda + - conda: https://prefix.dev/blooop/linux-64/devpod-0.8.12-hb0f4dca_0.conda + - conda: https://prefix.dev/blooop/linux-64/ralph-orchestrator-2.6.0-hb0f4dca_0.conda - pypi: ./ + - pypi: https://files.pythonhosted.org/packages/01/f8/c151e196d4f397ed9436a071e52666c70a2f021138dea828b0a461e245db/hypothesis-6.155.7-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/05/db/5d9c91b2e1e2e72be1369278f696356d44975befcae830daf2e667dcb54f/numpy-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - pypi: https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/36/3b/48e79f2cd6a61dbbd4807b4ed46cb564b4fd50a76166b1c4ea5c1d9e2371/pytest_cov-6.0.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/3c/a6/bc1012356d8ece4d66dd75c4b9fc6c1f6650ddd5991e421177d9f8f671be/platformdirs-4.3.6-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/43/b3/df14c580d82b9627d173ceea305ba898dca135feb360b6d84019d0803d3b/pre_commit-4.1.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/54/c8/12811c9b48fde162bb72b6f2e78fada9a247a09d7bb5be2050a5d099c77b/nodeenv-1.11.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/60/91/1aa70d3dfcab0dbcf88a2cbc3bce7f7c69562287a90216e617eaa4937e25/python_discovery-1.6.4-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/6b/77/7440a06a8ead44c7757a64362dd22df5760f9b12dc5f11b6188cd2fc27a0/pytest-8.3.3-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/7a/1e/7acc4f0e74c4b3d9531e24739e0ab832a5edf40e64fbae1a9c01941cabd7/pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/7b/a2/97052c42f46fca976cf2d5d37ecf547062f2cb66f54a4f95442cf6610697/hypothesis-6.116.0-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/8d/95/565c310fffa16ede1a042e9ea1ca3962af0d8eb5543bc72df6b91dc0c3d5/coverage-7.6.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/a0/57/4642e57484d80d274750dcc872ea66655bbd7e66e986fede31e1865b463d/ruff-0.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/c1/2b/238f02a4927fa2e27aa995371d240a468b52e42eae44a678434aff736b38/distlib-0.4.4-py2.py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/9d/7a/d968e294073affff457b041c2be9868a40c1c71f4a35fcc1e45e5493067b/pytest_cov-7.1.0-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/a5/26/c250c2c569adc53a8591716641388397bcb2a442e4a30b952ae81b50c0e0/ty-0.0.65-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/bb/1c/c6a7800406f987559fc8e7c2cfd257a5a68096e806e953f143b488e00e4f/prek-0.4.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/c3/d8/59894cf630d2d86882457a2a6a0a1533410c5c805bfbac6f6eb4b5aef69d/ruff-0.17.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - pypi: https://files.pythonhosted.org/packages/cf/db/ce8eda256fa131af12e0a76d481711abe4681b6923c27efb9a255c9e4594/tomli-2.0.2-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/db/3c/33bac158f8ab7f89b2e59426d5fe2e4f63f7ed25df84c036890172b412b5/cfgv-3.5.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/df/93/084f10ebbecdedf7902ed68fbecc903f0e9c5742155bfffb05eccbc071da/virtualenv-21.14.5-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/ee/86/032133892a5de43b5a98200b01aadcad68cc255e274a762f08b8a76d2912/filelock-4.1.0-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/da/bb/e9ecea1307c6a549c223842cccbd5d55193cc27b82f26338782d4355047c/coverage-7.14.3-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl - pypi: https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/fa/70/fffc9613501877c0a10a1ef73a165e6ded3e53f6e7502227fef56d973933/identify-2.6.20-py2.py3-none-any.whl py311: channels: - url: https://conda.anaconda.org/conda-forge/ + - url: https://prefix.dev/blooop/ indexes: - https://pypi.org/simple packages: @@ -122,6 +116,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-2_gnu.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/linux-64/bzip2-1.0.8-h4bc722e_7.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/ca-certificates-2024.8.30-hbcca054_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/gh-2.103.2-hfc2019e_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.43-h712a8e2_2.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.3-h5888daf_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2 @@ -137,34 +132,30 @@ environments: - conda: https://conda.anaconda.org/conda-forge/linux-64/openssl-3.3.2-hb9d3cd8_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.11.10-hc5c86c4_3_cpython.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/readline-8.2-h8228510_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/shellcheck-0.10.0-ha770c72_1.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/tk-8.6.13-noxft_h4845f30_101.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/xz-5.2.6-h166bdaf_0.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2024b-hc8b5060_0.conda + - conda: https://prefix.dev/blooop/linux-64/devpod-0.8.12-hb0f4dca_0.conda + - conda: https://prefix.dev/blooop/linux-64/ralph-orchestrator-2.6.0-hb0f4dca_0.conda - pypi: ./ + - pypi: https://files.pythonhosted.org/packages/01/f8/c151e196d4f397ed9436a071e52666c70a2f021138dea828b0a461e245db/hypothesis-6.155.7-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/36/3b/48e79f2cd6a61dbbd4807b4ed46cb564b4fd50a76166b1c4ea5c1d9e2371/pytest_cov-6.0.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/3c/a6/bc1012356d8ece4d66dd75c4b9fc6c1f6650ddd5991e421177d9f8f671be/platformdirs-4.3.6-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/43/b3/df14c580d82b9627d173ceea305ba898dca135feb360b6d84019d0803d3b/pre_commit-4.1.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/54/c8/12811c9b48fde162bb72b6f2e78fada9a247a09d7bb5be2050a5d099c77b/nodeenv-1.11.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/60/91/1aa70d3dfcab0dbcf88a2cbc3bce7f7c69562287a90216e617eaa4937e25/python_discovery-1.6.4-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/6b/77/7440a06a8ead44c7757a64362dd22df5760f9b12dc5f11b6188cd2fc27a0/pytest-8.3.3-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/39/7f/117dd2ec65e4140576f8ef991d88220f9b806769f7a8c20e0550c0f924e2/coverage-7.14.3-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/7a/f0/80811e836484262b236c684a75dfc4ba0424bc670e765afaa911468d9f39/numpy-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/7b/a2/97052c42f46fca976cf2d5d37ecf547062f2cb66f54a4f95442cf6610697/hypothesis-6.116.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/a0/57/4642e57484d80d274750dcc872ea66655bbd7e66e986fede31e1865b463d/ruff-0.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/c1/2b/238f02a4927fa2e27aa995371d240a468b52e42eae44a678434aff736b38/distlib-0.4.4-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/cc/57/cb08f0eda0389a9a8aaa4fc1f9fec7ac361c3e2d68efd5890d7042c18aa3/coverage-7.6.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/db/3c/33bac158f8ab7f89b2e59426d5fe2e4f63f7ed25df84c036890172b412b5/cfgv-3.5.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/df/93/084f10ebbecdedf7902ed68fbecc903f0e9c5742155bfffb05eccbc071da/virtualenv-21.14.5-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/e0/1b/5e74289a1878e666bb4b65fe5805a04cafcac2aa5f519ef1ead67ef91c56/filelock-4.2.4-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/9d/7a/d968e294073affff457b041c2be9868a40c1c71f4a35fcc1e45e5493067b/pytest_cov-7.1.0-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/a5/26/c250c2c569adc53a8591716641388397bcb2a442e4a30b952ae81b50c0e0/ty-0.0.65-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/bb/1c/c6a7800406f987559fc8e7c2cfd257a5a68096e806e953f143b488e00e4f/prek-0.4.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/c3/d8/59894cf630d2d86882457a2a6a0a1533410c5c805bfbac6f6eb4b5aef69d/ruff-0.17.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - pypi: https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/fa/70/fffc9613501877c0a10a1ef73a165e6ded3e53f6e7502227fef56d973933/identify-2.6.20-py2.py3-none-any.whl py312: channels: - url: https://conda.anaconda.org/conda-forge/ + - url: https://prefix.dev/blooop/ indexes: - https://pypi.org/simple packages: @@ -173,6 +164,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-2_gnu.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/linux-64/bzip2-1.0.8-h4bc722e_7.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/ca-certificates-2024.8.30-hbcca054_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/gh-2.103.2-hfc2019e_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.43-h712a8e2_2.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.3-h5888daf_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2 @@ -188,34 +180,30 @@ environments: - conda: https://conda.anaconda.org/conda-forge/linux-64/openssl-3.3.2-hb9d3cd8_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.12.7-hc5c86c4_0_cpython.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/readline-8.2-h8228510_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/shellcheck-0.10.0-ha770c72_1.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/tk-8.6.13-noxft_h4845f30_101.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/xz-5.2.6-h166bdaf_0.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2024b-hc8b5060_0.conda + - conda: https://prefix.dev/blooop/linux-64/devpod-0.8.12-hb0f4dca_0.conda + - conda: https://prefix.dev/blooop/linux-64/ralph-orchestrator-2.6.0-hb0f4dca_0.conda - pypi: ./ + - pypi: https://files.pythonhosted.org/packages/01/f8/c151e196d4f397ed9436a071e52666c70a2f021138dea828b0a461e245db/hypothesis-6.155.7-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/06/c2/05b8c890097c61a7f4406b35396b997a635200ded0339eda83dfbe526c5f/coverage-7.14.3-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl - pypi: https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/36/3b/48e79f2cd6a61dbbd4807b4ed46cb564b4fd50a76166b1c4ea5c1d9e2371/pytest_cov-6.0.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/3c/a6/bc1012356d8ece4d66dd75c4b9fc6c1f6650ddd5991e421177d9f8f671be/platformdirs-4.3.6-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/43/b3/df14c580d82b9627d173ceea305ba898dca135feb360b6d84019d0803d3b/pre_commit-4.1.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/54/c8/12811c9b48fde162bb72b6f2e78fada9a247a09d7bb5be2050a5d099c77b/nodeenv-1.11.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/60/91/1aa70d3dfcab0dbcf88a2cbc3bce7f7c69562287a90216e617eaa4937e25/python_discovery-1.6.4-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/6b/77/7440a06a8ead44c7757a64362dd22df5760f9b12dc5f11b6188cd2fc27a0/pytest-8.3.3-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/7b/a2/97052c42f46fca976cf2d5d37ecf547062f2cb66f54a4f95442cf6610697/hypothesis-6.116.0-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/9d/7a/d968e294073affff457b041c2be9868a40c1c71f4a35fcc1e45e5493067b/pytest_cov-7.1.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/9e/3e/3757f304c704f2f0294a6b8340fcf2be244038be07da4cccf390fa678a9f/numpy-2.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/a0/57/4642e57484d80d274750dcc872ea66655bbd7e66e986fede31e1865b463d/ruff-0.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/c0/70/6b0627e5bd68204ee580126ed3513140b2298995c1233bd67404b4e44d0e/coverage-7.6.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/c1/2b/238f02a4927fa2e27aa995371d240a468b52e42eae44a678434aff736b38/distlib-0.4.4-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/db/3c/33bac158f8ab7f89b2e59426d5fe2e4f63f7ed25df84c036890172b412b5/cfgv-3.5.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/df/93/084f10ebbecdedf7902ed68fbecc903f0e9c5742155bfffb05eccbc071da/virtualenv-21.14.5-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/e0/1b/5e74289a1878e666bb4b65fe5805a04cafcac2aa5f519ef1ead67ef91c56/filelock-4.2.4-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/a5/26/c250c2c569adc53a8591716641388397bcb2a442e4a30b952ae81b50c0e0/ty-0.0.65-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/bb/1c/c6a7800406f987559fc8e7c2cfd257a5a68096e806e953f143b488e00e4f/prek-0.4.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/c3/d8/59894cf630d2d86882457a2a6a0a1533410c5c805bfbac6f6eb4b5aef69d/ruff-0.17.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - pypi: https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/fa/70/fffc9613501877c0a10a1ef73a165e6ded3e53f6e7502227fef56d973933/identify-2.6.20-py2.py3-none-any.whl py313: channels: - url: https://conda.anaconda.org/conda-forge/ + - url: https://prefix.dev/blooop/ indexes: - https://pypi.org/simple packages: @@ -224,6 +212,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-2_gnu.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/linux-64/bzip2-1.0.8-h4bc722e_7.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/ca-certificates-2024.8.30-hbcca054_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/gh-2.103.2-hfc2019e_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.43-h712a8e2_2.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.3-h5888daf_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2 @@ -239,31 +228,26 @@ environments: - conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.13.0-h9ebbce0_100_cp313.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/python_abi-3.13-5_cp313.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/readline-8.2-h8228510_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/shellcheck-0.10.0-ha770c72_1.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/tk-8.6.13-noxft_h4845f30_101.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/xz-5.2.6-h166bdaf_0.tar.bz2 - conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2024b-hc8b5060_0.conda + - conda: https://prefix.dev/blooop/linux-64/devpod-0.8.12-hb0f4dca_0.conda + - conda: https://prefix.dev/blooop/linux-64/ralph-orchestrator-2.6.0-hb0f4dca_0.conda - pypi: ./ + - pypi: https://files.pythonhosted.org/packages/01/f8/c151e196d4f397ed9436a071e52666c70a2f021138dea828b0a461e245db/hypothesis-6.155.7-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/36/3b/48e79f2cd6a61dbbd4807b4ed46cb564b4fd50a76166b1c4ea5c1d9e2371/pytest_cov-6.0.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/3c/a6/bc1012356d8ece4d66dd75c4b9fc6c1f6650ddd5991e421177d9f8f671be/platformdirs-4.3.6-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/43/b3/df14c580d82b9627d173ceea305ba898dca135feb360b6d84019d0803d3b/pre_commit-4.1.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/54/c8/12811c9b48fde162bb72b6f2e78fada9a247a09d7bb5be2050a5d099c77b/nodeenv-1.11.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/60/91/1aa70d3dfcab0dbcf88a2cbc3bce7f7c69562287a90216e617eaa4937e25/python_discovery-1.6.4-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/6b/77/7440a06a8ead44c7757a64362dd22df5760f9b12dc5f11b6188cd2fc27a0/pytest-8.3.3-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/70/50/73f9a5aa0810cdccda9c1d20be3cbe4a4d6ea6bfd6931464a44c95eef731/numpy-2.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/7b/a2/97052c42f46fca976cf2d5d37ecf547062f2cb66f54a4f95442cf6610697/hypothesis-6.116.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/7f/f8/4436a643631a2fbab4b44d54f515028f6099bfb1cd95b13cfbf701e7f2f2/coverage-7.6.4-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/82/50/dfce42eff2cecabcd5a9bbad5489449c87db3415f408d23ffee417ce01f6/coverage-7.14.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl - pypi: https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/a0/57/4642e57484d80d274750dcc872ea66655bbd7e66e986fede31e1865b463d/ruff-0.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/c1/2b/238f02a4927fa2e27aa995371d240a468b52e42eae44a678434aff736b38/distlib-0.4.4-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/db/3c/33bac158f8ab7f89b2e59426d5fe2e4f63f7ed25df84c036890172b412b5/cfgv-3.5.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/df/93/084f10ebbecdedf7902ed68fbecc903f0e9c5742155bfffb05eccbc071da/virtualenv-21.14.5-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/e0/1b/5e74289a1878e666bb4b65fe5805a04cafcac2aa5f519ef1ead67ef91c56/filelock-4.2.4-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/9d/7a/d968e294073affff457b041c2be9868a40c1c71f4a35fcc1e45e5493067b/pytest_cov-7.1.0-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/a5/26/c250c2c569adc53a8591716641388397bcb2a442e4a30b952ae81b50c0e0/ty-0.0.65-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/bb/1c/c6a7800406f987559fc8e7c2cfd257a5a68096e806e953f143b488e00e4f/prek-0.4.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + - pypi: https://files.pythonhosted.org/packages/c3/d8/59894cf630d2d86882457a2a6a0a1533410c5c805bfbac6f6eb4b5aef69d/ruff-0.17.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - pypi: https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/fa/70/fffc9613501877c0a10a1ef73a165e6ded3e53f6e7502227fef56d973933/identify-2.6.20-py2.py3-none-any.whl packages: - conda: https://conda.anaconda.org/conda-forge/linux-64/_libgcc_mutex-0.1-conda_forge.tar.bz2 sha256: fe51de6107f9edc7aa4f786a70f4a883943bc9d39b3bb7307c04c41410990726 @@ -304,6 +288,15 @@ packages: purls: [] size: 159003 timestamp: 1725018903918 +- conda: https://conda.anaconda.org/conda-forge/linux-64/gh-2.103.2-hfc2019e_0.conda + sha256: a99950b886c11726015ea167f946fe416547575ea62e6b8d11aa6e40c581d766 + md5: 6c8c3c6713b480a29662cac4ce816626 + license: Apache-2.0 + license_family: APACHE + purls: [] + run_exports: {} + size: 13729719 + timestamp: 1792803664991 - conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.43-h712a8e2_2.conda sha256: 7c91cea91b13f4314d125d1bedb9d03a29ebbd5080ccdea70260363424646dbe md5: 048b02e3962f066da18efe3a21b77672 @@ -589,6 +582,15 @@ packages: purls: [] size: 281456 timestamp: 1679532220005 +- conda: https://conda.anaconda.org/conda-forge/linux-64/shellcheck-0.10.0-ha770c72_1.conda + sha256: 0f20aee02b458776c6003def9598dd73560b95dd21303ca7fda054316dddb5ef + md5: 1b4f8a41ced6f4a8872aa6fc83f25612 + license: GPL-3.0-only + license_family: GPL + purls: [] + run_exports: {} + size: 2599352 + timestamp: 1790684946476 - conda: https://conda.anaconda.org/conda-forge/linux-64/tk-8.6.13-noxft_h4845f30_101.conda sha256: e0569c9caa68bf476bead1bed3d79650bb080b532c64a4af7d8ca286c08dea4e md5: d453b98d9c83e71da0741bb0ff4d76bc @@ -616,15 +618,74 @@ packages: purls: [] size: 122354 timestamp: 1728047496079 +- conda: https://prefix.dev/blooop/linux-64/devpod-0.8.12-hb0f4dca_0.conda + sha256: bb6fd40fda5500c6b29ba56c0b2108e12aa1a8e63b106c084a95123a511e8564 + license: MPL-2.0 + license_family: MOZILLA + run_exports: {} + size: 27468597 + timestamp: 1767671008593 +- conda: https://prefix.dev/blooop/linux-64/ralph-orchestrator-2.6.0-hb0f4dca_0.conda + sha256: 701849bf71dce7e5225a2cb0714a079f25ce17763c8b751f6f1c36e1434dcd5a + md5: 3d23dee3d7a5cefb136c26c9dd2d8d21 + license: MIT + license_family: MIT + run_exports: {} + size: 6527009 + timestamp: 1771993517565 - pypi: ./ name: python-template requires_dist: - - pytest-cov>=4.1,<=6.0.0 ; extra == 'test' - - pytest>=7.4,<=8.3.4 ; extra == 'test' - - hypothesis>=6.104.2,<=6.124.9 ; extra == 'test' - - ruff>=0.5.0,<=0.9.4 ; extra == 'test' - - coverage>=7.5.4,<=7.6.10 ; extra == 'test' - - pre-commit<=4.1.0 ; extra == 'test' + - pytest-cov<=7.1.0,>=7.1.0 ; extra == 'test' + - pytest<=9.1.1,>=9.1.1 ; extra == 'test' + - hypothesis<=6.155.7,>=6.155.7 ; extra == 'test' + - ruff==0.17.2 ; extra == 'test' + - coverage<=7.14.3,>=7.14.3 ; extra == 'test' + - prek>=0.4.6,<0.5.0 ; extra == 'test' + - ty<=0.0.65,>=0.0.65 ; extra == 'test' +- pypi: https://files.pythonhosted.org/packages/01/f8/c151e196d4f397ed9436a071e52666c70a2f021138dea828b0a461e245db/hypothesis-6.155.7-py3-none-any.whl + name: hypothesis + version: 6.155.7 + sha256: 9f634bdb1f9e9b8ab6ba09431cf2deedb750c96978125a6fb3c5a0f6c6db4131 + requires_dist: + - exceptiongroup>=1.0.0 ; python_full_version < '3.11' + - sortedcontainers>=2.1.0,<3.0.0 + - click>=7.0 ; extra == 'cli' + - black>=20.8b0 ; extra == 'cli' + - rich>=9.0.0 ; extra == 'cli' + - libcst>=0.3.16 ; extra == 'codemods' + - black>=20.8b0 ; extra == 'ghostwriter' + - pytz>=2014.1 ; extra == 'pytz' + - python-dateutil>=1.4 ; extra == 'dateutil' + - lark>=0.10.1 ; extra == 'lark' + - numpy>=1.21.6 ; extra == 'numpy' + - pandas>=1.1 ; extra == 'pandas' + - pytest>=4.6 ; extra == 'pytest' + - dpcontracts>=0.4 ; extra == 'dpcontracts' + - redis>=3.0.0 ; extra == 'redis' + - hypothesis-crosshair>=0.0.28 ; extra == 'crosshair' + - crosshair-tool>=0.0.106 ; extra == 'crosshair' + - tzdata>=2026.2 ; (sys_platform == 'emscripten' and extra == 'zoneinfo') or (sys_platform == 'win32' and extra == 'zoneinfo') + - django>=5.2 ; extra == 'django' + - watchdog>=4.0.0 ; extra == 'watchdog' + - black>=20.8b0 ; extra == 'all' + - click>=7.0 ; extra == 'all' + - crosshair-tool>=0.0.106 ; extra == 'all' + - django>=5.2 ; extra == 'all' + - dpcontracts>=0.4 ; extra == 'all' + - hypothesis-crosshair>=0.0.28 ; extra == 'all' + - lark>=0.10.1 ; extra == 'all' + - libcst>=0.3.16 ; extra == 'all' + - numpy>=1.21.6 ; extra == 'all' + - pandas>=1.1 ; extra == 'all' + - pytest>=4.6 ; extra == 'all' + - python-dateutil>=1.4 ; extra == 'all' + - pytz>=2014.1 ; extra == 'all' + - redis>=3.0.0 ; extra == 'all' + - rich>=9.0.0 ; extra == 'all' + - tzdata>=2026.2 ; (sys_platform == 'emscripten' and extra == 'all') or (sys_platform == 'win32' and extra == 'all') + - watchdog>=4.0.0 ; extra == 'all' + requires_python: '>=3.10' - pypi: https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl name: exceptiongroup version: 1.2.2 @@ -637,215 +698,73 @@ packages: version: 2.1.3 sha256: 78574ac2d1a4a02421f25da9559850d59457bac82f2b8d7a44fe83a64f770098 requires_python: '>=3.10' +- pypi: https://files.pythonhosted.org/packages/06/c2/05b8c890097c61a7f4406b35396b997a635200ded0339eda83dfbe526c5f/coverage-7.14.3-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl + name: coverage + version: 7.14.3 + sha256: 621e13c6108234d7960aaf5762ab5c3c00f33c30c15af06dcbff0c73bf112727 + requires_dist: + - tomli ; python_full_version <= '3.11' and extra == 'toml' + requires_python: '>=3.10' - pypi: https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl name: packaging version: '24.1' sha256: 5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124 requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl - name: sortedcontainers - version: 2.4.0 - sha256: a163dcaede0f1c021485e957a39245190e74249897e2ae4b2aa38595db237ee0 -- pypi: https://files.pythonhosted.org/packages/36/3b/48e79f2cd6a61dbbd4807b4ed46cb564b4fd50a76166b1c4ea5c1d9e2371/pytest_cov-6.0.0-py3-none-any.whl - name: pytest-cov - version: 6.0.0 - sha256: eee6f1b9e61008bd34975a4d5bab25801eb31898b032dd55addc93e96fcaaa35 - requires_dist: - - pytest>=4.6 - - coverage[toml]>=7.5 - - fields ; extra == 'testing' - - hunter ; extra == 'testing' - - process-tests ; extra == 'testing' - - pytest-xdist ; extra == 'testing' - - virtualenv ; extra == 'testing' - requires_python: '>=3.9' -- pypi: https://files.pythonhosted.org/packages/3c/a6/bc1012356d8ece4d66dd75c4b9fc6c1f6650ddd5991e421177d9f8f671be/platformdirs-4.3.6-py3-none-any.whl - name: platformdirs - version: 4.3.6 - sha256: 73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb - requires_dist: - - furo>=2024.8.6 ; extra == 'docs' - - proselint>=0.14 ; extra == 'docs' - - sphinx-autodoc-typehints>=2.4 ; extra == 'docs' - - sphinx>=8.0.2 ; extra == 'docs' - - appdirs==1.4.4 ; extra == 'test' - - covdefaults>=2.3 ; extra == 'test' - - pytest-cov>=5 ; extra == 'test' - - pytest-mock>=3.14 ; extra == 'test' - - pytest>=8.3.2 ; extra == 'test' - - mypy>=1.11.2 ; extra == 'type' - requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/43/b3/df14c580d82b9627d173ceea305ba898dca135feb360b6d84019d0803d3b/pre_commit-4.1.0-py2.py3-none-any.whl - name: pre-commit - version: 4.1.0 - sha256: d29e7cb346295bcc1cc75fc3e92e343495e3ea0196c9ec6ba53f49f10ab6ae7b - requires_dist: - - cfgv>=2.0.0 - - identify>=1.0.0 - - nodeenv>=0.11.1 - - pyyaml>=5.1 - - virtualenv>=20.10.0 - requires_python: '>=3.9' -- pypi: https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl - name: typing-extensions - version: 4.16.0 - sha256: 481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 - requires_python: '>=3.9' -- pypi: https://files.pythonhosted.org/packages/54/c8/12811c9b48fde162bb72b6f2e78fada9a247a09d7bb5be2050a5d099c77b/nodeenv-1.11.0-py2.py3-none-any.whl - name: nodeenv - version: 1.11.0 - sha256: edaa16e6c14d7cf395d75d4bbd5a26390f4dc06501a33b4e76282b02cc688a25 - requires_dist: - - certifi ; extra == 'certifi' - requires_python: '>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*' -- pypi: https://files.pythonhosted.org/packages/60/91/1aa70d3dfcab0dbcf88a2cbc3bce7f7c69562287a90216e617eaa4937e25/python_discovery-1.6.4-py3-none-any.whl - name: python-discovery - version: 1.6.4 - sha256: 530179cc51a1816d512b15635b3dc931295ae12efb183783ad31190a5d425d2b - requires_dist: - - filelock>=3.16.1 - requires_python: '>=3.9' -- pypi: https://files.pythonhosted.org/packages/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl - name: attrs - version: 24.2.0 - sha256: 81921eb96de3191c8258c199618104dd27ac608d9366f5e35d011eae1867ede2 - requires_dist: - - importlib-metadata ; python_full_version < '3.8' - - cloudpickle ; platform_python_implementation == 'CPython' and extra == 'benchmark' - - hypothesis ; extra == 'benchmark' - - mypy>=1.11.1 ; python_full_version >= '3.9' and platform_python_implementation == 'CPython' and extra == 'benchmark' - - pympler ; extra == 'benchmark' - - pytest-codspeed ; extra == 'benchmark' - - pytest-mypy-plugins ; python_full_version >= '3.9' and python_full_version < '3.13' and platform_python_implementation == 'CPython' and extra == 'benchmark' - - pytest-xdist[psutil] ; extra == 'benchmark' - - pytest>=4.3.0 ; extra == 'benchmark' - - cloudpickle ; platform_python_implementation == 'CPython' and extra == 'cov' - - coverage[toml]>=5.3 ; extra == 'cov' - - hypothesis ; extra == 'cov' - - mypy>=1.11.1 ; python_full_version >= '3.9' and platform_python_implementation == 'CPython' and extra == 'cov' - - pympler ; extra == 'cov' - - pytest-mypy-plugins ; python_full_version >= '3.9' and python_full_version < '3.13' and platform_python_implementation == 'CPython' and extra == 'cov' - - pytest-xdist[psutil] ; extra == 'cov' - - pytest>=4.3.0 ; extra == 'cov' - - cloudpickle ; platform_python_implementation == 'CPython' and extra == 'dev' - - hypothesis ; extra == 'dev' - - mypy>=1.11.1 ; python_full_version >= '3.9' and platform_python_implementation == 'CPython' and extra == 'dev' - - pre-commit ; extra == 'dev' - - pympler ; extra == 'dev' - - pytest-mypy-plugins ; python_full_version >= '3.9' and python_full_version < '3.13' and platform_python_implementation == 'CPython' and extra == 'dev' - - pytest-xdist[psutil] ; extra == 'dev' - - pytest>=4.3.0 ; extra == 'dev' - - cogapp ; extra == 'docs' - - furo ; extra == 'docs' - - myst-parser ; extra == 'docs' - - sphinx ; extra == 'docs' - - sphinx-notfound-page ; extra == 'docs' - - sphinxcontrib-towncrier ; extra == 'docs' - - towncrier<24.7 ; extra == 'docs' - - cloudpickle ; platform_python_implementation == 'CPython' and extra == 'tests' - - hypothesis ; extra == 'tests' - - mypy>=1.11.1 ; python_full_version >= '3.9' and platform_python_implementation == 'CPython' and extra == 'tests' - - pympler ; extra == 'tests' - - pytest-mypy-plugins ; python_full_version >= '3.9' and python_full_version < '3.13' and platform_python_implementation == 'CPython' and extra == 'tests' - - pytest-xdist[psutil] ; extra == 'tests' - - pytest>=4.3.0 ; extra == 'tests' - - mypy>=1.11.1 ; python_full_version >= '3.9' and platform_python_implementation == 'CPython' and extra == 'tests-mypy' - - pytest-mypy-plugins ; python_full_version >= '3.9' and python_full_version < '3.13' and platform_python_implementation == 'CPython' and extra == 'tests-mypy' - requires_python: '>=3.7' -- pypi: https://files.pythonhosted.org/packages/6b/77/7440a06a8ead44c7757a64362dd22df5760f9b12dc5f11b6188cd2fc27a0/pytest-8.3.3-py3-none-any.whl +- pypi: https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl name: pytest - version: 8.3.3 - sha256: a6853c7375b2663155079443d2e45de913a911a11d669df02a50814944db57b2 + version: 9.1.1 + sha256: 37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c requires_dist: - - iniconfig - - packaging + - colorama>=0.4 ; sys_platform == 'win32' + - exceptiongroup>=1 ; python_full_version < '3.11' + - iniconfig>=1.0.1 + - packaging>=22 - pluggy>=1.5,<2 - - exceptiongroup>=1.0.0rc8 ; python_full_version < '3.11' + - pygments>=2.7.2 - tomli>=1 ; python_full_version < '3.11' - - colorama ; sys_platform == 'win32' - argcomplete ; extra == 'dev' - attrs>=19.2 ; extra == 'dev' - hypothesis>=3.56 ; extra == 'dev' - mock ; extra == 'dev' - - pygments>=2.7.2 ; extra == 'dev' - requests ; extra == 'dev' - setuptools ; extra == 'dev' - xmlschema ; extra == 'dev' - requires_python: '>=3.8' + requires_python: '>=3.10' +- pypi: https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl + name: sortedcontainers + version: 2.4.0 + sha256: a163dcaede0f1c021485e957a39245190e74249897e2ae4b2aa38595db237ee0 +- pypi: https://files.pythonhosted.org/packages/39/7f/117dd2ec65e4140576f8ef991d88220f9b806769f7a8c20e0550c0f924e2/coverage-7.14.3-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl + name: coverage + version: 7.14.3 + sha256: fbb8c3a98e779013786ae01d229662aeacbc77100efbd3f2f245219ace5af700 + requires_dist: + - tomli ; python_full_version <= '3.11' and extra == 'toml' + requires_python: '>=3.10' - pypi: https://files.pythonhosted.org/packages/70/50/73f9a5aa0810cdccda9c1d20be3cbe4a4d6ea6bfd6931464a44c95eef731/numpy-2.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl name: numpy version: 2.1.3 sha256: 5641516794ca9e5f8a4d17bb45446998c6554704d888f86df9b200e66bdcce56 requires_python: '>=3.10' -- pypi: https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl - name: pyyaml - version: 6.0.3 - sha256: b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d - requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl - name: pyyaml - version: 6.0.3 - sha256: 0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6 - requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/7a/1e/7acc4f0e74c4b3d9531e24739e0ab832a5edf40e64fbae1a9c01941cabd7/pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl - name: pyyaml - version: 6.0.3 - sha256: 9c7708761fccb9397fe64bbc0395abcae8c4bf7b0eac081e12b809bf47700d0b - requires_python: '>=3.8' +- pypi: https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl + name: pygments + version: 2.21.0 + sha256: 2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9 + requires_dist: + - colorama>=0.4.6 ; extra == 'windows-terminal' + requires_python: '>=3.9' - pypi: https://files.pythonhosted.org/packages/7a/f0/80811e836484262b236c684a75dfc4ba0424bc670e765afaa911468d9f39/numpy-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl name: numpy version: 2.1.3 sha256: bc6f24b3d1ecc1eebfbf5d6051faa49af40b03be1aaa781ebdadcbc090b4539b requires_python: '>=3.10' -- pypi: https://files.pythonhosted.org/packages/7b/a2/97052c42f46fca976cf2d5d37ecf547062f2cb66f54a4f95442cf6610697/hypothesis-6.116.0-py3-none-any.whl - name: hypothesis - version: 6.116.0 - sha256: d30271214eae0d4758b72b408e9777405c7c7f687e14e8a42853adea887b2891 - requires_dist: - - attrs>=22.2.0 - - sortedcontainers>=2.1.0,<3.0.0 - - exceptiongroup>=1.0.0 ; python_full_version < '3.11' - - black>=19.10b0 ; extra == 'all' - - click>=7.0 ; extra == 'all' - - crosshair-tool>=0.0.74 ; extra == 'all' - - django>=4.2 ; extra == 'all' - - dpcontracts>=0.4 ; extra == 'all' - - hypothesis-crosshair>=0.0.16 ; extra == 'all' - - lark>=0.10.1 ; extra == 'all' - - libcst>=0.3.16 ; extra == 'all' - - numpy>=1.19.3 ; extra == 'all' - - pandas>=1.1 ; extra == 'all' - - pytest>=4.6 ; extra == 'all' - - python-dateutil>=1.4 ; extra == 'all' - - pytz>=2014.1 ; extra == 'all' - - redis>=3.0.0 ; extra == 'all' - - rich>=9.0.0 ; extra == 'all' - - tzdata>=2024.2 ; (sys_platform == 'emscripten' and extra == 'all') or (sys_platform == 'win32' and extra == 'all') - - click>=7.0 ; extra == 'cli' - - black>=19.10b0 ; extra == 'cli' - - rich>=9.0.0 ; extra == 'cli' - - libcst>=0.3.16 ; extra == 'codemods' - - hypothesis-crosshair>=0.0.16 ; extra == 'crosshair' - - crosshair-tool>=0.0.74 ; extra == 'crosshair' - - python-dateutil>=1.4 ; extra == 'dateutil' - - django>=4.2 ; extra == 'django' - - dpcontracts>=0.4 ; extra == 'dpcontracts' - - black>=19.10b0 ; extra == 'ghostwriter' - - lark>=0.10.1 ; extra == 'lark' - - numpy>=1.19.3 ; extra == 'numpy' - - pandas>=1.1 ; extra == 'pandas' - - pytest>=4.6 ; extra == 'pytest' - - pytz>=2014.1 ; extra == 'pytz' - - redis>=3.0.0 ; extra == 'redis' - - tzdata>=2024.2 ; (sys_platform == 'emscripten' and extra == 'zoneinfo') or (sys_platform == 'win32' and extra == 'zoneinfo') - requires_python: '>=3.9' -- pypi: https://files.pythonhosted.org/packages/7f/f8/4436a643631a2fbab4b44d54f515028f6099bfb1cd95b13cfbf701e7f2f2/coverage-7.6.4-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl +- pypi: https://files.pythonhosted.org/packages/82/50/dfce42eff2cecabcd5a9bbad5489449c87db3415f408d23ffee417ce01f6/coverage-7.14.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl name: coverage - version: 7.6.4 - sha256: dacbc52de979f2823a819571f2e3a350a7e36b8cb7484cdb1e289bceaf35305f + version: 7.14.3 + sha256: 98a0859b0e98e43e1178a9402e19c8127766b14f7109a374d976e5a62c0e5c73 requires_dist: - tomli ; python_full_version <= '3.11' and extra == 'toml' - requires_python: '>=3.9' + requires_python: '>=3.10' - pypi: https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl name: pluggy version: 1.5.0 @@ -856,88 +775,52 @@ packages: - pytest ; extra == 'testing' - pytest-benchmark ; extra == 'testing' requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl - name: pyyaml - version: 6.0.3 - sha256: ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc - requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/8d/95/565c310fffa16ede1a042e9ea1ca3962af0d8eb5543bc72df6b91dc0c3d5/coverage-7.6.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl - name: coverage - version: 7.6.4 - sha256: 0809082ee480bb8f7416507538243c8863ac74fd8a5d2485c46f0f7499f2b491 +- pypi: https://files.pythonhosted.org/packages/9d/7a/d968e294073affff457b041c2be9868a40c1c71f4a35fcc1e45e5493067b/pytest_cov-7.1.0-py3-none-any.whl + name: pytest-cov + version: 7.1.0 + sha256: a0461110b7865f9a271aa1b51e516c9a95de9d696734a2f71e3e78f46e1d4678 requires_dist: - - tomli ; python_full_version <= '3.11' and extra == 'toml' + - coverage[toml]>=7.10.6 + - pluggy>=1.2 + - pytest>=7 + - process-tests ; extra == 'testing' + - pytest-xdist ; extra == 'testing' + - virtualenv ; extra == 'testing' requires_python: '>=3.9' - pypi: https://files.pythonhosted.org/packages/9e/3e/3757f304c704f2f0294a6b8340fcf2be244038be07da4cccf390fa678a9f/numpy-2.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl name: numpy version: 2.1.3 sha256: 2312b2aa89e1f43ecea6da6ea9a810d06aae08321609d8dc0d0eda6d946a541b requires_python: '>=3.10' -- pypi: https://files.pythonhosted.org/packages/a0/57/4642e57484d80d274750dcc872ea66655bbd7e66e986fede31e1865b463d/ruff-0.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +- pypi: https://files.pythonhosted.org/packages/a5/26/c250c2c569adc53a8591716641388397bcb2a442e4a30b952ae81b50c0e0/ty-0.0.65-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + name: ty + version: 0.0.65 + sha256: 5a75bd0c245c38802a8f488378e74f92feb7dd33db7d63fbdd6fdf82791ba730 + requires_python: '>=3.8' +- pypi: https://files.pythonhosted.org/packages/bb/1c/c6a7800406f987559fc8e7c2cfd257a5a68096e806e953f143b488e00e4f/prek-0.4.14-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + name: prek + version: 0.4.14 + sha256: 34169cb1c8dfbe4b9cb7af164f5c1c3dff68929c61ca1e1de28d378b32720836 + requires_python: '>=3.8' +- pypi: https://files.pythonhosted.org/packages/c3/d8/59894cf630d2d86882457a2a6a0a1533410c5c805bfbac6f6eb4b5aef69d/ruff-0.17.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl name: ruff - version: 0.7.2 - sha256: dba53ed84ac19ae4bfb4ea4bf0172550a2285fa27fbb13e3746f04c80f7fa088 + version: 0.17.2 + sha256: c60f93fec7142dba5b8f487f94bf2f6231dae24dc11e4c48648347c8b0720004 requires_python: '>=3.7' -- pypi: https://files.pythonhosted.org/packages/c0/70/6b0627e5bd68204ee580126ed3513140b2298995c1233bd67404b4e44d0e/coverage-7.6.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl - name: coverage - version: 7.6.4 - sha256: 5915fcdec0e54ee229926868e9b08586376cae1f5faa9bbaf8faf3561b393d52 - requires_dist: - - tomli ; python_full_version <= '3.11' and extra == 'toml' - requires_python: '>=3.9' -- pypi: https://files.pythonhosted.org/packages/c1/2b/238f02a4927fa2e27aa995371d240a468b52e42eae44a678434aff736b38/distlib-0.4.4-py2.py3-none-any.whl - name: distlib - version: 0.4.4 - sha256: cf09d55b1e85a89576b036aeb71550bfd68320f3f21761ca329eadadad918638 -- pypi: https://files.pythonhosted.org/packages/cc/57/cb08f0eda0389a9a8aaa4fc1f9fec7ac361c3e2d68efd5890d7042c18aa3/coverage-7.6.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl - name: coverage - version: 7.6.4 - sha256: b369ead6527d025a0fe7bd3864e46dbee3aa8f652d48df6174f8d0bac9e26e0e - requires_dist: - - tomli ; python_full_version <= '3.11' and extra == 'toml' - requires_python: '>=3.9' - pypi: https://files.pythonhosted.org/packages/cf/db/ce8eda256fa131af12e0a76d481711abe4681b6923c27efb9a255c9e4594/tomli-2.0.2-py3-none-any.whl name: tomli version: 2.0.2 sha256: 2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38 requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/db/3c/33bac158f8ab7f89b2e59426d5fe2e4f63f7ed25df84c036890172b412b5/cfgv-3.5.0-py2.py3-none-any.whl - name: cfgv - version: 3.5.0 - sha256: a8dc6b26ad22ff227d2634a65cb388215ce6cc96bbcc5cfde7641ae87e8dacc0 - requires_python: '>=3.10' -- pypi: https://files.pythonhosted.org/packages/df/93/084f10ebbecdedf7902ed68fbecc903f0e9c5742155bfffb05eccbc071da/virtualenv-21.14.5-py3-none-any.whl - name: virtualenv - version: 21.14.5 - sha256: b0651e0174982bba17cc6f0aaa2ef496730cb85a3f35eb5d1119d1c904f7d1da +- pypi: https://files.pythonhosted.org/packages/da/bb/e9ecea1307c6a549c223842cccbd5d55193cc27b82f26338782d4355047c/coverage-7.14.3-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl + name: coverage + version: 7.14.3 + sha256: a64caee2193563601dbaaa55fe2dcf597debef04a2f8f1fa8a07aa4bb7ac7a1e requires_dist: - - distlib>=0.3.7,<1 - - filelock>=3.24.2,<5 ; python_full_version >= '3.10' - - filelock>=3.16.1,<=3.19.1 ; python_full_version < '3.10' - - packaging>=23.1 - - platformdirs>=3.9.1,<5 - - python-discovery>=1.6 - - typing-extensions>=4.13.2 ; python_full_version < '3.11' - requires_python: '>=3.9' -- pypi: https://files.pythonhosted.org/packages/e0/1b/5e74289a1878e666bb4b65fe5805a04cafcac2aa5f519ef1ead67ef91c56/filelock-4.2.4-py3-none-any.whl - name: filelock - version: 4.2.4 - sha256: 301241438c57936ef93f4243a94f2559022268bfcf9b375a9a72eb0f8db8358e - requires_python: '>=3.11' -- pypi: https://files.pythonhosted.org/packages/ee/86/032133892a5de43b5a98200b01aadcad68cc255e274a762f08b8a76d2912/filelock-4.1.0-py3-none-any.whl - name: filelock - version: 4.1.0 - sha256: 2ce9818e3e2d8f284c1a964414447ef148d42a5fd5e2a477a7118e574b293ec1 + - tomli ; python_full_version <= '3.11' and extra == 'toml' requires_python: '>=3.10' - pypi: https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl name: iniconfig version: 2.0.0 sha256: b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 requires_python: '>=3.7' -- pypi: https://files.pythonhosted.org/packages/fa/70/fffc9613501877c0a10a1ef73a165e6ded3e53f6e7502227fef56d973933/identify-2.6.20-py2.py3-none-any.whl - name: identify - version: 2.6.20 - sha256: 6a16b69b93187244e0548cbfd25b3e4a6f9a7a2ad784625c3bec2b8d27b81aaa - requires_dist: - - ukkonen ; extra == 'license' - requires_python: '>=3.10' diff --git a/pyproject.toml b/pyproject.toml index 4220d71..18a7c32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,11 +13,15 @@ Source = "https://github.com/blooop/python_template" Home = "https://github.com/blooop/python_template" [tool.pixi.workspace] -channels = ["conda-forge"] +channels = ["conda-forge", "https://prefix.dev/blooop"] platforms = ["linux-64"] [tool.pixi.dependencies] python = ">=3.10" +shellcheck = ">=0.10.0,<0.11" +devpod = ">=0.8.0,<0.9" +gh = ">=2.83.0,<3.0" +ralph-orchestrator = ">=2.6.0,<2.7.0" [tool.pixi.feature.py310.dependencies] python = "3.10.*" @@ -28,7 +32,6 @@ python = "3.12.*" [tool.pixi.feature.py313.dependencies] python = "3.13.*" - [tool.pixi.pypi-dependencies] python_template = { path = ".", editable = true } numpy = "*" @@ -36,12 +39,14 @@ numpy = "*" [project.optional-dependencies] test = [ - "pytest-cov>=4.1,<=6.0.0", - "pytest>=7.4,<=8.3.4", - "hypothesis>=6.104.2,<=6.124.9", - "ruff>=0.5.0,<=0.9.4", - "coverage>=7.5.4,<=7.6.10", - "pre-commit<=4.1.0", + "pytest-cov<=7.1.0,>=7.1.0", + "pytest<=9.1.1,>=9.1.1", + "hypothesis<=6.155.7,>=6.155.7", + # The one ruff pin: CI, `pixi run lint` and the prek hooks all run this ruff. + "ruff==0.17.2", + "coverage<=7.14.3,>=7.14.3", + "prek>=0.4.6,<0.5.0", + "ty<=0.0.65,>=0.0.65", ] [build-system] @@ -59,15 +64,23 @@ py311 = ["py311", "test"] py312 = ["py312", "test"] py313 = ["py313", "test"] - [tool.pixi.tasks] -pre-commit = "pre-commit run -a" -pre-commit-update = "pre-commit autoupdate" +dev-add-docker = "devpod provider list | grep -qw docker || devpod provider add docker" +dev = { cmd = "devpod up . --ide none && ssh scratchenv.devpod", depends-on = ["dev-add-docker"] } +dev-vs = { cmd = "devpod up . --ide vscode", depends-on = ["dev-add-docker"] } +dev-restart = { cmd = "devpod up . --recreate --ide none && ssh scratchenv.devpod", depends-on = ["dev-add-docker"] } +dev-restart-vs = { cmd = "devpod up . --recreate --ide vscode", depends-on = ["dev-add-docker"] } +prek = "prek run -a" +prek-install = "prek install" +prek-update = "prek autoupdate" format = "ruff format ." check-clean-workspace = "git diff --exit-code" +format-check = "ruff format --check ." ruff-lint = "ruff check . --fix" -lint = { depends-on = ["ruff-lint"] } -style = { depends-on = ["format", "lint"] } +ruff-check = "ruff check ." +ty = "ty check --respect-ignore-files ." +lint = { depends-on = ["ruff-check", "format-check", "ty"] } +style = { depends-on = ["format", "ruff-lint", "lint"] } commit-format = "git commit -a -m'autoformat code' || true" test = "pytest" coverage = "coverage run -m pytest && coverage xml -o coverage.xml" @@ -75,18 +88,19 @@ coverage-report = "coverage report -m" update-lock = "pixi update && git commit -a -m'update pixi.lock' || true" push = "git push" update-lock-push = { depends-on = ["update-lock", "push"] } -fix = { depends-on = ["update-lock", "format", "ruff-lint", "pre-commit"] } +fix = { depends-on = ["update-lock", "format", "ruff-lint", "prek"] } fix-commit-push = { depends-on = ["fix", "commit-format", "update-lock-push"] } ci-no-cover = { depends-on = ["style", "test"] } ci = { depends-on = [ - "format", - "ruff-lint", + "ruff-check", + "format-check", + "ty", "coverage", "coverage-report", ] } ci-push = { depends-on = ["format", "ruff-lint", "update-lock", "ci", "push"] } clear-pixi = "rm -rf .pixi pixi.lock" -setup-git-merge-driver = "git config merge.ourslock.driver true" +ralph = "ralph" update-from-template-repo = "./scripts/update_from_template.sh" [tool.coverage.run] diff --git a/ralph.yml b/ralph.yml new file mode 100644 index 0000000..3b8ab05 --- /dev/null +++ b/ralph.yml @@ -0,0 +1,34 @@ +# Ralph Orchestrator Configuration +# Generated by: ralph init --backend claude +# Docs: https://github.com/mikeyobrien/ralph-orchestrator + +cli: + backend: "claude" + +event_loop: + prompt_file: "PROMPT.md" + completion_promise: "LOOP_COMPLETE" + max_iterations: 100 + # max_runtime_seconds: 14400 # 4 hours max + +# ───────────────────────────────────────────────────────────────────────────── +# Additional Configuration (uncomment to customize) +# ───────────────────────────────────────────────────────────────────────────── + +# core: +# scratchpad: ".ralph/agent/scratchpad.md" +# specs_dir: ".ralph/specs/" + +# Custom hats for multi-agent workflows: +# hats: +# builder: +# name: "Builder" +# triggers: ["build.task"] +# publishes: ["build.done", "build.blocked"] +# +# reviewer: +# name: "Reviewer" +# triggers: ["review.request"] +# publishes: ["review.approved", "review.changes_requested"] + +# Create PROMPT.md with your task, then run: ralph run diff --git a/scripts/install_pixi.sh b/scripts/install_pixi.sh deleted file mode 100755 index dbc88d9..0000000 --- a/scripts/install_pixi.sh +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/bash -set -e -curl -fsSL https://pixi.sh/install.sh | bash -echo 'eval "$(pixi completion --shell bash)"' >> ~/.bashrc diff --git a/scripts/launch_vscode.sh b/scripts/launch_vscode.sh index fa6b029..18e375e 100755 --- a/scripts/launch_vscode.sh +++ b/scripts/launch_vscode.sh @@ -1,5 +1,5 @@ #! /bin/bash -set -e +set -eo pipefail export COMPOSE_DOCKER_CLI_BUILD=1 export DOCKER_BUILDKIT=1 @@ -25,14 +25,16 @@ if [ ! -d "$VENV_DIR" ]; then echo "Creating virtual environment in $VENV_DIR..." python3 -m venv "$VENV_DIR" echo "Activating the virtual environment..." - source $VENV_DIR/bin/activate + # shellcheck disable=SC1091 + source "$VENV_DIR/bin/activate" echo "Installing deps rocker..." pip install deps-rocker pixi-rocker rockervsc echo "Virtual environment setup and deps rocker installation complete." else echo "Virtual environment already exists in $VENV_DIR." echo "Activating the existing virtual environment..." - source $VENV_DIR/bin/activate + # shellcheck disable=SC1091 + source "$VENV_DIR/bin/activate" fi rockervsc diff --git a/scripts/rename_project.sh b/scripts/rename_project.sh index 394bbd6..3847d53 100755 --- a/scripts/rename_project.sh +++ b/scripts/rename_project.sh @@ -1,22 +1,51 @@ #!/bin/bash +set -eo pipefail + +# Escape characters special in sed replacement strings (\, &, /) +escape_sed() { printf '%s\n' "$1" | sed 's/[\\&/]/\\&/g'; } mv python_template "$1" -mv python_template.deps.yaml "$1".deps.yaml -# change project name in all files -find . \( -type d -name .git -prune \) -o \( -type f -not -name 'tasks.json' -not -name 'update_from_template.sh' \) -print0 | xargs -0 sed -i "s/python_template/$1/g" +ESCAPED_1=$(escape_sed "$1") + +# devpod strips separators out of the repo name to build its workspace name, so the tree +# also carries `pythontemplate` (ssh hosts, /workspaces/ paths) which the sed below would +# never match. Substitute the separator-stripped new name for it. +STRIPPED_1="${1//[_-]/}" +ESCAPED_1_STRIPPED=$(escape_sed "$STRIPPED_1") + +# change project name in all files (exclude main devcontainer.json to protect template image URL) +# sed re-scans each replacement with the later expressions, so `pythontemplate` goes first: a +# stripped name can never contain an underscore, so it can never manufacture a fresh +# `python_template`. The other order breaks on a new name that itself contains +# `pythontemplate` -- `pythontemplate_fork` would come out as `pythontemplatefork_fork`. +# The first and last expressions mask the prebuilt image reference: it is the one +# `python_template` in the tree that names a real published package rather than this project, +# so renaming it yields a ghcr.io URL that 404s. It appears in the root README and in +# .devcontainer/claude-code/{README,TROUBLESHOOTING}.md, which must otherwise be renamed +# normally, so the string is protected instead of the files. +find . \( -type d -name .git -prune \) -o \( -type f -not -name 'tasks.json' -not -name 'update_from_template.sh' -not -name 'pixi.lock' -not -path './.devcontainer/devcontainer.json' \) -print0 | xargs -0 sed -i -e 's|blooop/python_template/devcontainer|@@IMGREF@@|g' -e "s/pythontemplate/$ESCAPED_1_STRIPPED/g" -e "s/python_template/$ESCAPED_1/g" -e 's|@@IMGREF@@|blooop/python_template/devcontainer|g' + +# update just the name field in devcontainer.json +sed -i "s/\"name\": \"python_template\"/\"name\": \"$ESCAPED_1\"/" .devcontainer/devcontainer.json + +# regenerate lockfile to match renamed project +pixi update # author name if [ -n "$2" ]; then - find . \( -type d -name .git -prune \) -o \( -type f -not -name 'tasks.json' -not -name 'update_from_template.sh' \) -print0 | xargs -0 sed -i "s/Austin Gregg-Smith/$2/g" + ESCAPED_2=$(escape_sed "$2") + find . \( -type d -name .git -prune \) -o \( -type f -not -name 'tasks.json' -not -name 'update_from_template.sh' \) -print0 | xargs -0 sed -i "s/Austin Gregg-Smith/$ESCAPED_2/g" fi # author email if [ -n "$3" ]; then - find . \( -type d -name .git -prune \) -o \( -type f -not -name 'tasks.json' -not -name 'update_from_template.sh' \) -print0 | xargs -0 sed -i "s/blooop@gmail.com/$3/g" + ESCAPED_3=$(escape_sed "$3") + find . \( -type d -name .git -prune \) -o \( -type f -not -name 'tasks.json' -not -name 'update_from_template.sh' \) -print0 | xargs -0 sed -i "s/blooop@gmail.com/$ESCAPED_3/g" fi -# github username +# github username (exclude main devcontainer.json to protect template image URL) if [ -n "$4" ]; then - find . \( -type d -name .git -prune \) -o \( -type f -not -name 'setup_host.sh' -not -name 'update_from_template.sh' \) -print0 | xargs -0 sed -i "s/blooop/$4/g" + ESCAPED_4=$(escape_sed "$4") + find . \( -type d -name .git -prune \) -o \( -type f -not -name 'setup_host.sh' -not -name 'update_from_template.sh' -not -path './.devcontainer/devcontainer.json' \) -print0 | xargs -0 sed -i "s/blooop/$ESCAPED_4/g" fi diff --git a/scripts/setup_host.sh b/scripts/setup_host.sh index 833c261..3ecb0fd 100755 --- a/scripts/setup_host.sh +++ b/scripts/setup_host.sh @@ -1,59 +1,117 @@ #! /bin/bash +set -euo pipefail -#Sets up docker, nvidia docker git-lfs and rocker which are used to clone and setup docker containers +# Sets up docker, the NVIDIA Container Toolkit, git-lfs, pixi and uv, which are used +# to clone and set up docker containers. +# +# Tested on Ubuntu 22.04 / 24.04 / 26.04. -#COPIED FROM OFFICIAL DOCKER INSTALL INSTRUCTIONS +if [ "${EUID}" -eq 0 ]; then + echo "Do not run this script as root / with sudo; it calls sudo itself where needed." >&2 + exit 1 +fi + +# Keep a sudo timestamp alive so the script does not stall halfway through. +sudo -v + +# --------------------------------------------------------------------------- +# DOCKER +# Adapted from the official install instructions: # https://docs.docker.com/engine/install/ubuntu/ +# --------------------------------------------------------------------------- -#remove incorrect docker -for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done +# Remove distro/podman packages that conflict with docker-ce. +# `apt-get remove` on a package that is not installed is a no-op, so this is safe. +sudo apt-get remove -y docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc # Add Docker's official GPG key: -sudo apt update -sudo apt install -y ca-certificates curl +sudo apt-get update +sudo apt-get install -y ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc # Add the repository to Apt sources: +# shellcheck disable=SC1091 +UBUNTU_CODENAME="$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")" + +# Docker does not always publish a suite on release day. If this release is not +# there yet, fall back to the most recent suite that is. +if ! curl -fsSL -o /dev/null "https://download.docker.com/linux/ubuntu/dists/${UBUNTU_CODENAME}/Release"; then + echo "WARNING: Docker has no apt suite for '${UBUNTU_CODENAME}' yet; falling back to 'noble'." >&2 + UBUNTU_CODENAME=noble +fi + echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ + ${UBUNTU_CODENAME} stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null -sudo apt update +sudo apt-get update # Install docker -sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -#END OFFICIAL DOCKER INSTALL - - - -#INSTALL NVIDIA DOCKER -#https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html -curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \ - && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \ +sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin +# END OFFICIAL DOCKER INSTALL + +# Allow the current user to talk to the docker socket without sudo. +# docker-ce already creates the group, so only create it if it is somehow missing. +getent group docker > /dev/null || sudo groupadd docker +sudo usermod -aG docker "$USER" + +# --------------------------------------------------------------------------- +# NVIDIA CONTAINER TOOLKIT +# https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html +# Note: the old `nvidia-docker2` package is deprecated and is NOT needed. +# --------------------------------------------------------------------------- + +if command -v nvidia-smi > /dev/null && nvidia-smi -L > /dev/null 2>&1; then + curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | \ + sudo gpg --yes --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg + curl -fsSL https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \ sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \ - sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list -sudo apt update -sudo apt install -y nvidia-docker2 nvidia-container-toolkit -sudo nvidia-ctk runtime configure --runtime=docker -sudo systemctl restart docker - -sudo apt install -y git-lfs - -#Install rocker and rocker extensions which are used to launch the devcontainer + sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list > /dev/null + sudo apt-get update + sudo apt-get install -y nvidia-container-toolkit + sudo nvidia-ctk runtime configure --runtime=docker + sudo systemctl restart docker +else + echo "No working NVIDIA driver detected (nvidia-smi failed); skipping NVIDIA Container Toolkit." + echo "Install a driver first, e.g. 'sudo ubuntu-drivers install', reboot, then re-run this script." +fi + +sudo apt-get install -y git-lfs + +# Install rocker and rocker extensions which are used to launch the devcontainer # pip install rocker off-your-rocker git+https://github.com/blooop/deps_rocker -echo "testing docker install" - -docker run hello-world +# --------------------------------------------------------------------------- +# SMOKE TESTS +# The `docker` group membership added above does not apply to the current shell +# until the user logs out and back in, so run the tests with sudo. (Ubuntu 26.04 +# removed `sg` and `newgrp`, so those are not an option.) +# --------------------------------------------------------------------------- -echo "you may need to restart your machine" - -#INSTALL PIXI +echo "testing docker install" +sudo docker run --rm hello-world + +if command -v nvidia-ctk > /dev/null; then + echo "testing nvidia docker install" + # Plain ubuntu image matching the host release: the toolkit injects nvidia-smi + # and the driver libraries from the host, so this avoids pinning a CUDA version. + # shellcheck disable=SC1091 + TEST_IMAGE="ubuntu:$(. /etc/os-release && echo "$VERSION_ID")" + sudo docker run --rm --gpus all "${TEST_IMAGE}" nvidia-smi || \ + echo "WARNING: GPU container test failed." +fi + +# INSTALL PIXI curl -fsSL https://pixi.sh/install.sh | bash -echo 'eval "$(pixi completion --shell bash)"' >> ~/.bashrc +# shellcheck disable=SC2016 +grep -qF 'pixi completion --shell bash' ~/.bashrc || \ + echo 'eval "$(pixi completion --shell bash)"' >> ~/.bashrc + +# INSTALL UV +curl -LsSf https://astral.sh/uv/install.sh | sh -sudo groupadd docker -sudo usermod -aG docker $USER -newgrp docker || true +echo +echo "Done. Log out and back in (or reboot) so your 'docker' group membership applies" +echo "to every new shell, and so pixi/uv are on your PATH." diff --git a/scripts/update_from_template.sh b/scripts/update_from_template.sh index ebcf97d..8484267 100755 --- a/scripts/update_from_template.sh +++ b/scripts/update_from_template.sh @@ -1,12 +1,23 @@ #! /bin/bash +set -eo pipefail -git config --global pull.rebase false -git remote add template https://github.com/blooop/python_template.git +TEMPLATE_URL="${TEMPLATE_URL:-https://github.com/blooop/python_template.git}" +BRANCH="${BRANCH:-feature/update_from_template}" + +git config pull.rebase false +git remote remove template 2>/dev/null || true +git remote add template "$TEMPLATE_URL" git fetch --all git checkout main && git pull origin main -git checkout -B feature/update_from_template; git pull +git checkout -B "$BRANCH" git merge template/main --allow-unrelated-histories -m 'feat: pull changes from remote template' -git checkout --ours pixi.lock; git add pixi.lock +git checkout --ours pixi.lock 2>/dev/null || true + +# regenerate lockfile to match merged pyproject.toml +pixi update +git add pixi.lock +git diff --cached --quiet || git commit -m 'chore: update pixi.lock after template merge' + git remote remove template -git push --set-upstream origin feature/update_from_template +git push --set-upstream origin "$BRANCH" git checkout main diff --git a/test/test_basic.py b/test/test_basic.py index 91fa700..99cdc19 100644 --- a/test/test_basic.py +++ b/test/test_basic.py @@ -1,4 +1,5 @@ from unittest import TestCase + from python_template.basic_class import BasicClass diff --git a/test/test_devcontainer.py b/test/test_devcontainer.py index b43c789..dff6fce 100644 --- a/test/test_devcontainer.py +++ b/test/test_devcontainer.py @@ -1,32 +1,49 @@ -import json -import os import re import subprocess from pathlib import Path -DEVCONTAINER = Path(__file__).resolve().parent.parent / ".devcontainer" +REPO = Path(__file__).resolve().parent.parent +DEVCONTAINER = REPO / ".devcontainer" -def load_devcontainer_json(): - text = (DEVCONTAINER / "devcontainer.json").read_text(encoding="utf-8") - return json.loads(re.sub(r"(?m)^\s*//.*$", "", text)) +def host_bind_sources() -> list[str]: + config = (DEVCONTAINER / "devcontainer.json").read_text(encoding="utf-8") + live = "\n".join(line for line in config.splitlines() if not line.lstrip().startswith("//")) + sources = [] + for mount in re.findall(r'"([^"]*\btype=bind\b[^"]*)"', live): + fields = dict(field.split("=", 1) for field in mount.split(",") if "=" in field) + home, _, rest = fields.get("source", "").partition("${localEnv:HOME}/") + if not home and rest: + sources.append(rest) + return sources def test_init_host_creates_every_home_bind_source(tmp_path): - """docker refuses a bind mount whose source is missing, so container - creation fails on a host that lacks any of these directories.""" - config = load_devcontainer_json() + """docker refuses to create the container when a bind source is missing.""" + sources = host_bind_sources() + assert sources, "found no ${localEnv:HOME} bind mounts in devcontainer.json" + subprocess.run( - [str(DEVCONTAINER.parent / config["initializeCommand"])], - env={**os.environ, "HOME": str(tmp_path)}, + [str(DEVCONTAINER / "claude-code" / "init-host.sh")], + env={"HOME": str(tmp_path), "PATH": "/usr/bin:/bin"}, check=True, ) - sources = [ - dict(kv.split("=", 1) for kv in mount.split(","))["source"] - for mount in config["mounts"] - if "type=bind" in mount - ] - assert sources - for source in sources: - path = Path(source.replace("${localEnv:HOME}", str(tmp_path))) - assert path.is_dir(), f"{source} missing after initializeCommand" + + missing = [s for s in sources if not (tmp_path / s).is_dir()] + assert not missing, f"init-host.sh did not create: {missing}" + + +def test_init_host_keeps_existing_dirs(tmp_path): + """A second run must not fail or touch what is already there.""" + gh = tmp_path / ".config" / "gh" + gh.mkdir(parents=True) + (gh / "hosts.yml").write_text("token", encoding="utf-8") + + for _ in range(2): + subprocess.run( + [str(DEVCONTAINER / "claude-code" / "init-host.sh")], + env={"HOME": str(tmp_path), "PATH": "/usr/bin:/bin"}, + check=True, + ) + + assert (gh / "hosts.yml").read_text(encoding="utf-8") == "token"