Skip to content

Drop Python 3.8#7682

Merged
yarikoptic merged 11 commits intodatalad:maintfrom
yarikoptic:rf-drop3.8
Nov 15, 2024
Merged

Drop Python 3.8#7682
yarikoptic merged 11 commits intodatalad:maintfrom
yarikoptic:rf-drop3.8

Conversation

@yarikoptic
Copy link
Member

@yarikoptic yarikoptic commented Nov 14, 2024

Individual commits have a little more to say.

We should release either with this or #7679 to fix #7678 which renders extensions unusable on debian ATM.

TODOs

  • remove/redo?? TEMP commit for coverage somehow

3.8 EOLed earlier this year, and even oldoldstable Debian has 3.9 . Time
to start use := throughout ;-)
after 3.14 there is change of signature in the function and those patches
are even picked up into debian 3.12 version thus breaking the code here,
and in effect disabling load of commands from extensions.  For a more
general fix on not picking up during early parsing failure:
datalad#7679

and the underlying issue: datalad#7678
@yarikoptic yarikoptic added semver-patch Increment the patch version when merged CHANGELOG-missing When a PR's description does not contain a changelog item, yet. labels Nov 14, 2024
@github-actions github-actions bot removed the CHANGELOG-missing When a PR's description does not contain a changelog item, yet. label Nov 14, 2024
@yarikoptic
Copy link
Member Author

yikes - filed

DataLad Bot and others added 5 commits November 14, 2024 19:31
Unclear why but we get odd PATH pointing to some lib/jvm within conda, and thus failing to find pytest.

    PATH=/home/runner/work/datalad/datalad/__testhome__/../tools/coverage-bin:/tmp/dl-miniconda-tgsq43n2/lib/jvm/languages/python/bin:/tmp/dl-miniconda-tgsq43n2/condabin:/opt/hostedtoolcache/Python/3.10.15/x64/bin:/opt/hostedtoolcache/Python/3.10.15/x64:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
    + python -m pytest -v -c ../tox.ini -n 2 -m 'not(turtle)' --doctest-modules --cov=datalad --cov-report=xml --pyargs datalad
    /tmp/dl-miniconda-tgsq43n2/lib/jvm/languages/python/bin/python: No module named pytest
Underlying issue is with 7.6.5: reported to
coveragepy/coveragepy#1891 . First 7.6.1 was tried
and it worked. Next bisection is 7.6.3 was ok.
nedbat clarified that indeed in 7.6.5 some assertions were added:
coveragepy/coveragepy#1891 (comment)

So we will just keep it that ceiled until issue resolved.
isntallation from .deb for that elderly version iirc is not possible since depends on missing in that ubuntu libffi7 or smth like that
@codecov
Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.90%. Comparing base (a2c30ce) to head (af2bd74).
Report is 42 commits behind head on maint.

Additional details and impacted files
@@            Coverage Diff             @@
##            maint    #7682      +/-   ##
==========================================
- Coverage   91.59%   90.90%   -0.70%     
==========================================
  Files         324      324              
  Lines       43142    43142              
  Branches     5770     4934     -836     
==========================================
- Hits        39518    39219     -299     
- Misses       3610     3909     +299     
  Partials       14       14              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yarikoptic
Copy link
Member Author

oh, one brew is left, will do separately -- unrelated to this PR. So I will just proceed.

@yarikoptic yarikoptic merged commit 3dc49f2 into datalad:maint Nov 15, 2024
@yarikoptic yarikoptic deleted the rf-drop3.8 branch November 15, 2024 18:39
@yarikoptic-gitmate
Copy link
Collaborator

PR released in 1.1.4

yarikoptic added a commit that referenced this pull request Dec 13, 2024
"snapshot" method is installing into a temp folder and we would need
to setup env var file to source etc.

I have introduced that change in recent #7682
and missed that for that original commit appveyor did fail, and subsequent commit
af2bd74 CI run had only OSX brew fail which made me think appveyor is ok, but
apparently it was not there at all! So I missed that failure
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.

datalad-container namespace is not picked up due to missing required intermixed

2 participants