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

Test against 3.9 not EOLed 3.8, fix typo, compatibility with recent pydicom 3.x #133

Merged
merged 11 commits into from
Nov 4, 2024

Conversation

yarikoptic
Copy link
Member

No description provided.

@yarikoptic yarikoptic changed the title Test against 3.9 not EOLed 3.8 Test against 3.9 not EOLed 3.8, fix typo Oct 14, 2024
@yarikoptic
Copy link
Member Author

on mac - the same story with timing out/lengthy installation of git-annex as observed on

yet to figure out what those are about

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w datalad_neuroimaging",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
ATM it fails as

pip install --upgrade pip
Requirement already satisfied: pip in c:\python39-x64\lib\site-packages
(23.2.1)
Collecting pip
  Obtaining dependency information for pip from
https://files.pythonhosted.org/packages/d4/55/90db48d85f7689ec6f81c0db0622d704306c5284850383c090e6c7195a5c/pip-24.2-py3-none-any.whl.metadata
  Downloading pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Downloading pip-24.2-py3-none-any.whl (1.8 MB)
   ---------------------------------------- 1.8/1.8 MB 10.5 MB/s eta
0:00:00
ERROR: To modify pip, please run the following command:
C:\Python39-x64\python.exe -m pip install --upgrade pip
[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: python.exe -m pip install --upgrade pip
Command exited with code 1
brew installation gets stuck/takes too long.
@yarikoptic
Copy link
Member Author

also to get it clean we need to resolve gotchas due to new pydicom 3.0.0 changing how to handle DICOMDIRs which we simply skip..

@yarikoptic
Copy link
Member Author

on mac we got

python -m coverage xml
Wrote XML report to coverage.xml
curl -Os $CODECOV_BINARY
chmod +x codecov
./codecov
/usr/local/Cellar/appveyor-build-agent/7.0.3293/bash-shell.sh: line 51: ./codecov: Bad CPU type in executable
Command exited with code 126
Running "on_finish" scripts
while [ -f ~/BLOCK ]; do sleep 5; done
Build failed

taking solution from https://github.com/datalad/datalad/pull/7649/files (I hate duplication!...)

…ent on 2204.

Mimicing setup in datasalad a bit
this would allow to avoid masking the error as happens now

    E: Repository 'http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu jammy InRelease' changed its 'Label' value from 'Latest (26.x) Erlang packages for Ubuntu and Debian' to 'Modern Erlang and Elixir packages for Ubuntu'
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

Attention: Patch coverage is 76.47059% with 4 lines in your changes missing coverage. Please review.

Project coverage is 88.80%. Comparing base (c6a066e) to head (eeaa422).
Report is 13 commits behind head on master.

Files with missing lines Patch % Lines
datalad_neuroimaging/extractors/dicom.py 76.47% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #133      +/-   ##
==========================================
- Coverage   89.16%   88.80%   -0.36%     
==========================================
  Files          24       23       -1     
  Lines        1181     1170      -11     
==========================================
- Hits         1053     1039      -14     
- Misses        128      131       +3     

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

@yarikoptic yarikoptic changed the title Test against 3.9 not EOLed 3.8, fix typo Test against 3.9 not EOLed 3.8, fix typo, compatibility with recent pydicom 3.x Nov 4, 2024
@yarikoptic yarikoptic added semver-patch release Create a release when this PR is merged labels Nov 4, 2024
@yarikoptic
Copy link
Member Author

codecov isn't happy but at least we got to green state -- let's proceed and even release (if still works ;) )

@yarikoptic yarikoptic merged commit 5c50cb9 into master Nov 4, 2024
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Create a release when this PR is merged semver-patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant