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

sapling: fix threading cyclic import error when calling traceback #976

Closed
wants to merge 1 commit into from

Conversation

ahornby
Copy link
Contributor

@ahornby ahornby commented Oct 27, 2024

Summary:

Test Plan:

Before:

./build/fbcode_builder/getdeps.py --allow-system-packages test --src-dir=. sapling --num-jobs=32 --filter test-fb-ext-grpcheck.t --retry 0
...
-  You should be in devs group.
+  unknown python exception <class 'AttributeError'> Some(AttributeError("partially initialized module 'threading' has no attribute 'RLock' (most likely due to a circular import)")) (no-eol)
+  [1]

After:

----------------------------------------------------------------------
# Ran 1 tests, 0 skipped, 0 failed.
passed on try 0

Summary:

Test Plan:

Before:
```
./build/fbcode_builder/getdeps.py --allow-system-packages test --src-dir=. sapling --num-jobs=32 --filter test-fb-ext-grpcheck.t --retry 0
...
-  You should be in devs group.
+  unknown python exception <class 'AttributeError'> Some(AttributeError("partially initialized module 'threading' has no attribute 'RLock' (most likely due to a circular import)")) (no-eol)
+  [1]

```

After:
```
----------------------------------------------------------------------
# Ran 1 tests, 0 skipped, 0 failed.
passed on try 0
```
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@ahornby ahornby closed this Oct 29, 2024
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.

2 participants