Skip to content

Commit

Permalink
Try release editing as well
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Jun 28, 2024
1 parent 1958d41 commit 559d1b3
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 35 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/changerelease.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "Sync GitHub release notes with the changelog"
# Sync GitHub release notes with the changelog
name: "changerelease"
on:
workflow_dispatch:
push:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "Run static analysis, tests, and sync"
# Run static analysis, tests, and sync
name: "ci"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: True
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/contrib.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "Local contributor workflow"
# Local contributor workflow
name: "contrib"
on:
workflow_dispatch:
pull_request:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/high.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "Test upper-bound project dependencies"
# Test upper-bound project dependencies
name: "high"
on:
workflow_dispatch:
schedule:
Expand Down
36 changes: 28 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: "Release to PyPI"
# Publish release
name: "release"
on:
workflow_dispatch:
push:
branches: ["main"]
release:
types: ["published"]
defaults:
run:
shell: "pwsh"
Expand All @@ -28,14 +29,12 @@ jobs:
with:
python-version: "${{ matrix.python }}"
- run: "scripts/Sync-Py.ps1"
- run: ". scripts/Initialize-Shell.ps1; flit build"
- run: ". scripts/Initialize-Shell.ps1; python -m build"
- uses: "actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808" # v4.3.3
with:
name: "python-package-distributions"
path: "dist/"
publish-to-pypi:
if: github.ref || format('{0}{1}', 'refs/tags/', github.event.release.tag_name)
name: "Publish Python 🐍 distribution 📦 to PyPI"
publish:
needs: "build"
permissions:
id-token: "write"
Expand All @@ -52,4 +51,25 @@ jobs:
with:
name: "python-package-distributions"
path: "dist/"
- uses: "pypa/gh-action-pypi-publish@release/v1"
- uses: "pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0" # v1.9.0
github-release:
needs: "build"
permissions:
contents: "write"
id-token: "write"
strategy:
matrix:
runner: ["ubuntu-22.04"]
python: ["3.11"]
runs-on: "${{ matrix.runner }}"
steps:
- uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7
with:
name: "python-package-distributions"
path: "dist/"
- uses: "sigstore/gh-action-sigstore-python@61f6a500bbfdd9a2a339cf033e5421951fbc1cd2" # v2.1.1
with:
inputs: "./dist/*.tar.gz ./dist/*.whl"
- run: "gh release upload '${{ github.event.release.tag_name }}' dist/**"
env:
GITHUB_TOKEN: ${{ github.token }}
24 changes: 12 additions & 12 deletions lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
--editable scripts/
--editable tests/
--editable submodules/boilercore
build==1.2.1
debugpy==1.8.1
dvc[gs]==3.51.2
fawltydeps==0.15.0
flit==3.9.0
keyring==25.2.1
pandas-stubs~=2.2.2
pipdeptree==2.23.0
Expand Down
19 changes: 9 additions & 10 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ asttokens==2.4.1
asyncssh==2.14.2
atpublic==4.1.0
attrs==23.2.0
av==12.1.0
av==12.2.0
babel==2.15.0
backoff==2.2.1
backports-tarfile==1.2.0
Expand All @@ -29,6 +29,7 @@ blosc2==2.7.0
boilercine @ git+https://github.com/blakeNaccarato/boilercine@046ee0146394bebf5693fe0c18bbcea3d3e64fe5
bokeh==3.4.2
bottleneck==1.4.0
build==1.2.1
cachetools==5.3.3
cachier @ git+https://github.com/blakeNaccarato/cachier@0892f53dc8fd9fb8a7f959305a1a9ec692876dc0
celery==5.4.0
Expand Down Expand Up @@ -74,13 +75,13 @@ docstring-parser==0.15
docutils==0.21.2
dpath==2.2.0
dulwich==0.22.1
dunamai==1.21.1
dunamai==1.21.2
dvc-data==3.15.1
dvc-gs==3.0.1
dvc-http==2.32.0
dvc-objects==5.1.0
dvc-render==1.0.2
dvc-studio-client==0.20.0
dvc-studio-client==0.21.0
dvc-task==0.4.0
dvc==3.51.2
entrypoints==0.4
Expand All @@ -92,16 +93,14 @@ fawltydeps==0.15.0
filelock==3.15.4
fiona==1.9.6
flatten-dict==0.4.2
flit-core==3.9.0
flit==3.9.0
flox==0.9.8
flufl-lock==7.1.1
fonttools==4.53.0
frozenlist==1.4.1
fsspec==2024.6.0
fsspec==2024.6.1
funcy==2.0
future==1.0.0
gcsfs==2024.6.0
gcsfs==2024.6.1
geopandas==0.14.3
gitdb==4.0.11
gitpython==3.1.43
Expand Down Expand Up @@ -204,7 +203,7 @@ pathtools==0.1.2
pexpect==4.9.0
pillow==10.3.0
pip-requirements-parser==32.0.1
pip==24.1
pip==24.1.1
pipdeptree==2.23.0
pipx==1.6.0
platformdirs==3.11.0
Expand Down Expand Up @@ -241,6 +240,7 @@ pygments==2.18.0
pygtrie==2.5.0
pyparsing==3.0.9
pyproj==3.6.1
pyproject-hooks==1.1.0
pyqtgraph==0.13.3
pyright==1.1.367
pyside6 == 6.7.1 ; sys_platform == 'linux'
Expand Down Expand Up @@ -326,7 +326,6 @@ tblib==3.0.0
tifffile==2024.6.18
timecode==1.4.0
tinycss2==1.3.0
tomli-w==1.0.0
tomlkit==0.12.4
toolz==0.12.1
tornado==6.4.1
Expand All @@ -345,7 +344,7 @@ userpath==1.9.2
uvicorn==0.30.1
vine==5.1.0
virtualenv==20.26.3
voluptuous==0.15.0
voluptuous==0.15.1
watchdog==4.0.1
watchfiles==0.22.0
wcwidth==0.2.13
Expand Down

0 comments on commit 559d1b3

Please sign in to comment.