Nixos default.nix file for Qt6 #7

Open
ntorres wants to merge 7 commits from nix-qt6-fix into go_httpx
Collaborator

Default.nix file adapted to use Qt6, pyproject.toml file modify, now cython and greenback are under dev group.

Default.nix file adapted to use Qt6, pyproject.toml file modify, now cython and greenback are under dev group.
ntorres added 4 commits 2024-08-15 00:10:41 +00:00
guille approved these changes 2024-08-15 15:07:42 +00:00
guille left a comment
Collaborator

can confirm works

can confirm works
211 KiB
ntorres added 2 commits 2024-08-23 17:37:01 +00:00
cc5b21a7e6 Prep service mngr for move to `tractor.hilevel`
Given it's a fairly simple yet useful abstraction, it makes sense to
offer this sub-sys alongside the core `tractor` runtime lib.

Without going into extreme detail on the impl changes (it'll come in
the commit that moves to the other repo) here is the high level summary:
------ - ------
- rename `Services` -> `ServiceMngr` and use an factory `@acm`
  to guarantee a single-instance-per-actor using a niche approach for a
  singleton object using a default keyword-arg B)
  - the mod level `open_service_mngr()` and `get_service_mngr()` are the
    new allocation/access API.
- add a `ServiceMngr.start_service()` method which does the work of both
  spawning a new subactor (for the daemon) and uses its portal to start
  the mngr side supervision task.
- open actor/task nurseries inside the `@acm` allocator.

Adjust other dependent subsystems to match:
------ - ------
- use `open_service_mngr()` when first allocated in `open_pikerd()`.
- use `get_service_mngr()` instead of importing the class ref inside
  `.service.maybe_spawn_daemon()`, `.brokers._daemon.spawn_brokerd()`
  and `.data._sampling.spawn_samplerd()` using a `partial` to pack in
  the endpoint ctx kwargs (unpacked inside `.start_service()` XD).
de6189da4d Drop `.cancel_actor()` from `maybe_spawn_daemon()`
Since `tractor`'s new and improved inter-actor cancellation semantics
are much more pedantic, AND bc we use the `ServiceMngr` for spawning
service actors on-demand, the caller of `maybe_spawn_daemon()` should
NEVER conduct a so called "out of band" `Actor`-runtime cancel request
since this is precisely the job of our `ServiceMngr` XD

Add a super in depth note explaining the underlying issue and adding
a todo list of how we should prolly augment `tractor` to make such cases
easier to grok and fix in the future!
ntorres added 1 commit 2024-08-23 18:08:05 +00:00

So this is ready to land @NT?

So this is ready to land @NT?

can confirm works

lol bro you gotta re-config ur font size

> can confirm works lol bro you gotta re-config ur font size
Poster
Collaborator

So this is ready to land @NT?

Yeah!!

> So this is ready to land @NT? Yeah!!
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b nix-qt6-fix go_httpx
git pull origin nix-qt6-fix

Step 2:

Merge the changes and update on Gitea.
git checkout go_httpx
git merge --no-ff nix-qt6-fix
git push origin go_httpx
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pikers/piker#7
There is no content yet.