Skip to content

Commit b301171

Browse files
committed
Merge branch 'master' into mnt/nipype_interf_convert_cont
2 parents bdbce8e + 01682de commit b301171

15 files changed

+187
-109
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## Acknowledgment
2+
- [ ] I acknowledge that this contribution will be available under the Apache 2 license.
3+
14
## Types of changes
25
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
36
- [ ] Bug fix (non-breaking change which fixes an issue)
@@ -16,6 +19,3 @@
1619
(we are using `black`: you can `pip install pre-commit`,
1720
run `pre-commit install` in the `pydra` directory
1821
and `black` will be run automatically with each commit)
19-
20-
## Acknowledgment
21-
- [ ] I acknowledge that this contribution will be available under the Apache 2 license.

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Upload to PyPI
55

66
on:
77
release:
8-
types: [created]
8+
types: [published]
99

1010
jobs:
1111
deploy:
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Set up Python
17-
uses: actions/setup-python@v1
17+
uses: actions/setup-python@v2
1818
with:
1919
python-version: '3.x'
2020
- name: Install dependencies

.github/workflows/testallowfail.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/testpydra.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ jobs:
1212
matrix:
1313
os: [macos-latest, ubuntu-latest, windows-latest]
1414
python-version: [3.7, 3.8]
15-
install: [min-req, install, develop, wheel]
15+
install: [install, develop, wheel]
1616
fail-fast: false
1717
runs-on: ${{ matrix.os }}
1818

1919

2020
steps:
2121
- uses: actions/checkout@v2
22+
- name: Disable etelemetry
23+
run: echo ::set-env name=NO_ET::TRUE
2224
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
2325
uses: actions/setup-python@v2
2426
with:
@@ -27,9 +29,10 @@ jobs:
2729
run: python -m pip install --upgrade pip setuptools
2830

2931

30-
- name: Install dependencies (min-requirements.txt)
31-
if: matrix.install == 'min-req'
32-
run: pip install -r min-requirements.txt
32+
- name: Install Pydra tests dependencies (develop or setup.py install)
33+
if: matrix.install == 'develop' || matrix.install == 'install'
34+
run: pip install ".[test]"
35+
3336

3437
- name: Install dependencies (setup.py install)
3538
if: matrix.install == 'install'
@@ -42,15 +45,7 @@ jobs:
4245
pip install dist/*.whl
4346
4447
45-
- name: Install Pydra (min-requirements.txt or setup.py install)
46-
if: matrix.install == 'min-req' || matrix.install == 'install'
47-
run: pip install ".[test]"
48-
49-
- name: Install Pydra (setup.py develop)
50-
if: matrix.install == 'develop'
51-
run: pip install -e ".[test]"
52-
53-
- name: Install Pydra (wheel)
48+
- name: Install Pydra tests dependencies (wheel)
5449
if: matrix.install == 'wheel'
5550
run: pip install "$( ls dist/pydra*.whl )[test]"
5651

.github/workflows/testsingularity.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- name: Set env
1616
run: |
1717
echo ::set-env name=RELEASE_VERSION::v3.5.0
18+
echo ::set-env name=NO_ET::TRUE
1819
- name: Setup Singularity
1920
uses: actions/checkout@v2
2021
with:
@@ -60,6 +61,6 @@ jobs:
6061

6162

6263
- name: Pytest
63-
run: pytest -vs --cov pydra --cov-config .coveragerc --cov-report xml:cov.xml --doctest-modules pydra
64+
run: pytest -vs --cov pydra --cov-config .coveragerc --cov-report xml:cov.xml pydra/engine/tests/test_singularity.py
6465
- name: Upload to codecov
6566
run: codecov -f cov.xml -F unittests -e GITHUB_WORKFLOW

.github/workflows/testslurm.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ jobs:
99
DOCKER_IMAGE: mgxd/slurm:19.05.1
1010

1111
steps:
12+
- name: Disable etelemetry
13+
run: echo ::set-env name=NO_ET::TRUE
1214
- uses: actions/checkout@v2
1315
- name: Pull docker image
1416
run: |
1517
docker pull $DOCKER_IMAGE
1618
# Have image running in background
17-
docker run `bash <(curl -s https://codecov.io/env)` -itd -h ernie --name slurm -v `pwd`:/pydra $DOCKER_IMAGE
19+
docker run `bash <(curl -s https://codecov.io/env)` -itd -h ernie --name slurm -v `pwd`:/pydra -e NO_ET=$NO_ET $DOCKER_IMAGE
1820
- name: Display previous jobs with sacct
1921
run: |
2022
echo "Allowing ports/daemons time to start" && sleep 10
@@ -29,6 +31,7 @@ jobs:
2931
fi
3032
- name: Setup Python
3133
run: |
34+
docker exec slurm bash -c "echo $NO_ET"
3235
docker exec slurm bash -c "ls -la && echo list top level dir"
3336
docker exec slurm bash -c "ls -la /pydra && echo list pydra dir"
3437
docker exec slurm bash -c "pip install -e /pydra[test] && python -c 'import pydra; print(pydra.__version__)'"

.github/workflows/teststyle.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@ jobs:
2020
- name: Update build tools
2121
run: python -m pip install --upgrade pip setuptools
2222

23-
- name: Install dependencies
24-
run: pip install -r min-requirements.txt
2523
- name: Install Pydra
26-
run: pip install ".[test]"
24+
run: pip install ".[dev]"
2725

2826
- name: Check Style
2927
run: |
3028
pip install black==19.3b0 codecov
31-
black --check pydra tools setup.py
29+
black --check pydra setup.py

README.rst

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
1+
|GHAction| |CircleCI| |codecov|
12

2-
.. image:: https://raw.githubusercontent.com/nipype/pydra/master/docs/logo/pydra_logo.jpg
3-
:width: 50
4-
:alt: pydra logo
5-
6-
A simple dataflow engine with scalable semantics.
3+
|Pydralogo|
74

5+
.. |Pydralogo| image:: https://raw.githubusercontent.com/nipype/pydra/master/docs/logo/pydra_logo.jpg
6+
:width: 200px
7+
:alt: pydra logo
88

9-
.. image:: https://github.com/nipype/pydra/workflows/Pydra/badge.svg
9+
.. |GHAction| image:: https://github.com/nipype/pydra/workflows/Pydra/badge.svg
1010
:alt: GitHub Actions CI
1111
:target: https://github.com/nipype/Pydra/actions
1212

13-
|CircleCI|
13+
.. |CircleCI| image:: https://circleci.com/gh/nipype/pydra.svg?style=svg
14+
:alt: CircleCI
1415

15-
.. |CircleCI| image:: https://circleci.com/gh/nipype/pydra.svg?style=svg
16-
:alt: CircleCI
16+
.. |codecov| image:: https://codecov.io/gh/nipype/pydra/branch/master/graph/badge.svg
17+
:alt: codecov
1718

19+
======================
20+
Pydra: Dataflow Engine
21+
======================
1822

19-
|codecov|
23+
A simple dataflow engine with scalable semantics.
2024

21-
.. |codecov| image:: https://codecov.io/gh/nipype/pydra/branch/master/graph/badge.svg
22-
:alt: codecov
25+
Pydra is a rewrite of the Nipype engine with mapping and joining as
26+
first-class operations. It forms the core of the Nipype 2.0 ecosystem.
2327

24-
The goal of pydra is to provide a lightweight Python dataflow engine for DAG construction, manipulation, and distributed execution.
28+
The goal of pydra is to provide a lightweight Python dataflow engine for DAG
29+
construction, manipulation, and distributed execution.
2530

2631
Feature list:
2732
=============
@@ -59,10 +64,10 @@ Installation
5964
Note that installation fails with older versions of pip on Windows. Upgrade pip before installing:
6065

6166
::
62-
67+
6368
pip install –upgrade pip
6469
pip install pydra
65-
70+
6671

6772
Developer installation
6873
======================

min-requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

pydra/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323

2424
def check_latest_version():
25+
2526
import etelemetry
2627

2728
return etelemetry.check_available_version("nipype/pydra", __version__, lgr=logger)

0 commit comments

Comments
 (0)