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: fix logging test typehint syntax error for py38 #9142

Merged
merged 4 commits into from
Apr 10, 2024
Merged

Conversation

hamidzr
Copy link
Member

@hamidzr hamidzr commented Apr 10, 2024

Ticket

Description

py 3.8 is not happy with re.Pattern[str]

Test Plan

intentional failures https://app.circleci.com/pipelines/github/determined-ai/determined/53837/workflows/64c6bb5a-d27e-44ec-9846-58f58754474e

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

@cla-bot cla-bot bot added the cla-signed label Apr 10, 2024
Copy link

netlify bot commented Apr 10, 2024

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit 7e54083
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/6616c4473bf6cd0008645cd8

@hamidzr hamidzr changed the title tests: fix logging test typehint syntax error test: fix logging test typehint syntax error Apr 10, 2024
Copy link

codecov bot commented Apr 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.20%. Comparing base (1bb2fe4) to head (7e54083).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9142      +/-   ##
==========================================
- Coverage   46.94%   46.20%   -0.75%     
==========================================
  Files         755     1175     +420     
  Lines      104809   145341   +40532     
  Branches     2414     2414              
==========================================
+ Hits        49201    67149   +17948     
- Misses      55399    77983   +22584     
  Partials      209      209              
Flag Coverage Δ
backend 43.69% <ø> (+9.44%) ⬆️
harness 64.00% <ø> (+<0.01%) ⬆️
web 36.77% <ø> (ø)

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

see 422 files with indirect coverage changes

@hamidzr hamidzr marked this pull request as ready for review April 10, 2024 17:05
@hamidzr hamidzr requested a review from a team as a code owner April 10, 2024 17:05
@hamidzr hamidzr requested a review from maxrussell April 10, 2024 17:05
Copy link
Contributor

@NicholasBlaskey NicholasBlaskey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm assuming tests pass

@hamidzr hamidzr self-assigned this Apr 10, 2024
@hamidzr
Copy link
Member Author

hamidzr commented Apr 10, 2024

github outage?

 POST https://github.com/determined-ai/determined/pull/9142/merge 504 (Gateway Timeout)

@hamidzr
Copy link
Member Author

hamidzr commented Apr 10, 2024

please merge with this title if you can: test: fix test_logging typehint syntax error (#9142)

Merge attempt failed
Merge already in progress

@hamidzr hamidzr added the to-cherry-pick Pull requests that need to be cherry-picked into the current release label Apr 10, 2024
@hamidzr
Copy link
Member Author

hamidzr commented Apr 10, 2024

this is a test only change but I marked it to be cherry picked because I assume it'd affect the release branch tests

@hamidzr hamidzr merged commit 3f7a396 into main Apr 10, 2024
94 of 101 checks passed
@hamidzr hamidzr deleted the hz-test-fix branch April 10, 2024 20:51
dai-release bot pushed a commit that referenced this pull request Apr 10, 2024
@hamidzr hamidzr changed the title test: fix logging test typehint syntax error test: fix logging test typehint syntax error for py38 Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed to-cherry-pick Pull requests that need to be cherry-picked into the current release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants