Skip to content

BF: python 3.10 compatibility fixes #6363

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 3 commits into from
Jan 26, 2022
Merged

Conversation

yarikoptic
Copy link
Member

Fix for the failing tests in #6362 and add 3.10 testing for travis (more radical CI changes to be added to master after this PR gets merged into maint and then into master)

Looking at https://docs.python.org/3/library/unittest.mock.html#patch-object
it should be autospec and not auto_spec.  So, in effect, this kwarg seems
was simply ignored before.  Thus the easiest fix is to remove it.
…tting

Before py 3.10 it was "optional arguments:", and now became just "options:".
@yarikoptic
Copy link
Member Author

hm, appveyor looks like stalled on ubuntu

datalad.distribution.tests.test_siblings.test_sibling_enable_sameas ... .: r_rsync(?) [git]

and mac

datalad.support.tests.test_fileinfo.test_get_content_info ... 

restarted incomplete

@codecov
Copy link

codecov bot commented Jan 24, 2022

Codecov Report

Merging #6363 (c85d18f) into maint (e945d2f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##            maint    #6363   +/-   ##
=======================================
  Coverage   90.17%   90.17%           
=======================================
  Files         312      312           
  Lines       42270    42271    +1     
=======================================
+ Hits        38116    38117    +1     
  Misses       4154     4154           
Impacted Files Coverage Δ
datalad/support/tests/test_annexrepo.py 97.61% <ø> (ø)
datalad/cmdline/helpers.py 71.09% <100.00%> (ø)
datalad/cmdline/tests/test_main.py 84.65% <100.00%> (+0.08%) ⬆️

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 e945d2f...c85d18f. Read the comment docs.

@yarikoptic yarikoptic requested a review from mih January 24, 2022 16:43
@yarikoptic
Copy link
Member Author

ok, upon restart of appveyor -- all green. since neither of stalled tests relate to changes in this PR -- I consider them not a show stopper here. Please review/merge or I will do in a day.

@yarikoptic yarikoptic merged commit 7bc4f6c into datalad:maint Jan 26, 2022
@yarikoptic yarikoptic deleted the enh-py3.10 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-patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant