Skip to content

RM: (re)move get_func_kwargs_doc and some python2 compat code path#6175

Merged
mih merged 2 commits intodatalad:masterfrom
yarikoptic:rf-args
Nov 11, 2021
Merged

RM: (re)move get_func_kwargs_doc and some python2 compat code path#6175
mih merged 2 commits intodatalad:masterfrom
yarikoptic:rf-args

Conversation

@yarikoptic
Copy link
Member

There might be more but largely orthogonal so decided to submit this short quick PR.

It is a companion to datalad/datalad-crawler#113 which I marked for the release and just merged... https://pypi.org/project/datalad-crawler/ has 0.9.3 now

I didn't check other extensions if they use this elderly function -- will see with this PR

well -- inspect seems to still provide getargspec but since we
used getfullargspec shim by default, no need to keep that alternative
implementation which would be triggered only on python2 which we do
no longer support
@yarikoptic yarikoptic added the semver-minor Increment the minor version when merged label Nov 10, 2021
@codecov
Copy link

codecov bot commented Nov 10, 2021

Codecov Report

Merging #6175 (77dee0d) into master (981aa95) will decrease coverage by 11.92%.
The diff coverage is 100.00%.

❗ Current head 77dee0d differs from pull request most recent head 280b32d. Consider uploading reports for the commit 280b32d to get more accurate results
Impacted file tree graph

@@             Coverage Diff             @@
##           master    #6175       +/-   ##
===========================================
- Coverage   89.70%   77.78%   -11.93%     
===========================================
  Files         318      318               
  Lines       41896    41868       -28     
===========================================
- Hits        37584    32566     -5018     
- Misses       4312     9302     +4990     
Impacted Files Coverage Δ
datalad/tests/test_utils.py 97.17% <ø> (-0.02%) ⬇️
datalad/utils.py 83.56% <100.00%> (-1.08%) ⬇️
datalad/version.py 0.00% <0.00%> (-100.00%) ⬇️
datalad/plugin/wtf.py 0.00% <0.00%> (-100.00%) ⬇️
datalad/plugin/addurls.py 0.00% <0.00%> (-100.00%) ⬇️
datalad/plugin/__init__.py 0.00% <0.00%> (-100.00%) ⬇️
datalad/plugin/no_annex.py 0.00% <0.00%> (-100.00%) ⬇️
datalad/distribution/drop.py 0.00% <0.00%> (-100.00%) ⬇️
datalad/plugin/add_readme.py 0.00% <0.00%> (-100.00%) ⬇️
datalad/plugin/check_dates.py 0.00% <0.00%> (-100.00%) ⬇️
... and 116 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 981aa95...280b32d. Read the comment docs.

Copy link
Member

@mih mih left a comment

Choose a reason for hiding this comment

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

Thanks for digging this up!

@mih mih merged commit 5d97e61 into datalad:master Nov 11, 2021
@yarikoptic yarikoptic deleted the rf-args branch April 5, 2022 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-minor Increment the minor version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants