Skip to content

MNT: Replace versioneer with setuptools_scm #1171

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

Merged
merged 7 commits into from
Jan 3, 2023

Conversation

effigies
Copy link
Member

@effigies effigies commented Jan 1, 2023

setuptools_scm now has git-archive support, is better maintained than versioneer (I say as the de facto maintainer of versioneer), can be used with other build backends than setuptools, and generally a smaller footprint in the package.

I'm interested to see if this passes all of our tests.

@effigies effigies force-pushed the mnt/setuptools_scm branch from 71f9a63 to 365f3e8 Compare January 2, 2023 02:45
@codecov
Copy link

codecov bot commented Jan 2, 2023

Codecov Report

Base: 92.38% // Head: 92.36% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (9e955a6) compared to base (9000943).
Patch coverage: 57.14% of modified lines in pull request are covered.

❗ Current head 9e955a6 differs from pull request most recent head cf564cf. Consider uploading reports for the commit cf564cf to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1171      +/-   ##
==========================================
- Coverage   92.38%   92.36%   -0.03%     
==========================================
  Files          98       97       -1     
  Lines       12257    12252       -5     
  Branches     2520     2520              
==========================================
- Hits        11324    11316       -8     
- Misses        612      614       +2     
- Partials      321      322       +1     
Impacted Files Coverage Δ
nibabel/info.py 100.00% <ø> (ø)
nibabel/pkg_info.py 66.66% <57.14%> (-7.25%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@effigies effigies force-pushed the mnt/setuptools_scm branch 2 times, most recently from 292a456 to 0fce94c Compare January 2, 2023 05:34
@effigies effigies added this to the 5.0.0 milestone Jan 2, 2023
@effigies effigies force-pushed the mnt/setuptools_scm branch 2 times, most recently from fb98edf to 2663982 Compare January 2, 2023 17:10
@effigies
Copy link
Member Author

effigies commented Jan 2, 2023

This is ready for review.

Rename remaining setup.cfg to .flake8
These are now handled by setuptools_scm.

Also, clarify the expected top-level packages in find
@effigies effigies force-pushed the mnt/setuptools_scm branch from 9e955a6 to e1f807c Compare January 3, 2023 06:23
Copy link
Contributor

@ZviBaratz ZviBaratz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@effigies effigies force-pushed the mnt/setuptools_scm branch from e1f807c to cf564cf Compare January 3, 2023 14:43
@effigies
Copy link
Member Author

effigies commented Jan 3, 2023

Thanks for the review!

@effigies effigies merged commit 437d972 into nipy:master Jan 3, 2023
@effigies effigies deleted the mnt/setuptools_scm branch January 3, 2023 15:39
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.

2 participants