-
Notifications
You must be signed in to change notification settings - Fork 78
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
feat: renew session for expiration, re-execute when error #306
feat: renew session for expiration, re-execute when error #306
Conversation
bfb858a
to
532e885
Compare
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #306 +/- ##
==========================================
- Coverage 77.83% 77.50% -0.34%
==========================================
Files 18 18
Lines 2423 2485 +62
==========================================
+ Hits 1886 1926 +40
- Misses 537 559 +22 ☔ View full report in Codecov by Sentry. |
051ecf2
to
e5f4916
Compare
except ExecutionErrorException as eee: | ||
retry_count = 0 | ||
while retry_count < self._retry_times: | ||
try: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sleep before retry execution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
make black happy
addressing review comments by @Nicole00
84b7fa1
to
adf40f0
Compare
due to 3.12 setuptools cannot fit >=py3.6.2
close: #276
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number: #276
Description:
other changes
CI changed: avoid using pdm install, this was due to since py3.12, future's installation requires setuptools but setuptools was removed and thus it requires explicit installation/dependency on setuptools, while, the setuptools version cannot be resolved in py3.6.2+ actually, so we have to use pip install to mitigate this. (cc @frostming , I replaced pdm install with pip install, ping you to see if elegant way exists?)