-
Notifications
You must be signed in to change notification settings - Fork 258
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
Added distribution badges #1192
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I'm planning to revamp the readme a little sometime next week, so this makes a perfect addition. Thank you very much!
Codecov ReportBase: 92.17% // Head: 92.17% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #1192 +/- ##
=======================================
Coverage 92.17% 92.17%
=======================================
Files 97 97
Lines 12341 12341
Branches 2535 2535
=======================================
Hits 11375 11375
Misses 645 645
Partials 321 321 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. |
@effigies pre-release (windows-latest, 3.11, x64, pip, test, PRE_PIP_FLAGS, REQUIREMENTS, DEFAULT_OPT_DEPENDS) is raising:
this certainly should not have anything to do with this PR, but it also wasn't raised in the latest commit to |
Regarding Arch: I have been keeping the AUR build for nibabel fairly up-to-date since 2019 actually https://aur.archlinux.org/cgit/aur.git/log/?h=python-nibabel |
It's a stochastic bug, but I can't understand why it happens. Rerunning the tests will fix it. |
I believe there are Fedora and Nix packages as well. |
Fedora and nix are outdated if I understand correctly. |
I think nix (4.0.2) is not dramatically far behind, given 5.0.0 was only released a few weeks ago. They may be waiting on deprecation fixes in downstream packages. |
cc @ashgillman and @sanjayankur31 |
Hi there, the Fedora package should be updated to the latest version soon. I just have to test all the other packages that depend on nibabel to see if they all continue to build/work with the new version (and file bugs if they don't). |
No worries on speed. Just wanted to check in in case another maintainer had taken over. The whole point of having semver releases is to warn that there may be breaking changes, and distributions are welcome to take their time to keep their ecosystem unbroken, so I don't see a lag in adopting a major version as a concern. Anything that's at 4.0.2 is probably currently maintained. |
e644a86
to
9ec8b7c
Compare
@liamtimms thank you for pointing that out :) Ok, so I added nix and Arch. Fedora is pretty severely out of date, @sanjayankur31 maybe sumbit a PR once it's at least |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
even more badges could always be added
@liamtimms Just looked at https://aur.archlinux.org/cgit/aur.git/commit/?h=python-nibabel&id=efdbaf50ad24c02f807e6cb7f55e34b71a4a8a71 and have a few notes:
|
@effigies , thanks so much for this, there was definitely some crust and disorganization leftover in that packaging from a few years ago, plus my confusion about some more recent dependency changes. I've updated the package to reflect these notes now. |
@liamtimms Sorry, one update: 5.0 does actually have runtime dependency on setuptools because of depends=('python-numpy>=1.19'
- 'python-packaging')
+ 'python-packaging>=17'
+ 'python-setuptools')
makedepends=('python-hatch-vcs'
- 'python-setuptools'
'python-build' (I would run tests to be sure. You should be able to use pytest with pytest-httpserver. If you run doctests, you'll need pytest-doctestplus.) |
Oh, and I would suggest using the sdist ( So https://pypi.io/packages/source/n/nibabel/nibabel-5.0.0.tar.gz |
changes from discussion here: nipy/nibabel#1192 (comment)
Changes to reflect: nipy/nibabel#1192 (comment)
Yes. 5.0.1 (and bugfix releases generally) should not change APIs or dependencies. |
Added badges for distributions which usually provide more-or-less up-to-date versions of nibabel. I think it would be cool to notify users that they might be able to get nibabel directly via their package managers. Might also encourage people to package nibabel and/or keep it up to date (I know there's a pretty big science packaging effort on Arch's AUR as well, though they seem to have missed nibabel).
@yarikoptic
@liamtimms