Repository navigation
feat: use the PyO3 engine (3.x) - #449
Conversation
9af45ca to
7ad00c3
Compare
38e8fed to
840bde2
Compare
|
Hi @alexanto Can you take a look at Unleash/yggdrasil-bindings#171 that add a little optimization to the new |
@sighphyre was faster with the review, but thank you for the optimization anyway! |
d228660 to
a21de8c
Compare
ppicom
left a comment
There was a problem hiding this comment.
It's nice to see that the pyro3 engine is ready! I don't see a reason why we should not merge this :)
| requests | ||
| semver | ||
| yggdrasil-engine==2.0.0 | ||
| yggdrasil-engine==3.0.0 |
There was a problem hiding this comment.
Have we considered leaving room for minor and patch upgrades? Like >=3.0.0, <4.0.0?
There was a problem hiding this comment.
good point, will change this when the 3.0.0 is on pypi
| * (Major): `UnleashClient` and `AsyncUnleashClient` take their settings as option groups: `identity=IdentityOptions(...)`, `http=HttpOptions(...)`, `mode=PollingOptions(...)` or `mode=StreamingOptions()`, and `metrics=MetricsOptions(...)`. Every argument after `url` and `app_name` is keyword-only. `ExperimentalMode` has been removed. See the [v7 migration guide](./v7_MIGRATION_GUIDE.md). | ||
| * (Major): Settings can no longer be changed on an existing client. The `unleash_*` settings properties and the `strategy_mapping` and `connector_mode` properties have been removed, together with their setters. | ||
| * (Major): The API token is passed as `api_key="<API token>"`. An `Authorization` header in `HttpOptions.headers` raises `ValueError`. | ||
| * (Major): Upgraded to yggdrasil-engine 3, new engine built with PyO3 for better performance. |
| "python-dateutil", | ||
| "semver < 4.0.0", | ||
| "yggdrasil-engine >= 2.0.0, < 3.0.0", | ||
| "yggdrasil-engine >= 3.0.0a1, < 4.0.0", |
There was a problem hiding this comment.
| "yggdrasil-engine >= 3.0.0a1, < 4.0.0", | |
| "yggdrasil-engine >= 3.0.0, < 4.0.0", |
Is it necessary to make the alpha the limit of the set?
There was a problem hiding this comment.
so far yes, because i have not published the 3.0.0 yet, will bump the version when it is on pypi
a21de8c to
3f5e100
Compare
|
Looks like #454 and #455 didn't make it to Was it on purpose ? If not, I can open them again against |
damn, this is my mess, totally not intentional |
Description
Upgrades the python SDK to the new yggdrasil engine 3 (pyo3). Breaking change because python 3.8 and 3.9 are dropped.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: