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

GitHub tests.yml CI: explicitly specify macos-12 and use python 3.11 to test against dandi-cli #238

Merged
merged 3 commits into from
Apr 30, 2024

Conversation

yarikoptic
Copy link
Member

The arm64 one seems to lack pythons 3.8 and 3.9. Ref: #236 (comment)

…to point to arm one

That one lacks pythons 3.8 and 3.9
@yarikoptic yarikoptic added the tests Add or improve existing tests label Apr 24, 2024
Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.39%. Comparing base (dc15401) to head (1ad6023).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #238   +/-   ##
=======================================
  Coverage   87.39%   87.39%           
=======================================
  Files          16       16           
  Lines        1722     1722           
=======================================
  Hits         1505     1505           
  Misses        217      217           
Flag Coverage Δ
unittests 87.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@yarikoptic
Copy link
Member Author

so it didn't help -- still goes for arm64:
image

for now let's just keep good old macos-12 -- since not yet announced "deprecated" , I think we would have some time.

Primary motivator is that macos-latest swiched to arm64 and
does not have support for python 3.8 and 3.9 . Comment in the
CI says to match version used by dandi-api for some reason.
There we use 3.11 ATM:

    ❯ git grep '\<3\.' -- .github/workflows/
    .github/workflows/backend-ci.yml:          python-version: "3.11"
    .github/workflows/cli-integration.yml:          - "3.11"
    .github/workflows/frontend-ci.yml:          python-version: '3.11'
    .github/workflows/frontend-ci.yml:        python-version: '3.11'
    ❯ git describe
    v0.3.83
@yarikoptic yarikoptic changed the title GitHub tests.yml CI: explicitly specify macos-14 (non arm64) to avoid making macos-latest to point to arm one GitHub tests.yml CI: explicitly specify macos-12 and use python 3.11 to test against dandi-cli Apr 24, 2024
@yarikoptic
Copy link
Member Author

ok -- for macos-12 ones we now got tests actually ran without bailing, so provides part of the solution. But I do not get why all the rest fail whenever they do not fail e.g. in #236 . Need to have a fresh look tomorrow.

@candleindark
Copy link
Member

candleindark commented Apr 26, 2024

But I do not get why all the rest fail whenever they do not fail e.g. in #236 . Need to have a fresh look tomorrow.

All the failed tests seem to be failing the email requirement put in #235 which is very strange. I don't know why changing Python version has anything to do with these errors at this point, and I am not able to replicate the problem locally.

@yarikoptic
Copy link
Member Author

ok, we need to undig CI from redness. I think this PR should be a step forward so I will merge

@yarikoptic yarikoptic merged commit baae3d2 into master Apr 30, 2024
42 of 76 checks passed
@yarikoptic yarikoptic deleted the bf-macos-env branch April 30, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Add or improve existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants