This repository was archived by the owner on Jan 30, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 steps :
1111 - uses : actions/checkout@v4
1212
13+ - uses : actions/setup-python@v5
14+ with :
15+ python-version-file : " scripts/generate-schema/pyproject.toml"
16+
17+ - name : Install uv
18+ uses : astral-sh/setup-uv@v6
19+
1320 - name : Set up Go
1421 uses : actions/setup-go@v5
1522 with :
Original file line number Diff line number Diff line change 2424 steps :
2525 - uses : actions/checkout@v4
2626
27+ - uses : actions/setup-python@v5
28+ with :
29+ python-version-file : " scripts/generate-schema/pyproject.toml"
30+
31+ - name : Install uv
32+ uses : astral-sh/setup-uv@v6
33+
2734 - name : Set up Go
2835 uses : actions/setup-go@v5
2936 with :
Original file line number Diff line number Diff line change 2626 - uses : actions/checkout@v4
2727 if : ${{ steps.check_pr.outputs.pr_count == '0' }}
2828
29+ - uses : actions/setup-python@v5
30+ with :
31+ python-version-file : " scripts/generate-schema/pyproject.toml"
32+
33+ - name : Install uv
34+ uses : astral-sh/setup-uv@v6
35+
2936 - name : Set up Go
3037 uses : actions/setup-go@v5
3138 if : ${{ steps.check_pr.outputs.pr_count == '0' }}
Original file line number Diff line number Diff line change @@ -41,14 +41,11 @@ generate.graphql: install.genqlient
4141# ## Generating Catalog API GraphQL Schema
4242.PHONY : generate.schema
4343generate.schema : schemagen-venv
44- $( SCHEMAGEN_VENV_BIN_DIR ) /python3 scripts/generate-schema/ generate-schema.py > internal/genpyxis/schema.graphql
44+ uv --directory scripts/generate-schema run generate-schema.py > internal/genpyxis/schema.graphql
4545
46- SCHEMAGEN_VENV_DIR = $(OUT_DIR ) /generate-schema-venv
47- SCHEMAGEN_VENV_BIN_DIR = $(OUT_DIR ) /generate-schema-venv/bin
4846.PHONY : schemagen-venv
4947schemagen-venv :
50- python3 -m venv $(SCHEMAGEN_VENV_DIR )
51- $(SCHEMAGEN_VENV_BIN_DIR ) /pip3 install -r scripts/generate-schema/requirements.txt
48+ uv --directory scripts/generate-schema sync --frozen
5249
5350# ## Enforcing Project Standards
5451.PHONY : lint
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " generate-schema"
3+ version = " 0.1.0"
4+ requires-python = " >=3.13"
5+ dependencies = [
6+ " gql[aiohttp]>=4.0.0" ,
7+ " graphql-core>=3.2.6" ,
8+ ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments