Skip to content

Conversation

@yxtay
Copy link
Contributor

@yxtay yxtay commented Dec 18, 2023

Summary

Respects min argument for wait_random_exponential

  • currently, min argument only affects computing the high range of the uniform sampling
  • min does not affect the low range of the uniform sampling, hence the sampled wait may be lower than min specified
  • This PR fixes the issue, which I believe is unexpected

Tests

pytest tests/test_tenacity.py::TestWaitConditions::test_wait_random_exponential

jd
jd previously approved these changes Dec 18, 2023
@mergify mergify bot dismissed jd’s stale review December 18, 2023 08:41

Pull request has been modified.

@yxtay yxtay requested a review from jd December 18, 2023 08:44
jd
jd previously approved these changes Mar 2, 2024
@mergify mergify bot dismissed jd’s stale review March 2, 2024 09:19

Pull request has been modified.

@Dheavyman
Copy link

Any update on merging this please?

jd
jd previously approved these changes Jul 26, 2024
@mergify mergify bot dismissed jd’s stale review July 27, 2024 13:22

Pull request has been modified.

@mergify mergify bot merged commit a662bbb into jd:main Jul 29, 2024
HuanzhiMao added a commit to ShishirPatil/gorilla that referenced this pull request Jul 6, 2025
This PR updates the inference mechanism for Google Gemini models,
replacing the use of Google Vertex AI with Google AI Studio.
In addition, this PR downgrades `tenacity` from 9.0.0 → 8.5.0 because
`google-genai` currently pins `tenacity<9.0`.

----

**Compatibility note on tenacity**

Our code does exercise the retry path affected by [jd/tenacity
#425](jd/tenacity#425), but the issue has no
functional impact on our evaluation accuracy. Therefore, the temporary
downgrade is considered safe.
We will revert to tenacity ≥9.0 once python-genai removes the <9.0 pin
(tracked in [googleapis/python-genai
#1005](googleapis/python-genai#1005)).
incredibledevpy added a commit to incredibledevpy/gorilla-custom that referenced this pull request Oct 28, 2025
This PR updates the inference mechanism for Google Gemini models,
replacing the use of Google Vertex AI with Google AI Studio.
In addition, this PR downgrades `tenacity` from 9.0.0 → 8.5.0 because
`google-genai` currently pins `tenacity<9.0`.

----

**Compatibility note on tenacity**

Our code does exercise the retry path affected by [jd/tenacity
#425](jd/tenacity#425), but the issue has no
functional impact on our evaluation accuracy. Therefore, the temporary
downgrade is considered safe.
We will revert to tenacity ≥9.0 once python-genai removes the <9.0 pin
(tracked in [googleapis/python-genai
#1005](googleapis/python-genai#1005)).
rairegalon added a commit to rairegalon/gorilla-custom that referenced this pull request Oct 28, 2025
This PR updates the inference mechanism for Google Gemini models,
replacing the use of Google Vertex AI with Google AI Studio.
In addition, this PR downgrades `tenacity` from 9.0.0 → 8.5.0 because
`google-genai` currently pins `tenacity<9.0`.

----

**Compatibility note on tenacity**

Our code does exercise the retry path affected by [jd/tenacity
#425](jd/tenacity#425), but the issue has no
functional impact on our evaluation accuracy. Therefore, the temporary
downgrade is considered safe.
We will revert to tenacity ≥9.0 once python-genai removes the <9.0 pin
(tracked in [googleapis/python-genai
#1005](googleapis/python-genai#1005)).
johniebaptora added a commit to johniebaptora/gorilla-custom that referenced this pull request Oct 29, 2025
This PR updates the inference mechanism for Google Gemini models,
replacing the use of Google Vertex AI with Google AI Studio.
In addition, this PR downgrades `tenacity` from 9.0.0 → 8.5.0 because
`google-genai` currently pins `tenacity<9.0`.

----

**Compatibility note on tenacity**

Our code does exercise the retry path affected by [jd/tenacity
#425](jd/tenacity#425), but the issue has no
functional impact on our evaluation accuracy. Therefore, the temporary
downgrade is considered safe.
We will revert to tenacity ≥9.0 once python-genai removes the <9.0 pin
(tracked in [googleapis/python-genai
#1005](googleapis/python-genai#1005)).
CodyOnGit added a commit to CodyOnGit/gorilla-custom that referenced this pull request Oct 30, 2025
This PR updates the inference mechanism for Google Gemini models,
replacing the use of Google Vertex AI with Google AI Studio.
In addition, this PR downgrades `tenacity` from 9.0.0 → 8.5.0 because
`google-genai` currently pins `tenacity<9.0`.

----

**Compatibility note on tenacity**

Our code does exercise the retry path affected by [jd/tenacity
#425](jd/tenacity#425), but the issue has no
functional impact on our evaluation accuracy. Therefore, the temporary
downgrade is considered safe.
We will revert to tenacity ≥9.0 once python-genai removes the <9.0 pin
(tracked in [googleapis/python-genai
#1005](googleapis/python-genai#1005)).
CoinOfGreen added a commit to CoinOfGreen/gorilla-custom that referenced this pull request Oct 30, 2025
This PR updates the inference mechanism for Google Gemini models,
replacing the use of Google Vertex AI with Google AI Studio.
In addition, this PR downgrades `tenacity` from 9.0.0 → 8.5.0 because
`google-genai` currently pins `tenacity<9.0`.

----

**Compatibility note on tenacity**

Our code does exercise the retry path affected by [jd/tenacity
#425](jd/tenacity#425), but the issue has no
functional impact on our evaluation accuracy. Therefore, the temporary
downgrade is considered safe.
We will revert to tenacity ≥9.0 once python-genai removes the <9.0 pin
(tracked in [googleapis/python-genai
#1005](googleapis/python-genai#1005)).
MagnusLabonne added a commit to MagnusLabonne/gorilla-custom that referenced this pull request Nov 15, 2025
This PR updates the inference mechanism for Google Gemini models,
replacing the use of Google Vertex AI with Google AI Studio.
In addition, this PR downgrades `tenacity` from 9.0.0 → 8.5.0 because
`google-genai` currently pins `tenacity<9.0`.

----

**Compatibility note on tenacity**

Our code does exercise the retry path affected by [jd/tenacity
#425](jd/tenacity#425), but the issue has no
functional impact on our evaluation accuracy. Therefore, the temporary
downgrade is considered safe.
We will revert to tenacity ≥9.0 once python-genai removes the <9.0 pin
(tracked in [googleapis/python-genai
#1005](googleapis/python-genai#1005)).
BaddestNinja added a commit to BaddestNinja/gorilla-custom that referenced this pull request Nov 19, 2025
This PR updates the inference mechanism for Google Gemini models,
replacing the use of Google Vertex AI with Google AI Studio.
In addition, this PR downgrades `tenacity` from 9.0.0 → 8.5.0 because
`google-genai` currently pins `tenacity<9.0`.

----

**Compatibility note on tenacity**

Our code does exercise the retry path affected by [jd/tenacity
#425](jd/tenacity#425), but the issue has no
functional impact on our evaluation accuracy. Therefore, the temporary
downgrade is considered safe.
We will revert to tenacity ≥9.0 once python-genai removes the <9.0 pin
(tracked in [googleapis/python-genai
#1005](googleapis/python-genai#1005)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants