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/README.md b/.devcontainer/claude-code/README.md index 4e358b1..5f1d597 100644 --- a/.devcontainer/claude-code/README.md +++ b/.devcontainer/claude-code/README.md @@ -41,7 +41,7 @@ Splitting the rest of the directory into separate read-only binds is possible an ### Setup -The feature is declared where the image is built, in `.devcontainer/ci/devcontainer.json`: +The feature is declared where the image is built, in python_template's `.devcontainer/ci/devcontainer.json` (this repo does not carry that file): ```json { diff --git a/.devcontainer/claude-code/TROUBLESHOOTING.md b/.devcontainer/claude-code/TROUBLESHOOTING.md index 59e2156..ecad90a 100644 --- a/.devcontainer/claude-code/TROUBLESHOOTING.md +++ b/.devcontainer/claude-code/TROUBLESHOOTING.md @@ -36,7 +36,7 @@ Every one of these is writable from inside the container, and a write lands on t } ``` -The `../claude-code` feature is declared in `.devcontainer/ci/devcontainer.json`, the config CI builds the image from, so there is no `features` block here -- and no `runArgs` either. +The `../claude-code` feature is declared in python_template's `.devcontainer/ci/devcontainer.json`, the config its CI builds the image from, so there is no `features` block here -- and no `runArgs` either. ## Common Issues and Solutions @@ -255,7 +255,7 @@ docker inspect | jq '.[0].HostConfig.NetworkMode' When setting up a new workspace: -- [ ] `../claude-code` feature declared in `.devcontainer/ci/devcontainer.json`, so the published image carries it +- [ ] `../claude-code` feature declared in python_template's `.devcontainer/ci/devcontainer.json`, so the published image carries it - [ ] `claude` authenticated on the host, so no OAuth flow runs in the container - [ ] Environment variables added (CLAUDE_CONFIG_DIR, XDG_*) - [ ] Files exist on host: `.credentials.json`, `.claude.json` diff --git a/.devcontainer/claude-code/init-host.sh b/.devcontainer/claude-code/init-host.sh index 5872e22..da072a9 100755 --- a/.devcontainer/claude-code/init-host.sh +++ b/.devcontainer/claude-code/init-host.sh @@ -1,7 +1,11 @@ #!/bin/sh -# Create the host directories that devcontainer.json bind-mounts; docker -# refuses to create the container when a bind source is missing. +# 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 cefe010..8d5a37c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,15 @@ { - // Uses the template's prebuilt image by default for fast startup. - // To build locally: pixi run dev-use-local - // To use this repo's own prebuilt image: pixi run dev-use-prebuilt + // 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": ".." @@ -9,13 +17,13 @@ "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: .devcontainer/ci/devcontainer.json, - // which is the config 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. + // 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. // // 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 -- @@ -63,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 d32e0e9..311c32a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -20,6 +20,7 @@ *.dae filter=lfs diff=lfs merge=lfs -text *.obj filter=lfs diff=lfs merge=lfs -text *.ply filter=lfs diff=lfs merge=lfs -text +*.usd filter=lfs diff=lfs merge=lfs -text # Compiled libraries *.a filter=lfs diff=lfs merge=lfs -text @@ -42,4 +43,4 @@ # numpy file format *.npy filter=lfs diff=lfs merge=lfs -text # GitHub syntax highlighting -pixi.lock linguist-language=YAML merge=ourslock \ No newline at end of file +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 880865e..9fe8d25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,19 +14,19 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - environment: [py310, py311, py312] + 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@v4 + uses: codecov/codecov-action@v7 env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} 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/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6e745b7..ce03a16 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,4 +15,4 @@ jobs: with: pypi-token: ${{ secrets.PYPI_API_TOKEN }} gh-token: ${{ secrets.GITHUB_TOKEN }} - parse-changelog: true \ No newline at end of file + parse-changelog: true 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 new file mode 100644 index 0000000..dc8c164 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,70 @@ +# To use: +# +# pre-commit run -a +# +# Or: +# +# pre-commit install # (runs every time you commit in git) +# +# To update this file: +# +# pre-commit autoupdate +# +# See https://github.com/pre-commit/pre-commit + +repos: + # Standard hooks + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: check-added-large-files + - id: check-ast + - id: check-case-conflict + - id: check-docstring-first + - id: check-merge-conflict + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable + - id: name-tests-test + - id: detect-private-key + - id: check-symlinks + - id: check-toml + - id: check-xml + - id: check-yaml + args: ['--unsafe'] # Fixes errors parsing custom jinja templates + # - id: check-json + # - id: pretty-format-json + # args: ['--autofix'] + - id: debug-statements + - id: end-of-file-fixer + - id: mixed-line-ending + # - id: trailing-whitespace + - id: fix-byte-order-marker + + # 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: + - 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 + hooks: + - id: codespell + args: ["--write-changes","--ignore-words=./codespell-ignore.txt"] + exclude: \.(svg|pyc|lock|json|hrd|pgm)$ diff --git a/.vscode/extensions.json b/.vscode/extensions.json index b256950..fd4af2a 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,15 +1,10 @@ { - "recommendations": [ - "ms-python.python", - "ms-python.vscode-pylance", - "njpwerner.autodocstring", - "charliermarsh.ruff", - "mhutchie.git-graph", - "eamodio.gitlens", - "tamasfe.even-better-toml", - "Codium.codium", - "ms-azuretools.vscode-docker", - "ryanluker.vscode-coverage-gutters", - "jjjermiah.pixi-vscode" - ] -} \ No newline at end of file + "recommendations": [ + "mhutchie.git-graph", + "ms-python.python", + "ms-python.vscode-pylance", + "jjjermiah.pixi-vscode", + "charliermarsh.ruff", + "tamasfe.even-better-toml" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 945e4b8..cd5c7f0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,4 +11,4 @@ "/home/vscode/.local/lib/python3.10/site-packages/rerun_examples/**": true }, "python.analysis.autoImportCompletions": false //vscode gets it wrong more than right and mostly gets in the way -} \ No newline at end of file +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 998e9c0..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 style" + "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", @@ -130,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" @@ -139,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 56cc06f..a5193ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,4 @@ ## rerun_examples -## [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 ce6ce45..ac0f7fd 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,24 @@ A template repo for python projects that is set up using [pixi](https://pixi.sh) This has basic setup for -* ruff (format and lint) +* ruff (formatting and linting) * pytest -* codecov * git-lfs * basic github actions ci * pulling updates from this template +* codecov +* pypi upload +* dependabot + +## 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. Child repos pick this setup up through `pixi run update-from-template-repo`. ## Continuous Integration Status @@ -18,8 +29,8 @@ This has basic setup for [![GitHub issues](https://img.shields.io/github/issues/blooop/rerun_examples.svg)](https://GitHub.com/blooop/rerun_examples/issues/) [![GitHub pull-requests merged](https://badgen.net/github/merged-prs/blooop/rerun_examples)](https://github.com/blooop/rerun_examples/pulls?q=is%3Amerged) [![GitHub release](https://img.shields.io/github/release/blooop/rerun_examples.svg)](https://GitHub.com/blooop/rerun_examples/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%20%7C%203.12-blue)](https://www.python.org/downloads/) +[![License](https://img.shields.io/github/license/blooop/rerun_examples)](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/) [![Pixi Badge](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json)](https://pixi.sh) @@ -28,26 +39,82 @@ This has basic setup for There are two methods of using this project. 1. Use github to use this project as a template -2. Clone the project and run, `scripts/update_from_template.sh` and then run the "rename project" task to rename the project. +2. Clone the project and run, `scripts/update_from_template.sh` and then run the `scripts/rename_project.sh` to rename the project. + +If you want to use docker you may want to run the `scripts/setup_host.sh` script. It will set up docker and the NVIDIA Container Toolkit (tested on ubuntu 22.04/24.04/26.04). + +If you are using pixi, look at the available tasks in pyproject.toml If you are new to pixi follow the instructions on the pixi [website](https://prefix.dev/) + +# Claude Code Online Support + +This template includes built-in support for [Claude Code](https://docs.claude.com/claude-code) online environment! The `.claude/hooks/SessionStart` script automatically: + +- Installs pixi package manager +- Sets up all project dependencies +- Configures prek hooks +- Prepares the development environment + +**Quick Start with Claude Code:** +1. Open this repository in Claude Code online +2. The environment sets up automatically via the SessionStart hook +3. Claude can immediately run commands like `pixi run test`, `pixi run lint`, etc. + +**Manual activation (if needed):** +```bash +source .claude/activate.sh +``` + +See [.claude/README.md](.claude/README.md) for detailed information about the Claude Code configuration. + +# Devcontainer + +The devcontainer uses the prebuilt image from the template repository (`ghcr.io/blooop/python_template/devcontainer:latest`) for fast startup. This repo does not carry the template's `.devcontainer/Dockerfile` or the `dev-use-local` / `dev-use-prebuilt` tasks; to build the image locally, bring them over from [blooop/python_template](https://github.com/blooop/python_template) first. -If you want to use docker you may want to run the `scripts/setup_host.sh` script. It will set up docker and nvidia-docker (assuming you are on ubuntu22.04). +# Github setup -If you are using pixi, you can either follow the instructions on the pixi [website](https://prefix.dev/) or run `scripts/install_pixi.sh` +There are github workflows for CI, codecov and automated pypi publishing in `ci.yml` and `publish.yml`. + +ci.yml uses pixi tasks to set up the environment matrix and run the various CI tasks. To set up codecov on github, you need to get a `CODECOV_TOKEN` and add it to your actions secrets. + +publish.yml uses [pypy-auto-publish](https://github.com/marketplace/actions/python-auto-release-pypi-github) to automatically publish to pypi if the package version number changes. You need to add a `PYPI_API_TOKEN` to your github secrets to enable this. # Usage -There are currently two ways of running code. The legacy docker way and the work in progress pixi way. +There are currently two ways of running code. The preferred way is to use pixi to manage your environment and dependencies. -## Legacy +```bash +cd project + +$pixi run ci +pixi run arbitrary_task +``` + +If you have dependencies or configuration that cannot be managed by pixi, you can use alternative tools: + +- [rockerc](https://github.com/blooop/rockerc): A command-line tool for dynamically creating docker containers with access to host resources such as GPU and +- [rockervsc](https://github.com/blooop/rockervsc): A Visual Studio Code extension that integrates rockerc functionality into [vscode remote containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers). + +These tools help you create isolated environments with specific dependencies, ensuring consistent setups across different machines. -run the `scripts/launch_vscode.sh` script to build and connect to a docker container. The docker container is dynamically generated using [rocker](https://github.com/osrf/rocker) and [deps rocker](https://github.com/blooop/deps_rocker). [deps rocker](https://github.com/blooop/deps_rocker) looks at the rerun_examples.deps.yaml file to install any required apt, pip or shell scripts and launches a container that vscode attaches to. +```bash +cd project_name -## Pixi +rockerc # build and launch container with dependencies set up +# OR +rockervsc # build container, launch and attach vscode to that container. -If you have pixi installed on your host machine you can run any of the tasks defined in pyproject.toml. The legacy method also installs pixi in the container so you have access to pixi there. +#once you are inside the container you can use the pixi workflows. +pixi run ci +``` -The main pixi tasks are related to ci. Github actions runs the pixi task "ci". The ci is mostly likey to fail from a lockfile mismatch. Use the "fix" task to fix any lockfile related problems. +## Legacy + +If you don't want to install rocker on your system but want to use vscode, you can run the `scripts/launch_vscode.sh` script to build and connect to a docker container. It will install rocker in a venv. The docker container is dynamically generated using [rocker](https://github.com/osrf/rocker) and the configuration in `rockerc.yaml`. + +## Troubleshooting + +The main pixi tasks are related to CI. Github actions runs the pixi task "ci". The CI is mostly likely to fail from a lockfile mismatch. Use `pixi run fix` to fix any lockfile related problems. ## vscode tasks @@ -60,6 +127,3 @@ There are two core tasks. 2. run \ This runs python with the file set in \ - - - diff --git a/codespell-ignore.txt b/codespell-ignore.txt new file mode 100644 index 0000000..bf52b4c --- /dev/null +++ b/codespell-ignore.txt @@ -0,0 +1 @@ +assertIn diff --git a/docs/intro.rst b/docs/intro.rst index d037224..caf968c 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 (format and lint) +* 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/rerun_examples.svg)](https://GitHub.com/blooop/rerun_examples/issues/) [![GitHub pull-requests merged](https://badgen.net/github/merged-prs/blooop/rerun_examples)](https://github.com/blooop/rerun_examples/pulls?q=is%3Amerged) [![GitHub release](https://img.shields.io/github/release/blooop/rerun_examples.svg)](https://GitHub.com/blooop/rerun_examples/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/rerun_examples)](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/docs/requirements.txt b/docs/requirements.txt index d43dc9d..4f18089 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ sphinxcontrib-napoleon sphinx-rtd-theme -sphinx-autoapi \ No newline at end of file +sphinx-autoapi diff --git a/pixi.lock b/pixi.lock index 4f61bb7..be7e347 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.40-hf3520f5_7.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.2-h59595ed_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2 @@ -33,66 +35,29 @@ 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.5-h2ad013b_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-2024a-h8827d51_1.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/0f/f9/cf155cf32ca7d6fa3601bc4c5dd19086af4b320b706919d48a4c79081cf9/pytest-8.3.2-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/1f/0f/c890339dd605f3ebc269543247bdd43b703cce6825b5ed42ff5f2d6122c7/coverage-7.6.1-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/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/38/5d/b33284c108e3f315ddd09b70296fd76bd28ecf8965a520bc93f3bbd8ac40/ruff-0.6.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/78/3a/af5b4fa5961d9a1e6237b530eb87dd04aea6eb83da09d2a4073d81b54ccf/pytest_cov-5.0.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/e1/8c/8c58a2773d00bdfe6895180006127128c5dce51fafba984c530200e6fff6/hypothesis-6.111.2-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 - devenv: - channels: - - url: https://conda.anaconda.org/conda-forge/ - indexes: - - https://pypi.org/simple - packages: - linux-64: - - conda: https://conda.anaconda.org/conda-forge/linux-64/_libgcc_mutex-0.1-conda_forge.tar.bz2 - - 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/ld_impl_linux-64-2.40-hf3520f5_7.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.1.0-h77fa898_1.conda - - conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-14.1.0-h69a702a_1.conda - - conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-14.1.0-h77fa898_1.conda - - conda: https://conda.anaconda.org/conda-forge/linux-64/libnsl-2.0.1-hd590300_0.conda - - conda: https://conda.anaconda.org/conda-forge/linux-64/libsqlite-3.46.1-hadc24fc_0.conda - - conda: https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.38.1-h0b41bf4_0.conda - - conda: https://conda.anaconda.org/conda-forge/linux-64/libzlib-1.3.1-h4ab18f5_1.conda - - conda: https://conda.anaconda.org/conda-forge/linux-64/ncurses-6.5-he02047a_1.conda - - 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.0-h543edf9_3_cpython.tar.bz2 - - conda: https://conda.anaconda.org/conda-forge/linux-64/readline-8.2-h8228510_1.conda - - conda: https://conda.anaconda.org/conda-forge/linux-64/sqlite-3.46.1-h9eae976_0.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-2024a-h8827d51_1.conda - - pypi: https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/22/7e/d71db821f177828df9dea8c42ac46473366f191be53080e552e628aad991/idna-3.8-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/6b/4e/1523cb902fd98355e2e9ea5e5eb237cbc5f3ad5f3075fa65087aa0ecb669/PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/c0/00/48a725262ba0bf9b3a1427d3dfcec16729502cb2923bd01c252664a0b1b5/rocker-0.2.17-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/c1/0a/c500fc4c8f48cac08b76b8987070b178f0549534584ac1f414066700a3f9/empy-4.2.tar.gz - - pypi: https://files.pythonhosted.org/packages/ca/1c/89ffc63a9605b583d5df2be791a27bc1a42b7c32bab68d3c8f2f73a98cd4/urllib3-2.2.2-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/d6/5a/d984ea60fe2bb01abee5cd353a2dd63106c53f27d7dc3ad9f2c1a8cbbc98/off_your_rocker-0.1.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/da/f1/3702ba2a7470666a62fd81c58a4c40be00670e5006a67f4d626e57f013ae/charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/e3/26/57c6fb270950d476074c087527a558ccb6f4436657314bfb6cdf484114c4/docker-7.1.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/ee/86/59cc48f5f47a98b39eae62d67a61f4490289aceb37e76530ce6ec23f3ae0/deps_rocker-0.2.5.3-py2.py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl py310: channels: - url: https://conda.anaconda.org/conda-forge/ + - url: https://prefix.dev/blooop/ indexes: - https://pypi.org/simple packages: @@ -101,6 +66,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.40-hf3520f5_7.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.1.0-h77fa898_1.conda @@ -115,25 +81,31 @@ 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.14-hd12c33a_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-2024a-h8827d51_1.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/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/0f/f9/cf155cf32ca7d6fa3601bc4c5dd19086af4b320b706919d48a4c79081cf9/pytest-8.3.2-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/38/5d/b33284c108e3f315ddd09b70296fd76bd28ecf8965a520bc93f3bbd8ac40/ruff-0.6.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/53/23/9e2c114d0178abc42b6d8d5281f651a8e6519abfa0ef460a00a91f80879d/coverage-7.6.1-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/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/78/3a/af5b4fa5961d9a1e6237b530eb87dd04aea6eb83da09d2a4073d81b54ccf/pytest_cov-5.0.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/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/e1/8c/8c58a2773d00bdfe6895180006127128c5dce51fafba984c530200e6fff6/hypothesis-6.111.2-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/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 py311: channels: - url: https://conda.anaconda.org/conda-forge/ + - url: https://prefix.dev/blooop/ indexes: - https://pypi.org/simple packages: @@ -142,6 +114,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.40-hf3520f5_7.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.2-h59595ed_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2 @@ -157,23 +130,29 @@ 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.9-hb806964_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-2024a-h8827d51_1.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/0f/f9/cf155cf32ca7d6fa3601bc4c5dd19086af4b320b706919d48a4c79081cf9/pytest-8.3.2-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/14/6f/8351b465febb4dbc1ca9929505202db909c5a635c6fdf33e089bbc3d7d85/coverage-7.6.1-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/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/38/5d/b33284c108e3f315ddd09b70296fd76bd28ecf8965a520bc93f3bbd8ac40/ruff-0.6.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/78/3a/af5b4fa5961d9a1e6237b530eb87dd04aea6eb83da09d2a4073d81b54ccf/pytest_cov-5.0.0-py3-none-any.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/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/e1/8c/8c58a2773d00bdfe6895180006127128c5dce51fafba984c530200e6fff6/hypothesis-6.111.2-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 py312: channels: - url: https://conda.anaconda.org/conda-forge/ + - url: https://prefix.dev/blooop/ indexes: - https://pypi.org/simple packages: @@ -182,6 +161,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.40-hf3520f5_7.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.2-h59595ed_0.conda - conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2 @@ -197,20 +177,72 @@ 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.5-h2ad013b_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-2024a-h8827d51_1.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/0f/f9/cf155cf32ca7d6fa3601bc4c5dd19086af4b320b706919d48a4c79081cf9/pytest-8.3.2-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/1f/0f/c890339dd605f3ebc269543247bdd43b703cce6825b5ed42ff5f2d6122c7/coverage-7.6.1-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/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/38/5d/b33284c108e3f315ddd09b70296fd76bd28ecf8965a520bc93f3bbd8ac40/ruff-0.6.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - - pypi: https://files.pythonhosted.org/packages/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl - - pypi: https://files.pythonhosted.org/packages/78/3a/af5b4fa5961d9a1e6237b530eb87dd04aea6eb83da09d2a4073d81b54ccf/pytest_cov-5.0.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/e1/8c/8c58a2773d00bdfe6895180006127128c5dce51fafba984c530200e6fff6/hypothesis-6.111.2-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 + py313: + channels: + - url: https://conda.anaconda.org/conda-forge/ + - url: https://prefix.dev/blooop/ + indexes: + - https://pypi.org/simple + packages: + linux-64: + - conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-20_gnu.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/bzip2-1.0.8-hda65f42_10.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.46.1-default_hbd61a6d_103.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.8.5-hd2095e1_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.7.0-h81df57d_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-16.2.0-ha9f2e26_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-16.2.0-he0feb66_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/liblzma-5.8.3-hb03c661_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libmpdec-4.0.0-hb03c661_2.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libpython-3.13.17-hd51c5da_100_cp313.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libsqlite-3.54.1-h0737f62_100.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.42.4-hcfc3c73_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libzlib-1.3.2-h25fd6f3_3.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/ncurses-6.6-hdb14827_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/openssl-3.6.5-h781a0a9_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.13.17-hf47f18c_100_cp313.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/readline-8.3-hd6e31c0_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_h1df4ec4_4.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/zstd-1.5.7-hb78ec9c_7.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/ca-certificates-2026.10.23-hbd8a1cb_0.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/python_abi-3.13-9_cp313.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2026e-h5d301ff_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/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/40/9e/2b38731e0fc536806f16490e1a12d7f0dc2a1235aa8cc07bcc75416a7daa/pluggy-1.7.0-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/56/43/4ca9e49d27a1fcf6bece6f6aec0ea46bb9112489b93d4b688fb415457bdb/iniconfig-2.3.1-py3-none-any.whl + - pypi: https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-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/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/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 packages: - conda: https://conda.anaconda.org/conda-forge/linux-64/_libgcc_mutex-0.1-conda_forge.tar.bz2 sha256: fe51de6107f9edc7aa4f786a70f4a883943bc9d39b3bb7307c04c41410990726 @@ -219,6 +251,23 @@ packages: purls: [] size: 2562 timestamp: 1578324546067 +- conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-20_gnu.conda + build_number: 20 + sha256: 1dd3fffd892081df9726d7eb7e0dea6198962ba775bd88842135a4ddb4deb3c9 + md5: a9f577daf3de00bca7c3c76c0ecbd1de + depends: + - __glibc >=2.17,<3.0.a0 + - libgomp >=7.5.0 + constrains: + - openmp_impl <0.0a0 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + strong: + - _openmp_mutex >=4.5 + size: 28948 + timestamp: 1770939786096 - conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-2_gnu.tar.bz2 build_number: 16 sha256: fbe2c5e56a653bebb982eda4876a9178aedfc2b545f25d0ce9c4c0b508253d22 @@ -244,6 +293,20 @@ packages: purls: [] size: 252783 timestamp: 1720974456583 +- conda: https://conda.anaconda.org/conda-forge/linux-64/bzip2-1.0.8-hda65f42_10.conda + sha256: 1a0d382c515ebf55f8ee1f38c8b81bc95af5c2acc42ad53b66bc5df932032f96 + md5: e675fabcf81499adc7edf58124fb1e01 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=14 + license: bzip2-1.0.6 + license_family: BSD + purls: [] + run_exports: + weak: + - bzip2 >=1.0.8,<2.0a0 + size: 257808 + timestamp: 1785906269155 - conda: https://conda.anaconda.org/conda-forge/linux-64/ca-certificates-2024.8.30-hbcca054_0.conda sha256: afee721baa6d988e27fef1832f68d6f32ac8cc99cdf6015732224c2841a09cea md5: c27d1c142233b5bc9ca570c6e2e0c244 @@ -251,6 +314,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.40-hf3520f5_7.conda sha256: 764b6950aceaaad0c67ef925417594dd14cd2e22fff864aeef455ac259263d15 md5: b80f2f396ca2c28b8c14c437a4ed1e74 @@ -261,6 +333,20 @@ packages: purls: [] size: 707602 timestamp: 1718625640445 +- conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.46.1-default_hbd61a6d_103.conda + sha256: 901649b1edbe841fd4ee7e2d491a05184ed540eb01cdae506872f344babc1d28 + md5: 2362c70e7e79827c32db35547d9c179b + depends: + - __glibc >=2.17,<3.0.a0 + - zstd >=1.5.7,<1.6.0a0 + constrains: + - binutils_impl_linux-64 2.46.1 + license: GPL-3.0-only + license_family: GPL + purls: [] + run_exports: {} + size: 742109 + timestamp: 1791565468810 - conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.2-h59595ed_0.conda sha256: 331bb7c7c05025343ebd79f86ae612b9e1e74d2687b8f3179faec234f986ce19 md5: e7ba12deb7020dd080c6c70e7b6f6a3d @@ -273,6 +359,20 @@ packages: purls: [] size: 73730 timestamp: 1710362120304 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.8.5-hd2095e1_0.conda + sha256: 6de73033a7c5f712c9c5a54124e4581e025691029835e5bceaf10a333a7e7bc0 + md5: 72cfd2b95b0540247220b42f58a148d7 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=15 + constrains: + - expat 2.8.5.* + license: MIT + license_family: MIT + purls: [] + run_exports: {} + size: 77893 + timestamp: 1790346247149 - conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2 sha256: ab6e9856c21709b7b517e940ae7028ae0737546122f83c2aa5d692860c3b149e md5: d645c6d2ac96843a2bfaccd2d62b3ac3 @@ -283,6 +383,20 @@ packages: purls: [] size: 58292 timestamp: 1636488182923 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.7.0-h81df57d_1.conda + sha256: c8c7583ef063bc3c430f1d48298e5ad24f796a35c22ed5b14183325825a61106 + md5: 6525a0b06aa4fd390795f0740636a9dd + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=15 + license: MIT + license_family: MIT + purls: [] + run_exports: + weak: + - libffi >=3.7.0,<3.8.0a0 + size: 68004 + timestamp: 1787753412298 - conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-14.1.0-h77fa898_1.conda sha256: 10fa74b69266a2be7b96db881e18fa62cfa03082b65231e8d652e897c4b335a3 md5: 002ef4463dd1e2b44a94a4ace468f5d2 @@ -297,6 +411,21 @@ packages: purls: [] size: 846380 timestamp: 1724801836552 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-16.2.0-ha9f2e26_7.conda + sha256: e031634c3a928f9594eba868bc46ef5230d6571a364a0c63215b06c4563bfcea + md5: 735629b400b70eeab21a2ba8f5b1c2ce + depends: + - __glibc >=2.17,<3.0.a0 + - _openmp_mutex >=4.5 + constrains: + - libgcc-ng ==16.2.0=*_7 + - libgomp 16.2.0 he0feb66_7 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: {} + size: 1058444 + timestamp: 1790303109576 - conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-14.1.0-h69a702a_1.conda sha256: b91f7021e14c3d5c840fbf0dc75370d6e1f7c7ff4482220940eaafb9c64613b7 md5: 1efc0ad219877a73ef977af7dbb51f17 @@ -317,6 +446,46 @@ packages: purls: [] size: 460218 timestamp: 1724801743478 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-16.2.0-he0feb66_7.conda + sha256: 92a0bb350c7be6a4eedcb4e111c60aefd176018e6b1c009a6e025dbe9bbcd758 + md5: d904c7ddd95e026254b4b80808ee9e12 + depends: + - __glibc >=2.17,<3.0.a0 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: + strong: + - _openmp_mutex >=4.5 + size: 640566 + timestamp: 1790303046034 +- conda: https://conda.anaconda.org/conda-forge/linux-64/liblzma-5.8.3-hb03c661_1.conda + sha256: 9787df8c22a59c9a70d3e5a10db9ad663485e75e9ccc3f09bd092cb7b95e0dab + md5: 1390b7c5ac0b1d8e447bc5efa6d3c8c2 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=14 + constrains: + - xz 5.8.3.* + license: 0BSD + purls: [] + run_exports: + weak: + - liblzma >=5.8.3,<6.0a0 + size: 112995 + timestamp: 1786348617826 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libmpdec-4.0.0-hb03c661_2.conda + sha256: 46820b4a835e175940ae20bec00fdddaff804cda27a1408ab1b95e77a2196437 + md5: fcfed1dc5053eb1901b66e7b1fc32588 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=14 + license: BSD-2-Clause + license_family: BSD + purls: [] + run_exports: {} + size: 92759 + timestamp: 1786650399772 - conda: https://conda.anaconda.org/conda-forge/linux-64/libnsl-2.0.1-hd590300_0.conda sha256: 26d77a3bb4dceeedc2a41bd688564fe71bf2d149fdcf117049970bc02ff1add6 md5: 30fd6e37fe21f86f4bd26d6ee73eeec7 @@ -327,6 +496,20 @@ packages: purls: [] size: 33408 timestamp: 1697359010159 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libpython-3.13.17-hd51c5da_100_cp313.conda + build_number: 100 + sha256: 1082a74cc4f10613f258d4f00d8d80d3aac288039b88718d18e3bd5bede5f514 + md5: e67509e13ba01c938274503c0089c63f + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=15 + license: Python-2.0 + purls: [] + run_exports: + weak: + - libpython >=3.13,<4.0a0 + size: 9726632 + timestamp: 1792665439303 - conda: https://conda.anaconda.org/conda-forge/linux-64/libsqlite-3.46.1-hadc24fc_0.conda sha256: 9851c049abafed3ee329d6c7c2033407e2fc269d33a75c071110ab52300002b0 md5: 36f79405ab16bf271edb55b213836dac @@ -338,6 +521,22 @@ packages: purls: [] size: 865214 timestamp: 1725353659783 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libsqlite-3.54.1-h0737f62_100.conda + sha256: 107ba2f9134b45a6fdaf8d2485f432e3a643fdfaf711a325d0c9139b580b3523 + md5: 5fdfd335c3d653e41c1eea1353d827d0 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=15 + - libzlib >=1.3.2,<2.0a0 + constrains: + - icu <0.0a0 + license: blessing + purls: [] + run_exports: + weak: + - libsqlite >=3.54.1,<4.0a0 + size: 980418 + timestamp: 1792175610911 - conda: https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.38.1-h0b41bf4_0.conda sha256: 787eb542f055a2b3de553614b25f09eefb0a0931b0c87dbcce6efdfd92f04f18 md5: 40b61aab5c7ba9ff276c41cfffe6b80b @@ -348,6 +547,20 @@ packages: purls: [] size: 33601 timestamp: 1680112270483 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.42.4-hcfc3c73_0.conda + sha256: f34b8d1de9a2bf62476d8608057d9b8a918d97444236dc53a47128f2fae79041 + md5: 54a948337e66706380ff24d6b5fde63f + depends: + - libgcc >=15 + - __glibc >=2.17,<3.0.a0 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - libuuid >=2.42.4,<3.0a0 + size: 34442 + timestamp: 1790121449161 - conda: https://conda.anaconda.org/conda-forge/linux-64/libxcrypt-4.4.36-hd590300_1.conda sha256: 6ae68e0b86423ef188196fff6207ed0c8195dd84273cb5623b85aa08033a410c md5: 5aa797f8787fe7a17d1b0821485b5adc @@ -369,6 +582,21 @@ packages: purls: [] size: 61574 timestamp: 1716874187109 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libzlib-1.3.2-h25fd6f3_3.conda + sha256: eb8a0db0aa570124f7d2a93d7c7f596e3390df5e047818d873baad32985fc736 + md5: 0de0122d9570a8ab637c6b73db268389 + depends: + - __glibc >=2.17,<3.0.a0 + constrains: + - zlib 1.3.2 *_3 + license: Zlib + license_family: Other + purls: [] + run_exports: + weak: + - libzlib >=1.3.2,<2.0a0 + size: 63713 + timestamp: 1785362952714 - conda: https://conda.anaconda.org/conda-forge/linux-64/ncurses-6.5-he02047a_1.conda sha256: 6a1d5d8634c1a07913f1c525db6455918cbc589d745fac46d9d6e30340c8731a md5: 70caf8bb6cf39a0b6b7efc885f51c0fe @@ -379,6 +607,19 @@ packages: purls: [] size: 889086 timestamp: 1724658547447 +- conda: https://conda.anaconda.org/conda-forge/linux-64/ncurses-6.6-hdb14827_1.conda + sha256: 5d46557214ed184381dafe835b7c94a474a1c3b307a08a250b1ea4779b44ffb3 + md5: ee6c0cd80a60961a1f48aa3e0b91f986 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=14 + license: X11 AND BSD-3-Clause + purls: [] + run_exports: + weak: + - ncurses >=6.6,<7.0a0 + size: 911196 + timestamp: 1786355078102 - conda: https://conda.anaconda.org/conda-forge/linux-64/openssl-3.3.2-hb9d3cd8_0.conda sha256: cee91036686419f6dd6086902acf7142b4916e1c4ba042e9ca23e151da012b6d md5: 4d638782050ab6faa27275bed57e9b4e @@ -391,31 +632,21 @@ packages: purls: [] size: 2891789 timestamp: 1725410790053 -- conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.10.0-h543edf9_3_cpython.tar.bz2 - build_number: 3 - sha256: 0661f43d7bc446c22bfcf1730ad5c7a2ac695c696ba4609bac896cefff879431 - md5: 67cdff58413ce9f034fb971188060313 +- conda: https://conda.anaconda.org/conda-forge/linux-64/openssl-3.6.5-h781a0a9_0.conda + sha256: 9c1533f1cf784f0e250919c0c9762d0b0e6bc727a79290ffb7cea1ceca1d038c + md5: 5a51a2ea653f120240b1a9bf76e0aae9 depends: - - bzip2 >=1.0.8,<2.0a0 - - ld_impl_linux-64 >=2.36.1 - - libffi >=3.4.2,<3.5.0a0 - - libgcc-ng >=9.4.0 - - libnsl >=2.0.0,<2.1.0a0 - - libuuid >=2.32.1,<3.0a0 - - libzlib >=1.2.11,<2.0.0a0 - - ncurses >=6.2,<7.0.0a0 - - openssl >=3.0.0,<4.0a0 - - readline >=8.1,<9.0a0 - - sqlite >=3.36.0,<4.0a0 - - tk >=8.6.11,<8.7.0a0 - - tzdata - - xz >=5.2.5,<6.0.0a0 - constrains: - - python_abi 3.10.* *_cp310 - license: Python-2.0 + - __glibc >=2.17,<3.0.a0 + - ca-certificates + - libgcc >=15 + license: Apache-2.0 + license_family: Apache purls: [] - size: 31281695 - timestamp: 1637376125446 + run_exports: + weak: + - openssl >=3.6.5,<4.0a0 + size: 3195299 + timestamp: 1791098052301 - conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.10.14-hd12c33a_0_cpython.conda sha256: 76a5d12e73542678b70a94570f7b0f7763f9a938f77f0e75d9ea615ef22aa84c md5: 2b4ba962994e8bd4be9ff5b64b75aff2 @@ -494,6 +725,39 @@ packages: purls: [] size: 31663253 timestamp: 1723143721353 +- conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.13.17-hf47f18c_100_cp313.conda + build_number: 100 + sha256: 689f8815b3af58be7b62cbf900bc1612efbde24763b470e01c292b06cbe2c6b2 + md5: 30b143cde9b0c30caa27ac3ea71ef837 + depends: + - __glibc >=2.17,<3.0.a0 + - bzip2 >=1.0.8,<2.0a0 + - ld_impl_linux-64 >=2.36.1 + - libexpat >=2.8.5,<3.0a0 + - libffi >=3.7.0,<3.8.0a0 + - libgcc >=15 + - liblzma >=5.8.3,<6.0a0 + - libmpdec >=4.0.0,<5.0a0 + - libpython 3.13.17 hd51c5da_100_cp313 + - libsqlite >=3.54.1,<4.0a0 + - libuuid >=2.42.4,<3.0a0 + - libzlib >=1.3.2,<2.0a0 + - ncurses >=6.6,<7.0a0 + - openssl >=3.5.9,<4.0a0 + - python_abi 3.13.* *_cp313 + - readline >=8.3,<9.0a0 + - tk >=8.6.13,<8.7.0a0 + - tzdata + license: Python-2.0 + purls: [] + run_exports: + weak: + - python_abi 3.13.* *_cp313 + noarch: + - python + size: 24443038 + timestamp: 1792665475941 + python_site_packages_path: lib/python3.13/site-packages - conda: https://conda.anaconda.org/conda-forge/linux-64/readline-8.2-h8228510_1.conda sha256: 5435cf39d039387fbdc977b0a762357ea909a7694d9528ab40f005e9208744d7 md5: 47d31b792659ce70f470b5c82fdfb7a4 @@ -505,20 +769,47 @@ packages: purls: [] size: 281456 timestamp: 1679532220005 -- conda: https://conda.anaconda.org/conda-forge/linux-64/sqlite-3.46.1-h9eae976_0.conda - sha256: 8c6245f988a2e1f4eef8456726b9cc46f2462448e61daa4bad2f9e4ca601598a - md5: b2b3e737da0ae347e16ef1970a5d3f14 +- conda: https://conda.anaconda.org/conda-forge/linux-64/readline-8.3-hd6e31c0_1.conda + sha256: 01b3fe073a66e321970d09e04b388708f8cbdca5cdfbfcb7c9eeb470ad10383d + md5: 69c01c781e7c8190bbdaf79e3848c5ca depends: - __glibc >=2.17,<3.0.a0 - - libgcc >=13 - - libsqlite 3.46.1 hadc24fc_0 - - libzlib >=1.3.1,<2.0a0 - - ncurses >=6.5,<7.0a0 - - readline >=8.2,<9.0a0 - license: Unlicense + - libgcc >=15 + - ncurses >=6.6,<7.0a0 + license: GPL-3.0-only + license_family: GPL + purls: [] + run_exports: + weak: + - readline >=8.3,<9.0a0 + size: 348899 + timestamp: 1787033801506 +- 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_h1df4ec4_4.conda + build_number: 104 + sha256: a1a241d172c1ccab067ba245206dd048bc3c2d1b84504b53c9468e99adfc16a1 + md5: 676a2f9b1c4fcf57b70aa5c65f6c60d0 + depends: + - libgcc >=15 + - __glibc >=2.17,<3.0.a0 + - libzlib >=1.3.2,<2.0a0 + constrains: + - xorg-libx11 >=1.8.13,<2.0a0 + license: TCL purls: [] - size: 859188 - timestamp: 1725353670478 + run_exports: + weak: + - tk >=8.6.13,<8.7.0a0 + size: 3566806 + timestamp: 1787272857910 - conda: https://conda.anaconda.org/conda-forge/linux-64/tk-8.6.13-noxft_h4845f30_101.conda sha256: e0569c9caa68bf476bead1bed3d79650bb080b532c64a4af7d8ca286c08dea4e md5: d453b98d9c83e71da0741bb0ff4d76bc @@ -539,6 +830,42 @@ packages: purls: [] size: 418368 timestamp: 1660346797927 +- conda: https://conda.anaconda.org/conda-forge/linux-64/zstd-1.5.7-hb78ec9c_7.conda + sha256: 47d682b9f6d6ec9eb1a6e6c3e75ea6273e899e78fb7fc59f81d39745009fbc60 + md5: aa459086047c0e5e27023ab19f8cb86a + depends: + - __glibc >=2.17,<3.0.a0 + - libzlib >=1.3.2,<2.0a0 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - zstd >=1.5.7,<1.6.0a0 + size: 601301 + timestamp: 1786599621503 +- conda: https://conda.anaconda.org/conda-forge/noarch/ca-certificates-2026.10.23-hbd8a1cb_0.conda + sha256: 95619b9c1184be7175392eeb0ee7eeb5ccf25d280951f4225f2d62e725790be3 + md5: 3fd02989038a1e1cee627c14c2d73f29 + depends: + - __unix + license: ISC + purls: [] + run_exports: {} + size: 130057 + timestamp: 1792772446739 +- conda: https://conda.anaconda.org/conda-forge/noarch/python_abi-3.13-9_cp313.conda + build_number: 9 + sha256: 9dc0cb6a20ebc7e9bcd8c6868f2bec083c114b0ba20b7118405c036533d5c522 + md5: c5abc97af551bc12d71305852392f75c + constrains: + - python 3.13.* *_cp313 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: {} + size: 6769 + timestamp: 1788302828005 - conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2024a-h8827d51_1.conda sha256: 7d21c95f61319dba9209ca17d1935e6128af4235a67ee4e57a00908a1450081e md5: 8bfdead4e0fff0383ae4c9c50d0531bd @@ -546,14 +873,82 @@ packages: purls: [] size: 124164 timestamp: 1724736371498 +- conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2026e-h5d301ff_0.conda + sha256: 2b7ca858879f183ce2dcc65b300f48a0133d5430550f35b23d80d405a0788dbf + md5: abccc3810d2b97e570dee487f2b46e38 + license: LicenseRef-Public-Domain + purls: [] + run_exports: {} + size: 119208 + timestamp: 1792758382821 +- 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: rerun-examples requires_dist: - - pytest-cov>=4.1,<=5.0.0 ; extra == 'test' - - pytest>=7.4,<=8.3.2 ; extra == 'test' - - hypothesis>=6.104.2,<=6.111.2 ; extra == 'test' - - ruff>=0.5.0,<=0.6.3 ; extra == 'test' - - coverage>=7.5.4,<=7.6.1 ; 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 @@ -561,145 +956,78 @@ packages: requires_dist: - pytest>=6 ; extra == 'test' requires_python: '>=3.7' +- 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/0f/f9/cf155cf32ca7d6fa3601bc4c5dd19086af4b320b706919d48a4c79081cf9/pytest-8.3.2-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.2 - sha256: 4ba08f9ae7dcf84ded419494d229b48d0903ea6407b030eaec46df5e6a73bba5 + 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' -- pypi: https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl - name: certifi - version: 2024.8.30 - sha256: 922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8 - requires_python: '>=3.6' -- pypi: https://files.pythonhosted.org/packages/14/6f/8351b465febb4dbc1ca9929505202db909c5a635c6fdf33e089bbc3d7d85/coverage-7.6.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl - name: coverage - version: 7.6.1 - sha256: 0c0420b573964c760df9e9e86d1a9a622d0d27f417e1a949a8a66dd7bcee7bc6 - requires_dist: - - tomli ; python_full_version <= '3.11' and extra == 'toml' - requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/1f/0f/c890339dd605f3ebc269543247bdd43b703cce6825b5ed42ff5f2d6122c7/coverage-7.6.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl - name: coverage - version: 7.6.1 - sha256: c44fee9975f04b33331cb8eb272827111efc8930cfd582e0320613263ca849ca - requires_dist: - - tomli ; python_full_version <= '3.11' and extra == 'toml' - requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/22/7e/d71db821f177828df9dea8c42ac46473366f191be53080e552e628aad991/idna-3.8-py3-none-any.whl - name: idna - version: '3.8' - sha256: 050b4e5baadcd44d760cedbd2b8e639f2ff89bbc7a5730fcc662954303377aac - requires_python: '>=3.6' -- pypi: https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl - name: ptyprocess - version: 0.7.0 - sha256: 4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35 + 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/38/5d/b33284c108e3f315ddd09b70296fd76bd28ecf8965a520bc93f3bbd8ac40/ruff-0.6.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - name: ruff - version: 0.6.3 - sha256: 70452a10eb2d66549de8e75f89ae82462159855e983ddff91bc0bce6511d0470 - requires_python: '>=3.7' -- pypi: https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl - name: toml - version: 0.10.2 - sha256: 806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b - requires_python: '>=2.6,!=3.0.*,!=3.1.*,!=3.2.*' -- pypi: https://files.pythonhosted.org/packages/53/23/9e2c114d0178abc42b6d8d5281f651a8e6519abfa0ef460a00a91f80879d/coverage-7.6.1-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/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.6.1 - sha256: 8f59d57baca39b32db42b83b2a7ba6f47ad9c394ec2076b084c3f029b7afca23 + version: 7.14.3 + sha256: fbb8c3a98e779013786ae01d229662aeacbc77100efbd3f2f245219ace5af700 requires_dist: - tomli ; python_full_version <= '3.11' and extra == 'toml' - requires_python: '>=3.8' -- 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_python: '>=3.10' +- pypi: https://files.pythonhosted.org/packages/40/9e/2b38731e0fc536806f16490e1a12d7f0dc2a1235aa8cc07bcc75416a7daa/pluggy-1.7.0-py3-none-any.whl + name: pluggy + version: 1.7.0 + sha256: 7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec + requires_python: '>=3.10' +- pypi: https://files.pythonhosted.org/packages/56/43/4ca9e49d27a1fcf6bece6f6aec0ea46bb9112489b93d4b688fb415457bdb/iniconfig-2.3.1-py3-none-any.whl + name: iniconfig + version: 2.3.1 + sha256: 9121e2c1fdb355232495be3194c8dfe87ccc2d5dee45947b78e68f499790d7a7 + requires_python: '>=3.10' +- pypi: https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl + name: packaging + version: '26.3' + sha256: d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c + requires_python: '>=3.9' +- 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: - - 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/4e/1523cb902fd98355e2e9ea5e5eb237cbc5f3ad5f3075fa65087aa0ecb669/PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - name: pyyaml - version: 6.0.2 - sha256: ec031d5d2feb36d1d1a24380e4db6d43695f3748343d99434e6f5f9156aaa2ed - requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/78/3a/af5b4fa5961d9a1e6237b530eb87dd04aea6eb83da09d2a4073d81b54ccf/pytest_cov-5.0.0-py3-none-any.whl - name: pytest-cov - version: 5.0.0 - sha256: 4f0764a1219df53214206bf1feea4633c3b558a2925c8b59f144f682861ce652 + - colorama>=0.4.6 ; extra == 'windows-terminal' + requires_python: '>=3.9' +- 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.14.3 + sha256: 98a0859b0e98e43e1178a9402e19c8127766b14f7109a374d976e5a62c0e5c73 requires_dist: - - pytest>=4.6 - - coverage[toml]>=5.2.1 - - fields ; extra == 'testing' - - hunter ; extra == 'testing' - - process-tests ; extra == 'testing' - - pytest-xdist ; extra == 'testing' - - virtualenv ; extra == 'testing' - requires_python: '>=3.8' + - tomli ; python_full_version <= '3.11' and extra == 'toml' + 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 @@ -715,144 +1043,42 @@ packages: version: 2.0.1 sha256: 939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc requires_python: '>=3.7' -- pypi: https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl - name: pexpect - version: 4.9.0 - sha256: 7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523 - requires_dist: - - ptyprocess>=0.5 -- pypi: https://files.pythonhosted.org/packages/c0/00/48a725262ba0bf9b3a1427d3dfcec16729502cb2923bd01c252664a0b1b5/rocker-0.2.17-py3-none-any.whl - name: rocker - version: 0.2.17 - sha256: 5f8cc8933dbc259927886874d0c4173be71461a72ee5b9c50f24a6809deec4c4 - requires_dist: - - empy - - pexpect - - packaging - - urllib3 - - docker - - importlib-metadata ; python_full_version < '3.8' - - pytest ; extra == 'test' - requires_python: '>=3.0' -- pypi: https://files.pythonhosted.org/packages/c1/0a/c500fc4c8f48cac08b76b8987070b178f0549534584ac1f414066700a3f9/empy-4.2.tar.gz - name: empy - version: '4.2' - sha256: 86f15e1da9743e79a2e9b2cbacf1a13d0b7fb1835b6254eb253c978b72287f4f - requires_python: '>=2.4' -- pypi: https://files.pythonhosted.org/packages/ca/1c/89ffc63a9605b583d5df2be791a27bc1a42b7c32bab68d3c8f2f73a98cd4/urllib3-2.2.2-py3-none-any.whl - name: urllib3 - version: 2.2.2 - sha256: a448b2f64d686155468037e1ace9f2d2199776e17f0a46610480d311f73e3472 - requires_dist: - - brotli>=1.0.9 ; platform_python_implementation == 'CPython' and extra == 'brotli' - - brotlicffi>=0.8.0 ; platform_python_implementation != 'CPython' and extra == 'brotli' - - h2>=4,<5 ; extra == 'h2' - - pysocks>=1.5.6,!=1.5.7,<2.0 ; extra == 'socks' - - zstandard>=0.18.0 ; extra == 'zstd' - requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/d6/5a/d984ea60fe2bb01abee5cd353a2dd63106c53f27d7dc3ad9f2c1a8cbbc98/off_your_rocker-0.1.0-py3-none-any.whl - name: off-your-rocker - version: 0.1.0 - sha256: d59930ae0ae66e3a4618e0432a2406f22ca6a896198d74efa480592082174858 - requires_dist: - - rocker -- pypi: https://files.pythonhosted.org/packages/da/f1/3702ba2a7470666a62fd81c58a4c40be00670e5006a67f4d626e57f013ae/charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl - name: charset-normalizer - version: 3.3.2 - sha256: 8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5 - requires_python: '>=3.7.0' -- pypi: https://files.pythonhosted.org/packages/e1/8c/8c58a2773d00bdfe6895180006127128c5dce51fafba984c530200e6fff6/hypothesis-6.111.2-py3-none-any.whl - name: hypothesis - version: 6.111.2 - sha256: 055e8228958e22178d6077e455fd86a72044d02dac130dbf9c8b31e161b9809c - 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.70 ; extra == 'all' - - django>=3.2 ; extra == 'all' - - dpcontracts>=0.4 ; extra == 'all' - - hypothesis-crosshair>=0.0.13 ; extra == 'all' - - lark>=0.10.1 ; extra == 'all' - - libcst>=0.3.16 ; extra == 'all' - - numpy>=1.17.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' - - backports-zoneinfo>=0.2.1 ; python_full_version < '3.9' and extra == 'all' - - tzdata>=2024.1 ; (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.13 ; extra == 'crosshair' - - crosshair-tool>=0.0.70 ; extra == 'crosshair' - - python-dateutil>=1.4 ; extra == 'dateutil' - - django>=3.2 ; extra == 'django' - - dpcontracts>=0.4 ; extra == 'dpcontracts' - - black>=19.10b0 ; extra == 'ghostwriter' - - lark>=0.10.1 ; extra == 'lark' - - numpy>=1.17.3 ; extra == 'numpy' - - pandas>=1.1 ; extra == 'pandas' - - pytest>=4.6 ; extra == 'pytest' - - pytz>=2014.1 ; extra == 'pytz' - - redis>=3.0.0 ; extra == 'redis' - - backports-zoneinfo>=0.2.1 ; python_full_version < '3.9' and extra == 'zoneinfo' - - tzdata>=2024.1 ; (sys_platform == 'emscripten' and extra == 'zoneinfo') or (sys_platform == 'win32' and extra == 'zoneinfo') - requires_python: '>=3.8' -- pypi: https://files.pythonhosted.org/packages/e3/26/57c6fb270950d476074c087527a558ccb6f4436657314bfb6cdf484114c4/docker-7.1.0-py3-none-any.whl - name: docker +- 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: c96b93b7f0a746f9e77d325bcfb87422a3d8bd4f03136ae8a85b37f1898d5fc0 + sha256: a0461110b7865f9a271aa1b51e516c9a95de9d696734a2f71e3e78f46e1d4678 requires_dist: - - pywin32>=304 ; sys_platform == 'win32' - - requests>=2.26.0 - - urllib3>=1.26.0 - - coverage==7.2.7 ; extra == 'dev' - - pytest-cov==4.1.0 ; extra == 'dev' - - pytest-timeout==2.1.0 ; extra == 'dev' - - pytest==7.4.2 ; extra == 'dev' - - ruff==0.1.8 ; extra == 'dev' - - myst-parser==0.18.0 ; extra == 'docs' - - sphinx==5.1.1 ; extra == 'docs' - - paramiko>=2.4.3 ; extra == 'ssh' - - websocket-client>=1.3.0 ; extra == 'websockets' + - 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/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/ee/86/59cc48f5f47a98b39eae62d67a61f4490289aceb37e76530ce6ec23f3ae0/deps_rocker-0.2.5.3-py2.py3-none-any.whl - name: deps-rocker - version: 0.2.5.3 - sha256: 335f1f5bf8e95da7dba5067e9ca6d57eb1e9b70d6256c172aa6de5d7402ada1d +- 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.17.2 + sha256: c60f93fec7142dba5b8f487f94bf2f6231dae24dc11e4c48648347c8b0720004 + requires_python: '>=3.7' +- 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: - - off-your-rocker>=0.1.0 - - pyyaml>=5.0 - - rocker>=0.2.17 - - toml>=0.10 - - black>=23,<=24.4.2 ; extra == 'test' - - coverage>=7.5.4,<=7.6.0 ; extra == 'test' - - hypothesis>=6.104.2,<=6.108.5 ; extra == 'test' - - pylint>=3.2.5,<=3.2.6 ; extra == 'test' - - pytest-cov>=4.1,<=5.0.0 ; extra == 'test' - - pytest>=7.4,<=8.3.2 ; extra == 'test' - - ruff>=0.5.0,<=0.5.5 ; extra == 'test' + - 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/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl - name: requests - version: 2.32.3 - sha256: 70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6 - requires_dist: - - charset-normalizer>=2,<4 - - idna>=2.5,<4 - - urllib3>=1.21.1,<3 - - certifi>=2017.4.17 - - pysocks>=1.5.6,!=1.5.7 ; extra == 'socks' - - chardet>=3.0.2,<6 ; extra == 'use-chardet-on-py3' - requires_python: '>=3.8' diff --git a/pyproject.toml b/pyproject.toml index 4535670..29e18dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,7 @@ version = "0.2.0" authors = [{ name = "Austin Gregg-Smith", email = "blooop@gmail.com" }] description = "A python package template" readme = "README.md" +license = "MIT" dependencies = [] @@ -12,11 +13,15 @@ Source = "https://github.com/blooop/rerun_examples" Home = "https://github.com/blooop/rerun_examples" [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.*" @@ -24,23 +29,22 @@ python = "3.10.*" python = "3.11.*" [tool.pixi.feature.py312.dependencies] python = "3.12.*" - -#an environment for launching vscode with rocker and deps_rocker -[tool.pixi.feature.devenv] -dependencies = { python = "3.10.*" } -pypi-dependencies = { deps-rocker = ">=0.2" } -tasks = { code = "scripts/launch_vscode.sh", code-nocache = "scripts/launch_vscode.sh --nocache" } +[tool.pixi.feature.py313.dependencies] +python = "3.13.*" [tool.pixi.pypi-dependencies] rerun_examples = { path = ".", editable = true } [project.optional-dependencies] test = [ - "pytest-cov>=4.1,<=5.0.0", - "pytest>=7.4,<=8.3.2", - "hypothesis>=6.104.2,<=6.111.2", - "ruff>=0.5.0,<=0.6.3", - "coverage>=7.5.4,<=7.6.1", + "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] @@ -48,25 +52,33 @@ requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build] -include= ["rerun_examples"] +include = ["rerun_examples"] # Environments [tool.pixi.environments] -default = {features = ["test"], solve-group = "default" } -py310 = ["py310","test"] -py311 = ["py311","test"] -py312 = ["py312","test"] - -devenv = { features = [ - "devenv", -], solve-group = "devenv", no-default-feature = true } +default = { features = ["test"], solve-group = "default" } +py310 = ["py310", "test"] +py311 = ["py311", "test"] +py312 = ["py312", "test"] +py313 = ["py313", "test"] [tool.pixi.tasks] +dev-add-docker = "devpod provider list | grep -qw docker || devpod provider add docker" +dev = { cmd = "devpod up . --ide none && ssh rerunexamples.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 rerunexamples.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" @@ -74,32 +86,21 @@ 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"] } +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","check-clean-workspace", "coverage", "coverage-report"] } -ci-push = {depends-on=["format","ruff-lint","update-lock","ci","push"]} +ci = { depends-on = [ + "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.ruff] -line-length = 100 - -target-version = "py310" - -[tool.ruff.lint] -# Never enforce `E501` (line length violations). -#"F841" will auto remove unused variables which is annoying during development -ignore = ["E501", "E902", "F841"] -# Allow unused variables when underscore-prefixed. -dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" - -# Ignore `E402` (import violations) in all `__init__.py` files, and in `path/to/file.py`. -[tool.ruff.lint.per-file-ignores] -"__init__.py" = ["E402", "F401"] - - [tool.coverage.run] omit = ["*/test/*", "__init__.py"] 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/rerun_examples.deps.yaml b/rerun_examples.deps.yaml index 41051d0..8a34811 100644 --- a/rerun_examples.deps.yaml +++ b/rerun_examples.deps.yaml @@ -10,6 +10,3 @@ apt_tools: pip_language-toolchain: - uv #use uv instead of pip - -script_pixi-user: - - scripts/install_pixi.sh \ No newline at end of file diff --git a/rockerc.yaml b/rockerc.yaml new file mode 100644 index 0000000..6c0a6a3 --- /dev/null +++ b/rockerc.yaml @@ -0,0 +1,17 @@ +# This file describes the docker image and rocker extensions to load +# Rockerc configuration: https://github.com/blooop/rockerc +# +# Key components: +# - image: Specifies the base image to pass to rocker +# - args: Lists additional features or tools to be added to the docker image + +image: ubuntu:24.04 +args: + - jquery + - x11 + - user + - pull + - deps + - git + - pixi + - cwd diff --git a/ruff.toml b/ruff.toml new file mode 100644 index 0000000..6aacb0e --- /dev/null +++ b/ruff.toml @@ -0,0 +1,16 @@ +line-length = 100 + +[lint] +# E501: Lines too long (maximum of 79 characters). +ignore = [ + "E501", # Long line that exceeds maximum allowed length. + "F841", # Local variable referenced before assignment, this is annoying during development. +] + +# Allow unused variables when underscore-prefixed. +dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" + +# Ignore `E402` (import violations) in all `__init__.py` files, and in `path/to/file.py`. +[lint.per-file-ignores] +"__init__.py" = ["E402", "F401"] +"**/{tests,docs,tools}/*" = ["E402"] diff --git a/scripts/install_pixi.sh b/scripts/install_pixi.sh deleted file mode 100755 index 81117c7..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 \ No newline at end of file diff --git a/scripts/launch_vscode.sh b/scripts/launch_vscode.sh index be5a332..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 @@ -9,19 +9,6 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #gets the current #move to the project root folder cd "$SCRIPT_DIR"/.. -git submodule update --init --recursive - -CONTAINER_NAME=${PWD##*/} -# CONTAINER_NAME="${PWD##*/}_$(date +%Y-%m-%d_%H-%M-%S)" - -echo "stopping existing container" "$CONTAINER_NAME" -# docker stop "$CONTAINER_NAME" || true -docker rename "$CONTAINER_NAME" "${CONTAINER_NAME}_$(date +%Y-%m-%d_%H-%M-%S)" || true - -CONTAINER_HEX=$(printf $CONTAINER_NAME | xxd -p | tr '\n' ' ' | sed 's/\\s//g' | tr -d ' '); - -#!/bin/bash - if ! dpkg -l | grep -q python3-venv; then echo "python3-venv is not installed. Installing..." sudo apt-get update @@ -38,20 +25,18 @@ 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 + 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 -# Run the rocker command with the specified parameters -rocker --nvidia --x11 --user --pull --git --image-name "$CONTAINER_NAME" --name "$CONTAINER_NAME" --volume "${PWD}":/workspaces/"${CONTAINER_NAME}":Z --deps --oyr-run-arg " --detach" ubuntu:22.04 "$@" +rockervsc deactivate - -#this follows the same convention as if it were opened by a vscode devcontainer -code --folder-uri vscode-remote://attached-container+"$CONTAINER_HEX"/workspaces/"${CONTAINER_NAME}" diff --git a/scripts/rename_project.sh b/scripts/rename_project.sh index e893501..f7710e6 100755 --- a/scripts/rename_project.sh +++ b/scripts/rename_project.sh @@ -1,22 +1,52 @@ #!/bin/bash +set -eo pipefail + +# Escape characters special in sed replacement strings (\, &, /) +escape_sed() { printf '%s\n' "$1" | sed 's/[\\&/]/\\&/g'; } mv rerun_examples "$1" mv rerun_examples.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/rerun_examples/$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 `rerunexamples` (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 `rerunexamples` goes first: a +# stripped name can never contain an underscore, so it can never manufacture a fresh +# `rerun_examples`. The other order breaks on a new name that itself contains +# `rerunexamples` -- `rerunexamples_fork` would come out as `rerunexamplesfork_fork`. +# The first and last expressions mask the prebuilt image reference: it is the one +# `rerun_examples` 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/rerunexamples/$ESCAPED_1_STRIPPED/g" -e "s/rerun_examples/$ESCAPED_1/g" -e 's|@@IMGREF@@|blooop/python_template/devcontainer|g' + +# update just the name field in devcontainer.json +sed -i "s/\"name\": \"rerun_examples\"/\"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 75d6173..3ecb0fd 100755 --- a/scripts/setup_host.sh +++ b/scripts/setup_host.sh @@ -1,57 +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-get update -sudo apt-get install ca-certificates curl +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-get update # Install docker -sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -#END OFFICIAL DOCKER INSTALL +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" -sudo groupadd docker -sudo usermod -aG docker $USER -newgrp docker +# --------------------------------------------------------------------------- +# 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. +# --------------------------------------------------------------------------- -#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 | \ +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-get update -sudo apt-get install -y nvidia-container-toolkit -sudo nvidia-ctk runtime configure --runtime=docker -sudo systemctl restart docker + 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 install git-lfs +sudo apt-get install -y git-lfs -#Install rocker and rocker extensions which are used to launch the devcontainer +# 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" +# --------------------------------------------------------------------------- +# 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.) +# --------------------------------------------------------------------------- -docker run hello-world +echo "testing docker install" +sudo docker run --rm hello-world -echo "you may need to restart your machine" +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 +# 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 + +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 0c12397..b3213bc 100644 --- a/test/test_basic.py +++ b/test/test_basic.py @@ -1,4 +1,5 @@ from unittest import TestCase + from rerun_examples.basic_class import BasicClass diff --git a/test/test_devcontainer.py b/test/test_devcontainer.py index dfa8adc..dff6fce 100644 --- a/test/test_devcontainer.py +++ b/test/test_devcontainer.py @@ -1,29 +1,49 @@ -import json import re import subprocess from pathlib import Path -DEVCONTAINER = Path(__file__).resolve().parents[1] / ".devcontainer" +REPO = Path(__file__).resolve().parent.parent +DEVCONTAINER = REPO / ".devcontainer" -def _home_bind_sources(): - text = (DEVCONTAINER / "devcontainer.json").read_text() - config = json.loads(re.sub(r"^\s*//.*$", "", text, flags=re.MULTILINE)) - for mount in config["mounts"]: - fields = dict(part.split("=", 1) for part in mount.split(",")) - if fields["type"] == "bind" and fields["source"].startswith("${localEnv:HOME}/"): - yield fields["source"].removeprefix("${localEnv:HOME}/") +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 a host without - # one of these directories cannot create the container at all. + """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( - [DEVCONTAINER / "claude-code" / "init-host.sh"], + [str(DEVCONTAINER / "claude-code" / "init-host.sh")], env={"HOME": str(tmp_path), "PATH": "/usr/bin:/bin"}, check=True, ) - sources = list(_home_bind_sources()) - assert sources - for source in sources: - assert (tmp_path / source).is_dir(), source + + 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"