Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REL: 1.6.1 #3336

Merged
merged 9 commits into from
Jun 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 1 addition & 71 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,61 +204,6 @@ jobs:
- /tmp/docker/cache/Dockerfile.base-pruned
key: dockerfile-cache-v1-{{ .Branch }}-{{ checksum "/tmp/docker/cache/Dockerfile.base-pruned" }}

pypi_precheck:
machine: *machine_kwds
working_directory: /home/circleci/nipype
steps:
- checkout:
path: /home/circleci/nipype
- run:
name: Check pypi preconditions
command: |
pyenv local 3.6.5
pip install --upgrade pip twine future wheel readme_renderer setuptools
python setup.py sdist bdist_wheel
twine check dist/*
- run:
name: Validate Python 3 installation
command: |
pyenv local 3.6.5
pip install --upgrade pip
pip install dist/nipype-*-py3-none-any.whl
- run:
name: Validate Python 3.7 installation
command: |
pyenv local 3.7.0
pip install --upgrade pip
# Pre-install a version of numpy that will not pass
pip install numpy==1.15.0
pip install dist/nipype-*-py3-none-any.whl
# Numpy should be upgraded to >= 1.15.3
test "$(pip show numpy | grep Version)" \> "Version: 1.15.2"
- run:
name: Check python_requires prevents installation on Python 3.3
command: |
pyenv install 3.3.7
pyenv local 3.3.7
FAIL=false
pip install dist/nipype-*-py2.py3-none-any.whl || FAIL=true
$FAIL
- store_artifacts:
path: /home/circleci/nipype/dist

deploy_pypi:
machine: *machine_kwds
working_directory: /home/circleci/nipype
steps:
- checkout:
path: /home/circleci/nipype
- run:
name: Deploy to PyPI
command: |
pyenv local 3.6.5
pip install --upgrade twine wheel readme_renderer setuptools
python setup.py check -r -s
python setup.py sdist bdist_wheel
twine upload dist/*

update_feedstock:
machine: *machine_kwds
working_directory: /home/circleci/nipype
Expand Down Expand Up @@ -295,12 +240,6 @@ workflows:
version: 2
build_test_deploy:
jobs:
- pypi_precheck:
filters:
branches:
only: /(rel|dev)\/.*/
tags:
only: /.*/
- compare_base_dockerfiles:
filters:
branches:
Expand All @@ -325,19 +264,10 @@ workflows:
only: /.*/
requires:
- test_pytest
- deploy_pypi:
filters:
branches:
ignore: /.*/
tags:
only: /.*/
requires:
- pypi_precheck
- test_pytest
- update_feedstock:
context: nipybot
filters:
branches:
only: /rel\/.*/
only: /rel\/\d.*/
tags:
only: /.*/
61 changes: 61 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Packaging

on:
push:
branches:
- master
- maint/*
- rel/*
tags:
- '*'

defaults:
run:
shell: bash

jobs:
package:
# Build packages and upload
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
python-version: 3.8
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Create virtual environment
run: tools/ci/create_venv.sh
- name: Build sdist
run: tools/ci/build_archive.sh
env:
INSTALL_TYPE: sdist
- name: Build wheel
run: tools/ci/build_archive.sh
env:
INSTALL_TYPE: wheel
### Temporary
- name: Check packages with twine
run: |
pip install twine
twine check dist/*
### Switch back to this if we figure out who has permissions on test.pypi.org
# - name: Test PyPI upload
# uses: pypa/gh-action-pypi-publish@master
# with:
# user: __token__
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
# skip_existing: true
- name: Upload to PyPI (on tags)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
7 changes: 7 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ David Mordom <moreno@cbs.mpg.de>
David Welch <david.m.welch@gmail.com> <dmwelch@users.noreply.github.com>
Dimitri Papadopoulos Orfanos <dimitri.papadopoulos@cea.fr>
Dmytro Belevtsoff <belevtsoff@gmail.com>
Dorian Vogel <dorianvogel@gmail.com>
Dylan M. Nielson <adenosine@gmail.com>
Dylan M. Nielson <adenosine@gmail.com> <Dylan.Nielson@nih.gov>
Eduard Ort <e.ort@vu.nl>
Expand All @@ -73,6 +74,7 @@ Gilles de Hollander <gilles.de.hollander@gmail.com>
Gio Piantoni <github@gpiantoni.com>
Guillaume Flandin <guillaume.flandin@gmail.com>
Hans Johnson <hans-johnson@uiowa.edu> <hans.j.johnson@gmail.com>
Henry Jones <henrymj@stanford.edu>
Horea Christian <horea.christ@yandex.com> <h.chr@mail.ru>
Hrvoje Stojic <hrvoje.stojic@protonmail.com>
Isaac Schwabacher <ischwabacher@wisc.edu>
Expand Down Expand Up @@ -153,6 +155,8 @@ Ranjit Khanuja <ranjit.jhu@gmail.com>
Rastko Ćirić <rc042010@mymail.pomona.edu>
Rastko Ćirić <rc042010@mymail.pomona.edu> <rciric@users.noreply.github.com>
Rastko Ćirić <rc042010@mymail.pomona.edu> <rastko@stanford.edu>
Raunak Jalan <ronakjalan98@gmail.com>
Raunak Jalan <ronakjalan98@gmail.com> <41023976+RaunakJalan@users.noreply.github.com>
Ross Markello <rossmarkello@gmail.com> <rdm222@cornell.edu>
Russell Poldrack <poldrack@gmail.com>
Russell Poldrack <poldrack@gmail.com>
Expand All @@ -175,6 +179,9 @@ Steven Giavasis <sgiava77@gmail.com> <steven.giavasis@cmi-rsch-li001.childmind.o
Steven Giavasis <sgiava77@gmail.com> <sgiavasis@ieee.org>
Steven Tilley <stilley@hollandbloorview.ca> <steve@steventilley.com>
Sulantha Mathotaarachchi <sulantha.s@gmail.com>
Tim Robert-Fitzgerald <tim.terf@gmail.com>
Tom Close <Thomas.close@sydney.edu.au>
Tom Close <Thomas.close@sydney.edu.au> <tom.g.close@gmail.com>
Tristan Glatard <tristan.glatard@mcgill.ca> <tristan.glatard@creatis.insa-lyon.fr>
Victor Férat <victor.ferat@live.fr>
Victor Férat <victor.ferat@live.fr> <vferat@fcbg.ch>
Expand Down
75 changes: 45 additions & 30 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,11 @@
"name": "Mancini, Matteo",
"orcid": "0000-0001-7194-4568"
},
{
"affiliation": "University of Sydney",
"name": "Close, Thomas",
"orcid": "0000-0002-4160-2134"
},
{
"affiliation": "National Institute of Mental Health",
"name": "Nielson, Dylan M.",
Expand All @@ -246,15 +251,30 @@
{
"name": "Mordom, David"
},
{
"affiliation": "CIBIT, UC",
"name": "Machado, F\u00e1tima",
"orcid": "0000-0001-8878-1750"
},
{
"affiliation": "ARAMIS LAB, Brain and Spine Institute (ICM), Paris, France.",
"name": "Guillon, Je\u0301re\u0301my",
"orcid": "0000-0002-2672-7510"
},
{
"affiliation": "Charite Universitatsmedizin Berlin, Germany",
"name": "Waller, Lea",
"orcid": "0000-0002-3239-6957"
},
{
"affiliation": "Indiana University, IN, USA",
"name": "Koudoro, Serge"
},
{
"affiliation": "Penn Statistics in Imaging and Visualization Endeavor, University of Pennsylvania",
"name": "Robert-Fitzgerald, Timothy",
"orcid": "0000-0001-8303-8001"
},
{
"affiliation": "Donders Institute for Brain, Cognition and Behavior, Center for Cognitive Neuroimaging",
"name": "Chetverikov, Andrey",
Expand Down Expand Up @@ -334,6 +354,11 @@
{
"name": "Schwartz, Yannick"
},
{
"affiliation": "The University of Iowa",
"name": "Ghayoor, Ali",
"orcid": "0000-0002-8858-1254"
},
{
"affiliation": "NIMH IRP",
"name": "Lee, John A.",
Expand Down Expand Up @@ -403,13 +428,12 @@
"orcid": "0000-0003-2766-8425"
},
{
"affiliation": "University of Iowa",
"name": "Welch, David"
"affiliation": "Sagol School of Neuroscience, Tel Aviv University",
"name": "Baratz, Zvi"
},
{
"affiliation": "Charite Universitatsmedizin Berlin, Germany",
"name": "Waller, Lea",
"orcid": "0000-0002-3239-6957"
"affiliation": "University of Iowa",
"name": "Welch, David"
},
{
"affiliation": "Max Planck Institute for Human Cognitive and Brain Sciences",
Expand All @@ -421,11 +445,6 @@
"name": "Triplett, William",
"orcid": "0000-0002-9546-1306"
},
{
"affiliation": "The University of Iowa",
"name": "Ghayoor, Ali",
"orcid": "0000-0002-8858-1254"
},
{
"affiliation": "Child Mind Institute",
"name": "Craddock, R. Cameron",
Expand Down Expand Up @@ -614,6 +633,9 @@
"name": "Lee, Nat",
"orcid": "0000-0001-9308-9988"
},
{
"name": "Jalan, Raunak"
},
{
"name": "Inati, Souheil"
},
Expand Down Expand Up @@ -697,10 +719,6 @@
"name": "Andberg, Sami Kristian",
"orcid": "0000-0002-5650-3964"
},
{
"affiliation": "Sagol School of Neuroscience, Tel Aviv University",
"name": "Baratz, Zvi"
},
{
"name": "Matsubara, K"
},
Expand All @@ -711,11 +729,6 @@
{
"name": "Marina, Ana"
},
{
"affiliation": "University of Sydney",
"name": "Close, Thomas",
"orcid": "0000-0002-4160-2134"
},
{
"name": "Davison, Andrew"
},
Expand All @@ -741,9 +754,19 @@
{
"name": "Shachnev, Dmitry"
},
{
"affiliation": "University of Applied Sciences and Arts Northwestern Switzerland",
"name": "Vogel, Dorian",
"orcid": "0000-0003-3445-576X"
},
{
"name": "Flandin, Guillaume"
},
{
"affiliation": "Stanford University and the University of Chicago",
"name": "Jones, Henry",
"orcid": "0000-0001-7719-3646"
},
{
"affiliation": "Athinoula A. Martinos Center for Biomedical Imaging, Department of Radiology, Massachusetts General Hospital, Charlestown, MA, USA",
"name": "Gonzalez, Ivan",
Expand Down Expand Up @@ -790,22 +813,19 @@
"name": "Broderick, William",
"orcid": "0000-0002-8999-9003"
},
{
"name": "Tambini, Arielle"
},
{
"affiliation": "Weill Cornell Medicine",
"name": "Xie, Xihe",
"orcid": "0000-0001-6595-2473"
},
{
"name": "Tambini, Arielle"
},
{
"affiliation": "Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig, Germany.",
"name": "Mihai, Paul Glad",
"orcid": "0000-0001-5715-6442"
},
{
"name": "Jalan, Raunak",
},
{
"affiliation": "Department of Psychology, Stanford University",
"name": "Gorgolewski, Krzysztof J.",
Expand All @@ -815,11 +835,6 @@
"affiliation": "MIT, HMS",
"name": "Ghosh, Satrajit",
"orcid": "0000-0002-5312-6729"
},
{
"affiliation": "CIBIT, UC",
"name": "Machado, Fátima",
"orcid": "0000-0001-8878-1750"
}
],
"keywords": [
Expand Down
Loading