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

Resolve a circular import error in obscure configuarations. #711

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

jhance
Copy link
Contributor

@jhance jhance commented Jan 11, 2025

This resolves #704.

It is unclear why this error is specific to obscure configurations or
what is triggering it, but the overhead of fixing it is small anyhow.

We have been using this patch internally to resolve the issue.

Copy link
Member

@pablogsal pablogsal left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks a lot @jhance for the PR!

@pablogsal pablogsal enabled auto-merge (rebase) January 11, 2025 22:26
@jhance
Copy link
Contributor Author

jhance commented Jan 12, 2025

It looks like you need to approve the workflows

@pablogsal
Copy link
Member

It looks like you need to approve the workflows

Ah, I am using the new Github merge thing and the "Approve workflow" button doesn't appear in that version :S

@pablogsal
Copy link
Member

Do you mind ammending the commit with git commit -s for the DCO check?

@codecov-commenter
Copy link

codecov-commenter commented Jan 12, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 92.91%. Comparing base (a9237b4) to head (cd8bc8f).

Files with missing lines Patch % Lines
src/memray/_metadata.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #711      +/-   ##
==========================================
- Coverage   92.99%   92.91%   -0.08%     
==========================================
  Files          95       95              
  Lines       11675    11678       +3     
  Branches      406      407       +1     
==========================================
- Hits        10857    10851       -6     
- Misses        818      827       +9     
Flag Coverage Δ
cpp 92.91% <75.00%> (-0.08%) ⬇️
python_and_cython 92.91% <75.00%> (-0.08%) ⬇️

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.

auto-merge was automatically disabled January 12, 2025 14:47

Head branch was pushed to by a user without write access

@jhance jhance force-pushed the obscure-circular-dep branch from a07e6c2 to a2f2fb2 Compare January 12, 2025 14:47
@pablogsal pablogsal enabled auto-merge (rebase) January 12, 2025 22:02
@pablogsal pablogsal force-pushed the obscure-circular-dep branch from a2f2fb2 to 5c8ec39 Compare January 12, 2025 22:22
@pablogsal pablogsal disabled auto-merge January 12, 2025 23:05
@pablogsal pablogsal enabled auto-merge (squash) January 12, 2025 23:06
@pablogsal pablogsal disabled auto-merge January 12, 2025 23:06
@pablogsal pablogsal merged commit b954190 into bloomberg:main Jan 13, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

circular import error
3 participants