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: 3.2.2 #1078

Merged
merged 13 commits into from
Feb 7, 2022
Merged

REL: 3.2.2 #1078

merged 13 commits into from
Feb 7, 2022

Conversation

effigies
Copy link
Member

@effigies effigies commented Feb 7, 2022

With a number of deprecations due in 4.0, and the need for some concerted attention to doing things right, I've been slow to get that release out. So before working on that, I'm putting out a bug-fix release that includes backports of several fixes and cleanups that have accrued in master since our last release ~16 months ago.

I don't have high hopes for passing CI, but I do want to review what's failing before merging and releasing.

Please review your Zenodo entries, @HippocampusGirl, @DimitriPapadopoulos, @hrnciar, @anibalsolon, @vanandrew.

Pre-release checklist

  • Review the open list of nibabel issues. Check whether there are outstanding issues that can be closed, and whether there are any issues that should delay the release. Label them!
  • Review and update the release notes. Review and update the Changelog file.
  • Look at doc/source/index.rst and add any authors not yet acknowledged.
  • Use the opportunity to update the .mailmap file if there are any duplicate authors listed from git shortlog -nse.
  • Check the copyright year in doc/source/conf.py
  • Refresh the README.rst text from the LONG_DESCRIPTION in info.py by running make refresh-readme.
  • Check the dependencies listed in setup.cfg (e.g., install_requires, options.extras_require) and in doc/source/installation.rst and in requirements.txt and .travis.yml. They should at least match. Do they still hold? Make sure nibabel on travis is testing the minimum dependencies specifically.
  • Make sure all tests pass (from the nibabel root directory): pytest --doctest-modules nibabel

Adapted from http://nipy.org/nibabel/devel/make_release.html#release-checklist

jond01 and others added 7 commits February 7, 2022 09:33
The document says:

```

...
```

but later the headings become imperatives:

```
```

Imperatives changed to adjectives.

Backport of gh-996
…nibabel/testing/__init__.py import pkg_resources

Backport of gh-1009
- Change as proposed by @effigies

Test for `ResourceWarning` in `GiftiImage`

Backport of gh-1038
Illegal class 'int' raised; will result in a TypeError being raised instead.

Backport of gh-1048
FIX: LGTM error: Special method has incorrect signature

Too few parameters for special method __getitem__, which has 1 parameter, but should have 2, in class FileBasedImage.

https://lgtm.com/rules/7850093/

FIX: LGTM warning: Unnecessary 'else' clause in loop

This 'for' statement has a redundant 'else' as no 'break' is present in the body.

https://lgtm.com/rules/5980098/

FIX: LGTM warning: Variable defined multiple times

This assignment to 'patient_info' is unnecessary as it is redefined here before this value is used.

https://lgtm.com/rules/1800095/

FIX: LGTM recommendations: Unused import

Import of '...' is not used.

https://lgtm.com/rules/6770079/

Backport of gh-1043
@codecov
Copy link

codecov bot commented Feb 7, 2022

Codecov Report

Merging #1078 (96e1229) into maint/3.2.x (3c2961b) will increase coverage by 0.03%.
The diff coverage is 66.66%.

Impacted file tree graph

@@               Coverage Diff               @@
##           maint/3.2.x    #1078      +/-   ##
===============================================
+ Coverage        91.84%   91.87%   +0.03%     
===============================================
  Files              101      101              
  Lines            12551    12551              
  Branches          2209     2406     +197     
===============================================
+ Hits             11527    11531       +4     
+ Misses             685      683       -2     
+ Partials           339      337       -2     
Impacted Files Coverage Δ
nibabel/cmdline/dicomfs.py 18.96% <0.00%> (ø)
nibabel/gifti/giftiio.py 100.00% <ø> (ø)
nibabel/pydicom_compat.py 87.50% <ø> (-0.74%) ⬇️
nibabel/volumeutils.py 84.52% <ø> (+0.38%) ⬆️
nibabel/cifti2/cifti2.py 96.69% <100.00%> (ø)
nibabel/cifti2/parse_cifti2.py 83.90% <100.00%> (+0.04%) ⬆️
nibabel/filebasedimages.py 86.45% <100.00%> (+0.64%) ⬆️
nibabel/gifti/gifti.py 95.42% <100.00%> (ø)
nibabel/streamlines/array_sequence.py 97.95% <0.00%> (-0.69%) ⬇️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3c2961b...96e1229. Read the comment docs.

@effigies effigies merged commit 14db79e into maint/3.2.x Feb 7, 2022
@effigies effigies deleted the rel/3.2.2 branch February 7, 2022 16:51
@effigies effigies mentioned this pull request Feb 7, 2022
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants