Migrate to uv #6

Open
guille wants to merge 0 commits from uv_migration into hilevel_serman
Collaborator

Converts our pyproject.toml’s poetry-specific sections to expect uv usage.

Much thx to @guille for running the converter for us 😏


still todo for this to land

  • figure out if the pdbp REPL’s lack of tab completion discovered while using piker is something py-env specific or something to do with (at least for @goodboy’s usage) the use of uv run xonsh..

  • figure out where we want to land this in the repo’s upstream history?

Converts our `pyproject.toml`'s `poetry`-specific sections to expect `uv` usage. Much thx to @guille for running the converter for us :smirk: --- #### still todo for this to land - [ ] figure out if the `pdbp` REPL's lack of tab completion discovered while using `piker` is something py-env specific or something to do with (at least for @goodboy's usage) the use of `uv run xonsh`.. - [ ] figure out *where* we want to land this in the repo's upstream history? - feels like getting it in to `master` after the merge of the main outstanding dev-branch PR on GH (pretty sure it's https://github.com/goodboy/tractor/pull/357) so that we can use it sooner-then-later!
guille added 1 commit 2025-01-22 17:56:17 +00:00
goodboy added 1 commit 2025-02-14 18:25:15 +00:00

Also tossed in a ruff.toml based on their default since we’re apparently going all in on Astral these days 😎

Also tossed in a `ruff.toml` based on their default since we're apparently going all in on `Astral` these days 😎
goodboy added 2 commits 2025-02-24 17:40:08 +00:00
79a426ac7a Add in some dev deps for @goodboy
Namely since i use `xonsh` for a main shell, this includes adding it as
well as related tooling.

Some other stuff retained from `poetry` days,
- add usage-comments around various (optional) deps.
- add toml section separator lines.
- go with 2-space indent.
- add comment on `trio>0.27` needed for py3.13+
goodboy force-pushed uv_migration from 79a426ac7a to c103a5c136 2025-02-24 18:04:02 +00:00 Compare
goodboy added 1 commit 2025-02-26 20:14:21 +00:00
ce537bc010 Handle cpython builds with `libedit` for `readline`
Since `uv`'s cpython distributions are built this way `pdbp`'s tab
completion was breaking (as was vi-mode). This adds a new
`.devx._enable_readline_feats()` import hook which checks for the
appropriate library and applies settings accordingly.
goodboy force-pushed uv_migration from ce537bc010 to 63d5e65100 2025-03-10 16:34:23 +00:00 Compare
This pull request has changes conflicting with the target branch.
  • tractor/to_asyncio.py
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 uv_migration hilevel_serman
git pull origin uv_migration

Step 2:

Merge the changes and update on Gitea.
git checkout hilevel_serman
git merge --no-ff uv_migration
git push origin hilevel_serman
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 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: goodboy/tractor#6
There is no content yet.