Skip to content

Commit d229666

Browse files
authored
Merge branch 'main' into refactor/typings-auto-_discovery
2 parents d9444e2 + f9ab472 commit d229666

192 files changed

Lines changed: 18382 additions & 5708 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/skills/generate-openenv-env/assets/openenv_env_template/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ openenv push
9898
openenv push --repo-id my-org/my-env
9999

100100
# Push with a custom base image
101-
openenv push --base-image ghcr.io/meta-pytorch/openenv-base:latest
101+
openenv push --base-image ghcr.io/huggingface/openenv-base:latest
102102

103103
# Push as a private space
104104
openenv push --private

.claude/skills/generate-openenv-env/assets/openenv_env_template/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ requires-python = ">=3.10"
1616
dependencies = [
1717
# Core OpenEnv runtime (provides FastAPI server + HTTP client types)
1818
# install from github
19-
# "openenv-core[core] @ git+https://github.com/huggingface/OpenEnv.git",
20-
"openenv-core[core]>=0.2.2",
19+
# "openenv @ git+https://github.com/huggingface/OpenEnv.git",
20+
"openenv>=0.2.2",
2121
# Environment-specific dependencies
2222
# Add all dependencies needed for your environment here
2323
# Examples:

.claude/skills/generate-openenv-env/assets/openenv_env_template/server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# - Standalone environments (with openenv from PyPI/Git)
1111
# The build script (openenv build) handles context detection and sets appropriate build args.
1212

13-
ARG BASE_IMAGE=ghcr.io/meta-pytorch/openenv-base:latest
13+
ARG BASE_IMAGE=ghcr.io/huggingface/openenv-base:latest
1414
FROM ${BASE_IMAGE} AS builder
1515

1616
WORKDIR /app
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
openenv-core[core]>=0.2.2
1+
openenv>=0.2.2
22
fastapi>=0.116.0
33
uvicorn>=0.24.0

.claude/skills/generate-openenv-env/references/openenv-docs-environment-builder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ openenv push --repo-id my-org/my-env
332332
openenv push --registry ghcr.io/my-org --tag my-env:latest
333333

334334
# Customize image base or visibility
335-
openenv push --base-image ghcr.io/meta-pytorch/openenv-base:latest --private
335+
openenv push --base-image ghcr.io/huggingface/openenv-base:latest --private
336336
```
337337

338338
Key options:

.claude/skills/release/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This skill orchestrates the repo-embedded deployment tooling and documents the `
1616
1. **Stage envs with `scripts/prepare_hf_deployment.sh`.** Default arguments deploy every *deployable* env from `envs/`. Pass `--env <name>` to target a subset. The script:
1717
- Resolves the requested OpenEnv ref for staged dependency rewrites. If `0.2.2` is only a release-candidate label and no `v0.2.2` tag exists yet, the script should fall back to `main` for env dependency rewrites while keeping the Hub suffix at `-0.2.2`.
1818
- Rewrites loose `openenv-core[core]>=...` specs and direct Dockerfile installs to `git+https://github.com/huggingface/OpenEnv.git@<resolved-ref>` so the sweep does not silently install `0.2.1` from PyPI.
19-
- Builds a staging tree with `src/`, `envs/<env>/`, and a rewritten `Dockerfile` that sets `BASE_IMAGE` to `ghcr.io/meta-pytorch/openenv-base:latest` unless a hash is supplied.
19+
- Builds a staging tree with `src/`, `envs/<env>/`, and a rewritten `Dockerfile` that sets `BASE_IMAGE` to `ghcr.io/huggingface/openenv-base:latest` unless a hash is supplied.
2020
- Generates a README with Hub metadata, enforces `openenv`/`openenv-<version>` tags, and adds the `HUB_TAG` used in collection sync.
2121
- Uses `hf repo create`/`hf upload` plus visibility flags to push Docker spaces.
2222
2. **Suffix naming and privacy.** Deploy to private spaces named `<env>-0.2.2` (set `SPACE_SUFFIX=-0.2.2` or rely on the version-derived default). Use `--private` to keep the collection private for now. The repo deploy script should update only the versioned collection during this phase, not the global tagged collection.

.github/workflows/auto-bump-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout main
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@v7
1717
with:
1818
ref: main
1919
fetch-depth: 0

.github/workflows/deploy-hf-env.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
contents: read
4747
steps:
4848
- name: Checkout repository
49-
uses: actions/checkout@v6
49+
uses: actions/checkout@v7
5050

5151
- name: Set up Python
5252
uses: actions/setup-python@v6
@@ -66,6 +66,7 @@ jobs:
6666
- name: Deploy selected environments
6767
env:
6868
HF_TOKEN: ${{ secrets.HF_TOKEN }}
69+
ENVS_CSV_INPUT: ${{ github.event.inputs.envs_csv }}
6970
run: |
7071
set -euo pipefail
7172
chmod +x scripts/prepare_hf_deployment.sh
@@ -90,8 +91,8 @@ jobs:
9091
cmd+=(--dry-run)
9192
fi
9293
93-
if [ -n "${{ github.event.inputs.envs_csv }}" ]; then
94-
IFS=',' read -r -a envs <<< "${{ github.event.inputs.envs_csv }}"
94+
if [ -n "$ENVS_CSV_INPUT" ]; then
95+
IFS=',' read -r -a envs <<< "$ENVS_CSV_INPUT"
9596
for env_name in "${envs[@]}"; do
9697
trimmed="$(echo "$env_name" | xargs)"
9798
if [ -n "$trimmed" ]; then

.github/workflows/docker-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout code
27-
uses: actions/checkout@v6
27+
uses: actions/checkout@v7
2828

2929
- name: Set up Docker Buildx
3030
uses: docker/setup-buildx-action@v4
@@ -121,7 +121,7 @@ jobs:
121121

122122
steps:
123123
- name: Checkout code
124-
uses: actions/checkout@v6
124+
uses: actions/checkout@v7
125125

126126
- name: Set up Docker Buildx
127127
uses: docker/setup-buildx-action@v4

.github/workflows/manage-hf-collection.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v6
27+
uses: actions/checkout@v7
2828

2929
- name: Set up Python
3030
uses: actions/setup-python@v6

0 commit comments

Comments
 (0)