Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Sep 16, 2024
1 parent 1cf3e10 commit 6aabd1a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
python-version: "${{ matrix.python }}"
- run: "scripts/Sync-Py.ps1 -Release"
- run: "uv build"
- run: "bin/uv build"
- uses: actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3
with:
subject-path: "dist/**"
Expand Down
10 changes: 3 additions & 7 deletions lock.json

Large diffs are not rendered by default.

39 changes: 5 additions & 34 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --universal --all-extras --exclude-newer 2024-09-16T19:24:20.320182Z --python-version 3.11 --resolution lowest-direct --override requirements/override.txt requirements/dev.in pyproject.toml docs/pyproject.toml scripts/pyproject.toml tests/pyproject.toml
# uv pip compile --universal --all-extras --exclude-newer 2024-09-16T20:43:21.998255Z --python-version 3.11 --resolution lowest-direct --override requirements/override.txt requirements/dev.in pyproject.toml docs/pyproject.toml scripts/pyproject.toml tests/pyproject.toml
-e .
# via -r requirements/dev.in
-e docs
Expand Down Expand Up @@ -57,18 +57,13 @@ click==8.1.7
colorama==0.4.6
# via
# click
# copier
# ipython
# pipx
# pytest
# sphinx
# sphinx-autobuild
comm==0.2.2
# via ipykernel
copier==9.2.0
# via
# context-models-tools (scripts/pyproject.toml)
# context-models-tools
coverage==7.6.1
# via pytest-cov
cyclopts==2.9.3
Expand Down Expand Up @@ -100,8 +95,6 @@ dulwich==0.22.1
# via
# context-models-tools (scripts/pyproject.toml)
# context-models-tools
dunamai==1.22.0 ; python_full_version < '4.0.0'
# via copier
executing==2.1.0
# via stack-data
fastjsonschema==2.20.0
Expand All @@ -110,8 +103,6 @@ fawltydeps==0.16.0
# via -r requirements/dev.in
filelock==3.16.0
# via virtualenv
funcy==2.0
# via copier
greenlet==3.1.0 ; (python_full_version < '3.13' and platform_machine == 'AMD64') or (python_full_version < '3.13' and platform_machine == 'WIN32') or (python_full_version < '3.13' and platform_machine == 'aarch64') or (python_full_version < '3.13' and platform_machine == 'amd64') or (python_full_version < '3.13' and platform_machine == 'ppc64le') or (python_full_version < '3.13' and platform_machine == 'win32') or (python_full_version < '3.13' and platform_machine == 'x86_64')
# via sqlalchemy
h11==0.14.0
Expand Down Expand Up @@ -147,14 +138,10 @@ jedi==0.19.1
# via ipython
jinja2==3.1.4
# via
# copier
# jinja2-ansible-filters
# myst-parser
# sphinx
# sphinx-tippy
# towncrier
jinja2-ansible-filters==1.3.2
# via copier
jsonschema==4.23.0
# via nbformat
jsonschema-specifications==2023.12.1
Expand Down Expand Up @@ -222,8 +209,6 @@ numpydoc==1.7.0
# context-models-docs
packaging==24.1
# via
# copier
# dunamai
# ipykernel
# pip-requirements-parser
# pipdeptree
Expand All @@ -233,8 +218,6 @@ packaging==24.1
# sphinx
parso==0.8.4
# via jedi
pathspec==0.12.1
# via copier
pexpect==4.9.0 ; sys_platform != 'emscripten' and sys_platform != 'win32'
# via ipython
pip==24.2
Expand All @@ -254,14 +237,10 @@ platformdirs==4.3.3
# virtualenv
pluggy==1.5.0
# via pytest
plumbum==1.8.3
# via copier
pre-commit==3.7.1
# via -r requirements/dev.in
prompt-toolkit==3.0.47
# via
# ipython
# questionary
# via ipython
psutil==6.0.0
# via ipykernel
ptyprocess==0.7.0 ; sys_platform != 'emscripten' and sys_platform != 'win32'
Expand All @@ -278,7 +257,6 @@ pycparser==2.22 ; implementation_name == 'pypy'
# via cffi
pydantic==2.9.1
# via
# copier
# fawltydeps
# pydantic-settings
pydantic-core==2.23.3
Expand All @@ -292,7 +270,6 @@ pydata-sphinx-theme==0.15.4
pygments==2.18.0
# via
# accessible-pygments
# copier
# ipython
# pydata-sphinx-theme
# rich
Expand Down Expand Up @@ -327,14 +304,10 @@ python-dotenv==1.0.1
# context-models-tools (scripts/pyproject.toml)
# context-models-tools
# pydantic-settings
pywin32==306 ; (platform_python_implementation != 'PyPy' and sys_platform == 'win32') or (platform_python_implementation != 'PyPy' and platform_system == 'Windows')
# via
# jupyter-core
# plumbum
pywin32==306 ; platform_python_implementation != 'PyPy' and sys_platform == 'win32'
# via jupyter-core
pyyaml==6.0.2
# via
# copier
# jinja2-ansible-filters
# jupyter-cache
# myst-nb
# myst-parser
Expand All @@ -344,8 +317,6 @@ pyzmq==26.2.0
# via
# ipykernel
# jupyter-client
questionary==1.10.0
# via copier
referencing==0.35.1
# via
# jsonschema
Expand Down Expand Up @@ -461,7 +432,7 @@ sphinxcontrib-towncrier==0.4.0a0
# via
# context-models-docs (docs/pyproject.toml)
# context-models-docs
sqlalchemy==2.0.34
sqlalchemy==2.0.35
# via jupyter-cache
stack-data==0.6.3
# via ipython
Expand Down
9 changes: 5 additions & 4 deletions scripts/Sync-Template.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Param(
)
begin {
. scripts/Initialize-Shell.ps1
$Copier = 'copier@9.2.0'
$Template = 'submodules/template'
$TemplateExists = $Template | Test-Path
$Template = $TemplateExists ? $Template : 'origin/main'
Expand All @@ -37,9 +38,9 @@ process {
elseif (!$TemplateExists -and $Stay) { return }
$Ref = Get-Ref $Ref
if ($Recopy) {
if ($Prompt) { return copier recopy --overwrite --vcs-ref=$Ref }
return copier recopy --overwrite --defaults --vcs-ref=$Ref
if ($Prompt) { return uvx $Copier recopy --overwrite --vcs-ref=$Ref }
return uvx $Copier recopy --overwrite --defaults --vcs-ref=$Ref
}
if ($Prompt) { return copier update --vcs-ref=$Ref }
return copier update --defaults --vcs-ref=$Ref
if ($Prompt) { return uvx $Copier update --vcs-ref=$Ref }
return uvx $Copier update --defaults --vcs-ref=$Ref
}
1 change: 0 additions & 1 deletion scripts/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ version = "0.0.0"
description = "Tools."
dependencies = [
# ? Core script tools
"copier==9.2.0",
"cyclopts==2.9.3",
"dulwich==0.22.1",
"ipython==8.26.0",
Expand Down

0 comments on commit 6aabd1a

Please sign in to comment.