Oliver Mannion

Results 233 comments of Oliver Mannion

> we decided to commit to PubGrub instead of a libsolv-style solver just a question to satisfy my own intellectual curiosity around resolvers, what made you settle on PubGrub over...

A work around whilst there's no fix is to provide an empty template and the explicit file names, which produces a warning but will work on the files in the...

Thanks for looking into this! When I try `-exclude-dir ""` I get: ``` Error parsing command line: failed to parse -exclude-dir value "". (Failure "Command.Spec.Arg_type.comma_separated: empty list not allowed") For...

Connection failures can happen when a pod restarts. A pod might restart during batch updates if it is OOM.

Related to [pip #9036 - Show dependency tree in ResolutionImpossible error message](https://github.com/pypa/pip/issues/9036)

As a workaround, switching the task execution to `thread` or `async` (rather than default of `process`) avoids this problem, presumably because pickling doesn't need to happen.

Thanks for the explanation! This is the only config I have: ```python app = Rocketry( # see https://rocketry.readthedocs.io/en/stable/handbooks/config.html config={ "task_execution": "process", } ) ``` Interestingly, if I remove that config...

thanks so much @Jypear i've cloned rocketry #212 and [redbird #49](https://github.com/Miksus/red-bird/pull/49) and integrated it at `git+https://github.com/tekumara/rocketry@pydantic-v2` and it works well! hoping your PRs can be merged soon 🙏

A workaround for now is to use an async task, and [to_thread from anyio](https://anyio.readthedocs.io/en/stable/threads.html#running-a-function-in-a-worker-thread) to move sync methods to a thread, eg: ```python def sync_stuff(): print(asyncio.get_running_loop()) # will throw RuntimeError:...

If you haven't already committed to a linter I recommend checking out https://github.com/charliermarsh/ruff .. super fast, fully-featured (covers a range of checks beyond pylint) and the maintainers are very responsive...