-
Notifications
You must be signed in to change notification settings - Fork 134
RF(+BF somewhat): remove no longer needed dependencies etc #443
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
Conversation
Moreover inclusion of pathlib into list of dependencies breaks on Debian installation with python 3.7 where there is no explicit pathlib package available
Codecov Report
@@ Coverage Diff @@
## master #443 +/- ##
=======================================
Coverage 74.99% 74.99%
=======================================
Files 35 35
Lines 2863 2863
=======================================
Hits 2147 2147
Misses 716 716
Continue to review full report at Codecov.
|
This is actually a major issue for heudiconv, since it requires features that exist in the built-in pathlib, but not the version installed via pip. For example, the package version does not allow "exist_ok" as a parameter to "mkdir" in a Path object. |
why would you install pathlib via pip if it is now included in the standard library and thus most likely pypi version is just outdated (last updated in 2014)? |
I did not explicitly install pathlib. Since heudiconv 0.8.0 (installed via
pip) lists pathlib as a requirement, PIP installed it. I had to remove it,
remove pathlib references from the relevant locations, then reinstall it to
eliminate the problem. So apparently I can't trust whoever maintains
heudiconv on pypi to have the latest version.
…On Fri, Oct 9, 2020 at 7:29 PM Yaroslav Halchenko ***@***.***> wrote:
why would you install pathlib via pip if it is now included in the
standard library and thus most likely pypi version is just outdated (last
updated in 2014)?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#443 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEWSED7KDRESOG2LGCTIWELSJ6TFRANCNFSM4MMTHEOA>
.
|
;-) it does have the latest version! it is just those (same) people just need to release heudiconv 0.8.1... but the point here is that actually it should have been pathlib pypi maintainers which probably should have made it impossible to install pathlib for versions of python where it was already included.But let's get back to
(git)lena:~/picts/mris/heudiconv-master[master]git
$> git describe
v0.8.0-68-gd855f64
$> git grep exist_ok
$> do you have more specific pointer of what feature of bundled pathlib we are using which is not present in pypi's? |
Certainly. mkdir in the built-in pathlib allows the parameter "exist_ok".
The version in the pathlib package does not. This was how we discovered it,
as a user who was trying out heudiconv received multiple messages that
mkdir didn't understand "exist_ok".
…On Sat, Oct 10, 2020 at 6:45 PM Yaroslav Halchenko ***@***.***> wrote:
;-) it does have the latest version! it is just those (same) people just
need to release heudiconv 0.8.1...
but the point here is that actually it should have been pathlib pypi
maintainers which probably should have made it impossible to install
pathlib for versions of python where it was already included.But let's get
back to
This is actually a major issue for heudiconv, since it requires features
that exist in the built-in pathlib, but not the version installed via pip.
For example, the package version does not allow "exist_ok" as a parameter
to "mkdir" in a Path object.
(git)lena:~/picts/mris/heudiconv-master[master]git
$> git describe
v0.8.0-68-gd855f64
$> git grep exist_ok
$>
do you have more specific pointer of what feature of bundled pathlib we
are using which is not present in pypi's?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#443 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEWSEDYVXWMZ2K67FSRXLL3SKDW2BANCNFSM4MMTHEOA>
.
|
Various improvements and compatibility/support (dcm2niix, datalad, duecredit) changes. Major change is placement of output files to the target output directory during conversion. - #454 zenodo referencing in README.rst and support for ducredit for heudiconv and reproin heuristic - #445 more tutorial references in README.md - [#485][] placed files during conversion right away into the target directory (with a `_heudiconv???` suffix, renamed into ultimate target name later on), which avoids hitting file size limits of /tmp ([#481][]) and helped to avoid a regression in dcm2nixx 1.0.20201102 - #477 replaced `rec-<magnitude|phase>` with `part-<mag|phase>` now that BIDS supports the part entity - #473 made default for CogAtlasID to be a TODO URL - #459 made AcquisitionTime used for acq_time scans file field - #451 retained sub-second resolution in scans files - #442 refactored code so there is now heudiconv.main.workflow for more convenient use as a Python module - minimal version of nipype set to 1.2.3 to guarantee correct handling of DWI files ([#480][]) - `heudiconvDCM*` temporary directories are removed now ([#462][]) - compatibility with DataLad 0.13 ([#464][]) - #443 pathlib as a dependency (we are Python3 only now) * tag 'v0.9.0': Add a helper rule to upload to pypi update changelog reference as part of prep release [DATALAD RUNCMD] prepare the release CHANGELOG entry for 0.9.0
Various improvements and compatibility/support (dcm2niix, datalad, duecredit) changes. Major change is placement of output files to the target output directory during conversion. - #454 zenodo referencing in README.rst and support for ducredit for heudiconv and reproin heuristic - #445 more tutorial references in README.md - [#485][] placed files during conversion right away into the target directory (with a `_heudiconv???` suffix, renamed into ultimate target name later on), which avoids hitting file size limits of /tmp ([#481][]) and helped to avoid a regression in dcm2nixx 1.0.20201102 - #477 replaced `rec-<magnitude|phase>` with `part-<mag|phase>` now that BIDS supports the part entity - #473 made default for CogAtlasID to be a TODO URL - #459 made AcquisitionTime used for acq_time scans file field - #451 retained sub-second resolution in scans files - #442 refactored code so there is now heudiconv.main.workflow for more convenient use as a Python module - minimal version of nipype set to 1.2.3 to guarantee correct handling of DWI files ([#480][]) - `heudiconvDCM*` temporary directories are removed now ([#462][]) - compatibility with DataLad 0.13 ([#464][]) - #443 pathlib as a dependency (we are Python3 only now) * tag 'v0.9.0': Do no bother ensuring that version changed - should be no changes
Ran into it while testing neurodebian package for 0.8.0 -- ran into:
because
info.py
claims it as a dependency, and there were nopip
install which would have pulled it from pypi (even though it is included in python itself)