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

Alpha3 #259

Merged
merged 4 commits into from
Nov 2, 2021
Merged

Alpha3 #259

merged 4 commits into from
Nov 2, 2021

Conversation

goodboy
Copy link
Owner

@goodboy goodboy commented Nov 1, 2021

3rd alpha release.
Also tossed in 3.10 to CI let's see if that works 😂

Notes for trio montly, ping @Fuyukai:

tractor saw its 4th alpha release with some interesting improvements in the core cross-actor cancellation mechanics as well as the start of a public expose of what were our internal trio helper API goodies and we officially now have optional msgspec support!

The quick feature summary:

  • We switched to making windows use the trio/subprocess spawner by default which means windows users now get multi-core debugger support out of the box.
  • Support for optional msgspec lib usage for those who want a faster and typed codec alternative to msgpack-python.
  • We exposed a new sub-package tractor.trionics which is where we'll be stashing all our "higher level" trio related helper APIs going forward. For example checkout our new gather_contexts concurrent context manager enter-er (kinda like a concurrent version of asyncio.gather() but for context manager instances).
  • Dropped Py 3.8 support as we decided to roll with a new model of supporting only the latest 2 major releases which means we also now support 3.10.
  • Change the core message loop to handle task and actor-runtime cancel
    requests immediately instead of scheduling them as is done for rpc-task
    requests. Previously cancel requests were actually scheduled as rpc requests but this has changed to instead invoke a synchronous style cancellation which resulted in a massive reduction in teardown race conditions particularly in our anti-zombie-process machinery and it's interaction with the debugger system.

@goodboy
Copy link
Owner Author

goodboy commented Nov 2, 2021

There super naively dropped 3.10 on windows for now which I'm thinking is nbd for this release (because it likely works just fine).

@goodboy
Copy link
Owner Author

goodboy commented Nov 2, 2021

Ugh but mistakenly dropped msgspec testing for windows..
We know it works (due to previous runs) so not going to stress about fixing CI before this release.

@goodboy goodboy merged commit 2c12d39 into master Nov 2, 2021
@goodboy goodboy deleted the alpha3 branch November 2, 2021 18:47
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