morrison12
morrison12
`files.block` needs an option that makes it assume the specified filed is present to cover the case where a package will be installed and needs to be configured during the...
`Enum`s with "complex" values, for example a `tuple`, can't be deserialized as shown from the example below. In the example below, it appears it is because the values are deserialized...
Add initial set of facts and operations for [`uv`](https://docs.astral.sh/uv/). Comments and Suggestions welcome. - [x] Pull request is based on the default branch (`3.x` at this time) - [x] Pull...
## Describe the bug Removal of the temporary file fails in the case where the `sudo` is required for the `chdir` to succeed/ ## To Reproduce Any `file.put` with: 1....
The `_chdir` may require the `_sudo` which has been removed from arguments and thus given it isn't need for the `rm`, we remove the `_chdir` to avoid it failing due...
If I understand correctly, the current typing prohibits static strings as `FactBase.command`s as `command` is typed as a Callable returning either a `str` or `StringCommand`: https://github.com/pyinfra-dev/pyinfra/blob/cc58a74e561d9b6699724f0fe770783796938db5/pyinfra/api/facts.py#L50-L59 I had naively expected...