Skip to content

Addressing problem testing against python 3.10 on Travis (skip more annex versions)#6842

Merged
yarikoptic merged 2 commits intodatalad:maintfrom
yarikoptic:bf-tests
Jul 16, 2022
Merged

Addressing problem testing against python 3.10 on Travis (skip more annex versions)#6842
yarikoptic merged 2 commits intodatalad:maintfrom
yarikoptic:bf-tests

Conversation

@yarikoptic
Copy link
Copy Markdown
Member

prompted by #6841 (comment) . Still don't know why it got 0+unknown version, let's see if repeats here

not sure why I chose 0624 whenever I talk about some state after 10.20220525
in https://git-annex.branchable.com/bugs/regression__58___annex_add_of_moved_file_errors_out/ .

This lead to recent fail in datalad#6841
not sure how it worked before since we should have been installing that newer
version for a while already. May be something changed in conda so it started
to install earlier nodep version instead of depall
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 15, 2022

Codecov Report

Merging #6842 (d449c68) into maint (8c65776) will increase coverage by 0.95%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            maint    #6842      +/-   ##
==========================================
+ Coverage   90.25%   91.21%   +0.95%     
==========================================
  Files         354      354              
  Lines       46065    46065              
==========================================
+ Hits        41577    42019     +442     
+ Misses       4488     4046     -442     
Impacted Files Coverage Δ
datalad/local/tests/test_add_archive_content.py 99.62% <ø> (ø)
datalad/tests/utils.py 66.76% <0.00%> (+9.73%) ⬆️
datalad/tests/test_tests_utils.py 92.34% <0.00%> (+92.34%) ⬆️

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 8c65776...d449c68. Read the comment docs.

@yarikoptic yarikoptic added the semver-tests Changes only affect tests, no impact on version label Jul 15, 2022
@yarikoptic
Copy link
Copy Markdown
Member Author

ok, we still have one failing run on travis (https://app.travis-ci.com/github/datalad/datalad/jobs/576806839) where we see

$ git describe
0.17.1-7-g19f2b08c4

so tags are there! but then

$ sudo pip install --user .
WARNING: The directory '/home/travis/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Processing /home/travis/build/datalad/datalad
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: chardet<5.0.0,>=3.0.4 in /tmp/dl-miniconda-e9ufinuf/lib/python3.10/site-packages (from datalad==0+unknown) (4.0.0)
Requirement already satisfied: packaging in /tmp/dl-miniconda-e9ufinuf/lib/python3.10/site-packages (from datalad==0+unknown) (21.3)
Requirement already satisfied: boto in /tmp/dl-miniconda-e9ufinuf/lib/python3.10/site-packages (from datalad==0+unknown) (2.49.0)
Requirement already satisfied: humanize in /tmp/dl-miniconda-e9ufinuf/lib/python3.10/site-packages (from datalad==0+unknown) (4.2.3)
Requirement already satisfied: keyrings.alt in /tmp/dl-miniconda-e9ufinuf/lib/python3.10/site-packages (from datalad==0+unknown) (4.1.1)
Requirement already satisfied: python-gitlab in /tmp/dl-miniconda-e9ufinuf/lib/python3.10/site-packages (from datalad==0+unknown) (3.6.0)

so we get 0+unknown version. and that happens rarely but somehow consistently for me in this and #6841

$> datalad foreach-dataset "git grep -l 'datalad==0+unknown'  || :"
foreach-dataset(ok): /mnt/datasets/datalad/ci/logs/2022 (dataset)
foreach-dataset(ok): /mnt/datasets/datalad/ci/logs/2022/01 (dataset)
02/pr/6789/fb05b8b/travis-14194-failed/3.txt
11/push/maint/558c0c3/travis-14262-failed/3.txt
foreach-dataset(ok): /mnt/datasets/datalad/ci/logs/2022/06 (dataset)
11/push/maint/9679312/travis-14264-failed/3.txt
15/pr/6841/ed686d2/travis-14273-failed/3.txt
15/pr/6842/d449c68/travis-14275-failed/3.txt
15/push/maint/8c65776/travis-14274-failed/3.txt
foreach-dataset(ok): /mnt/datasets/datalad/ci/logs/2022/07 (dataset)
foreach-dataset(ok): /mnt/datasets/datalad/ci/logs/2022/05 (dataset)
foreach-dataset(ok): /mnt/datasets/datalad/ci/logs/2022/04 (dataset)
foreach-dataset(ok): /mnt/datasets/datalad/ci/logs/2022/03 (dataset)
foreach-dataset(ok): /mnt/datasets/datalad/ci/logs/2022/02 (dataset)

any idea @jwodder how/why that would keep happening to me? (we are still using versioneer here)

@yarikoptic yarikoptic changed the title Addressing problems testing against python 3.10 on Travis (skip more annex versions) Addressing problem testing against python 3.10 on Travis (skip more annex versions) Jul 16, 2022
@yarikoptic
Copy link
Copy Markdown
Member Author

Ok, we will deal with that one separately

@yarikoptic yarikoptic merged commit 8787719 into datalad:maint Jul 16, 2022
@github-actions
Copy link
Copy Markdown

🚀 PR was released in 0.17.2 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released semver-tests Changes only affect tests, no impact on version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant