fix test_install errors - #1032
Conversation
related to py7zr 1.1.3 and WARNING : Caught Bad7zFile, terminating installer workers ERROR : Specified path is bad: . These errors compromised our ability to mock archives that use extract_target such as those for qtpdf and qtwebengine extensions.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Walkthrough
ChangesMock archive extraction path update
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Here is the difference in the created archives. You can see the extraneous directory entry |
| ( # extensions availability: qtpdf and qtwebengine | ||
| # add --keep to debug created mock archive |
There was a problem hiding this comment.
maybe this is not that awkward?
| ( # extensions availability: qtpdf and qtwebengine | |
| # add --keep to debug created mock archive | |
| ( | |
| # extensions availability: qtpdf and qtwebengine | |
| # add --keep to debug created mock archive |
|
I note the new mock archive structure better matches the Qt archive we are mocking which doesn't have a '.' Directory: |
related to py7zr 1.1.3 and
WARNING : Caught Bad7zFile, terminating installer workers
ERROR : Specified path is bad: .
These errors compromised our ability to mock archives that use extract_target such as those for qtpdf and qtwebengine extensions.
This should fix "Check tox tests" workflow.