Skip to content
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

Drop python 3.6 support, remove some no longer needed kludges, merge of maint #6364

Merged
merged 8 commits into from
Jan 26, 2022

Conversation

yarikoptic
Copy link
Member

Sits on top of the merge of #6363 into master.

adswa and others added 8 commits January 19, 2022 09:22
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:".
* enh-py3.10:
  ENH(TST,CI): add (limited) run on travis for python 3.10
  BF: adjust our ugly tuneup of argparse output for its change in formatting
  BF(TST,py3.10): remove auto_spec=True
  BF: When download-url gets Pathobject as path convert it to a string

Conflicts:
	datalad/interface/download_url.py -- was already str()ed in master as well
@yarikoptic yarikoptic added the semver-minor Increment the minor version when merged label Jan 21, 2022
@codeclimate
Copy link

codeclimate bot commented Jan 21, 2022

Code Climate has analyzed commit 1edd67e and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Security 2

View more on Code Climate.

@yarikoptic
Copy link
Member Author

@mih, from top of your head -- what should we do about redness of codeclimate in the example of this PR?

@mih
Copy link
Member

mih commented Jan 21, 2022

Nothing. I am still trying to explore the possibilities. The messages so far are reasonable, but not applicable. Ignore and proceed, I would say

@adswa
Copy link
Member

adswa commented Jan 24, 2022

The Mac tests timed out with datalad.tests.test_testrepos.test_make_studyforrest_mockup ... - ping #6281

@yarikoptic
Copy link
Member Author

The Mac tests timed out with datalad.tests.test_testrepos.test_make_studyforrest_mockup ... - ping #6281

eh, searched through our issues but it seems there were no prior timing out for this one.

eh, restarted incomplete on appveyour -- let's see if resurfaces... if doesn't show up, I will proceed with merge. (I've merged satellite PR in maint)

@codecov
Copy link

codecov bot commented Jan 26, 2022

Codecov Report

Merging #6364 (1edd67e) into master (c666b36) will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6364      +/-   ##
==========================================
+ Coverage   89.84%   89.89%   +0.04%     
==========================================
  Files         331      331              
  Lines       43196    43214      +18     
==========================================
+ Hits        38810    38847      +37     
+ Misses       4386     4367      -19     
Impacted Files Coverage Δ
datalad/support/tests/test_annexrepo.py 97.97% <ø> (ø)
datalad/tests/utils.py 89.40% <ø> (+0.55%) ⬆️
datalad/cmdline/helpers.py 74.07% <100.00%> (ø)
datalad/cmdline/tests/test_main.py 85.63% <100.00%> (+0.07%) ⬆️
datalad/distribution/tests/test_create_sibling.py 77.42% <100.00%> (+0.64%) ⬆️
datalad/support/network.py 87.22% <100.00%> (-0.17%) ⬇️
datalad/support/tests/test_network.py 100.00% <100.00%> (+1.37%) ⬆️
datalad/local/tests/test_download_url.py 100.00% <0.00%> (ø)
datalad/utils.py 85.25% <0.00%> (+0.08%) ⬆️
datalad/distributed/tests/test_ria_basics.py 97.91% <0.00%> (+0.29%) ⬆️
... and 2 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 c666b36...1edd67e. Read the comment docs.

@yarikoptic
Copy link
Member Author

marked two errors from codeclimate as no fix (md5 and loading a pickle). All green now. To not miss some new python 3.10 gotchas to get introduced to master, I will proceed with merge.

@yarikoptic yarikoptic merged commit 1304efa into datalad:master Jan 26, 2022
@mih
Copy link
Member

mih commented Feb 2, 2022

This PR has brought the appveyor job names out if sync with their config. Moreover, there are now two runs on ubuntu with py3.8 (which is the default version). I will trim this and resync the names.

@yarikoptic
Copy link
Member Author

This PR has brought the appveyor job names out if sync with their config. Moreover, there are now two runs on ubuntu with py3.8 (which is the default version). I will trim this and resync the names.

oh, didn't spot that IDs are reflecting python version. Will keep it in mind for the future.

@yarikoptic yarikoptic deleted the enh-py3.10-master 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.

None yet

3 participants