Skip to content

Commit 6a1848f

Browse files
authored
Merge branch 'master' into flux-psij-test
2 parents 772d07a + d674840 commit 6a1848f

Some content is hidden

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

46 files changed

+2935
-1862
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ on:
77
release:
88
types: [published]
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
deploy:
1216
runs-on: ubuntu-latest
1317

1418
steps:
1519
- uses: actions/checkout@v4
1620
- name: Set up Python
17-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v5
1822
with:
1923
python-version: '3.x'
2024
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ on:
66
branches:
77
- master
88

9-
env:
10-
# Pin to v10.28.0, which (as of 2021-05-25) is the latest version with assets
11-
AUTO_VERSION: v10.29.3
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
1212

1313
jobs:
1414
auto-release:
@@ -27,18 +27,18 @@ jobs:
2727
run: git config --local --unset http.https://github.com/.extraheader
2828

2929
- name: Set up Python
30-
uses: actions/setup-python@v4
30+
uses: actions/setup-python@v5
3131
with:
3232
python-version: 3
3333

3434
- name: Download auto
3535
run: |
36-
auto_download_url="$(curl -fsSL https://api.github.com/repos/intuit/auto/releases/tags/$AUTO_VERSION | jq -r '.assets[] | select(.name == "auto-linux.gz") | .browser_download_url')"
36+
auto_download_url="$(curl -fsSL https://api.github.com/repos/intuit/auto/releases/latest | jq -r '.assets[] | select(.name == "auto-linux.gz") | .browser_download_url')"
3737
wget -O- "$auto_download_url" | gunzip > ~/auto
3838
chmod a+x ~/auto
3939
4040
- name: Create release
4141
run: |
4242
~/auto shipit -vv
4343
env:
44-
GH_TOKEN: ${{ secrets.AUTO_USER_TOKEN }}
44+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/testdask.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
os: [ubuntu-latest, macos-latest]
21-
python-version: ['3.9', '3.10', '3.11']
21+
python-version: ['3.9', '3.10', '3.11', '3.12']
2222
fail-fast: false
2323
runs-on: ${{ matrix.os }}
2424

@@ -29,7 +29,7 @@ jobs:
2929
repository: ${{ github.repository }}
3030

3131
- name: Setup Python version ${{ matrix.python-version }}
32-
uses: actions/setup-python@v4
32+
uses: actions/setup-python@v5
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535

.github/workflows/testpsijlocal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
repository: ${{ github.repository }}
3030

3131
- name: Setup Python version ${{ matrix.python-version }}
32-
uses: actions/setup-python@v4
32+
uses: actions/setup-python@v5
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535

.github/workflows/testpsijslurm.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- master
77
pull_request:
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build:
1115
strategy:

.github/workflows/testpydra.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
- uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
28-
- uses: actions/setup-python@v4
28+
- uses: actions/setup-python@v5
2929
with:
3030
python-version: 3
3131
- run: pip install --upgrade build twine
3232
- run: python -m build
3333
- run: twine check dist/*
34-
- uses: actions/upload-artifact@v3
34+
- uses: actions/upload-artifact@v4
3535
with:
3636
name: dist
3737
path: dist/
@@ -40,7 +40,7 @@ jobs:
4040
git clean -fxd
4141
mkdir archive
4242
git archive -o archive/pydra.zip HEAD
43-
- uses: actions/upload-artifact@v3
43+
- uses: actions/upload-artifact@v4
4444
with:
4545
name: archive
4646
path: archive/
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
matrix:
5252
os: [macos-latest, ubuntu-latest, windows-latest]
53-
python-version: ['3.8', '3.9', '3.10', '3.11']
53+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
5454
install: ['wheel']
5555
include:
5656
- os: 'ubuntu-latest'
@@ -68,13 +68,13 @@ jobs:
6868

6969
steps:
7070
- name: Fetch sdist/wheel
71-
uses: actions/download-artifact@v3
71+
uses: actions/download-artifact@v4
7272
if: matrix.install == 'sdist' || matrix.install == 'wheel'
7373
with:
7474
name: dist
7575
path: dist/
7676
- name: Fetch git archive
77-
uses: actions/download-artifact@v3
77+
uses: actions/download-artifact@v4
7878
if: matrix.install == 'archive'
7979
with:
8080
name: archive
@@ -84,7 +84,7 @@ jobs:
8484
if: matrix.install == 'repo'
8585

8686
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
87-
uses: actions/setup-python@v4
87+
uses: actions/setup-python@v5
8888
with:
8989
python-version: ${{ matrix.python-version }}
9090
- name: Update pip

.github/workflows/testsingularity.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- master
77
pull_request:
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build:
1115
name: Build
@@ -27,7 +31,7 @@ jobs:
2731
ref: 'v3.7.1'
2832
path: 'singularity'
2933
- name: Setup GO
30-
uses: actions/setup-go@v4
34+
uses: actions/setup-go@v5
3135
with:
3236
go-version: '^1.13'
3337
- name: Install OS deps
@@ -49,7 +53,7 @@ jobs:
4953
5054
5155
- name: Set up Python ${{ matrix.python-version }}
52-
uses: actions/setup-python@v4
56+
uses: actions/setup-python@v5
5357
with:
5458
python-version: ${{ matrix.python-version }}
5559
- name: Update build tools

.github/workflows/testslurm.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- master
77
pull_request:
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build:
1115
strategy:

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.4.0
5+
rev: v4.6.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- id: check-yaml
1010
- id: check-added-large-files
1111
- repo: https://github.com/psf/black
12-
rev: 23.9.1
12+
rev: 24.4.2
1313
hooks:
1414
- id: black
1515
- repo: https://github.com/codespell-project/codespell
16-
rev: v2.2.5
16+
rev: v2.3.0
1717
hooks:
1818
- id: codespell
1919
additional_dependencies:
2020
- tomli
2121
- repo: https://github.com/PyCQA/flake8
22-
rev: 6.1.0
22+
rev: 7.0.0
2323
hooks:
2424
- id: flake8

docs/changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Release Notes
99
* adding simple validators to input spec (using ``attr.validator``)
1010
* adding ``create_dotfile`` for workflows, that creates graphs as dotfiles (can convert to other formats if dot available)
1111
* adding a simple user guide with ``input_spec`` description
12-
* expanding docstrings for ``State``, ``audit`` and ``messanger``
12+
* expanding docstrings for ``State``, ``audit`` and ``messenger``
1313
* updating syntax to newer python
1414

1515
0.7.0

0 commit comments

Comments
 (0)