home.social

Search

52 results for “pawamoy”

  1. @pawamoy @mistersql

    Ignoring a <4 constraint makes sense, but the fact that a single maximum constraint means it refuses to resolve dependencies that lack a maximum makes no sense in the first place. 🤷

    I've been playing with #PDM a bit as a possible replacement for poetry (with this project, even) but haven't been ready to move to it yet. It seems to be missing some convenience features that I rely heavily on - having the `shell` command launch an activated subshell that you can just exit to return to the unactivated venv state is muscle-memory for me, so I constantly end up closing my terminal. And I haven't found a way to make pdm install actual scripts/symlinks for declared entrypoints - you have to always do `pdm run entrypoint [...]` rather than just running `entrypoint [...]` after activating the shell.

    I'll have to see if poetry v2 actually fixes all of the things that made me want to switch away from poetry. Maybe it won't be necessary.

    #PythonPoetry

  2. Hmmm, how come #uv manages to install #cffi==1.16.0 in GitHub Actions on ubuntu-latest and #Python 3.13.0b1 while it fails locally on (Arch)Linux and Python 3.13.0b1 🤔

    There is no wheel of 1.16.0 for CPython 3.13 🤔 And sources fail to compile (not compatible with 3.13). I'm confused 🤔 🤔 🤔

    github.com/pawamoy/duty/action

  3. Hmmm, how come manages to install ==1.16.0 in GitHub Actions on ubuntu-latest and 3.13.0b1 while it fails locally on (Arch)Linux and Python 3.13.0b1 🤔

    There is no wheel of 1.16.0 for CPython 3.13 🤔 And sources fail to compile (not compatible with 3.13). I'm confused 🤔 🤔 🤔

    github.com/pawamoy/duty/action

  4. Hmmm, how come #uv manages to install #cffi==1.16.0 in GitHub Actions on ubuntu-latest and #Python 3.13.0b1 while it fails locally on (Arch)Linux and Python 3.13.0b1 🤔

    There is no wheel of 1.16.0 for CPython 3.13 🤔 And sources fail to compile (not compatible with 3.13). I'm confused 🤔 🤔 🤔

    github.com/pawamoy/duty/action

  5. Hmmm, how come #uv manages to install #cffi==1.16.0 in GitHub Actions on ubuntu-latest and #Python 3.13.0b1 while it fails locally on (Arch)Linux and Python 3.13.0b1 🤔

    There is no wheel of 1.16.0 for CPython 3.13 🤔 And sources fail to compile (not compatible with 3.13). I'm confused 🤔 🤔 🤔

    github.com/pawamoy/duty/action

  6. Hmmm, how come #uv manages to install #cffi==1.16.0 in GitHub Actions on ubuntu-latest and #Python 3.13.0b1 while it fails locally on (Arch)Linux and Python 3.13.0b1 🤔

    There is no wheel of 1.16.0 for CPython 3.13 🤔 And sources fail to compile (not compatible with 3.13). I'm confused 🤔 🤔 🤔

    github.com/pawamoy/duty/action

  7. I created a small extension that parses `pycon` syntax code blocks *without indentation and without fences*, and renders them using 's Highlight extension 🙂

    It will be useful in Python docstrings, to add examples anywhere just how expects them!

    It's immediately available to my sponsors and has been added to the GraviFridge goal (pawamoy.github.io/insiders/#10) 😊

  8. When installing dependencies, formatting code, linting it, type-checking it, and building docs with or , , , and would previously take from 2min to several more, it now takes less than 15 seconds for the whole thing, thanks to , , and .

    This is for 5 versions (3.10 to 3.15).

    The DX got much better 🥰

  9. When installing dependencies, formatting code, linting it, type-checking it, and building docs with #Poetry or #PDM, #Black, #Flake8, #Mypy and #MkDocs would previously take from 2min to several more, it now takes less than 15 seconds for the whole thing, thanks to #uv, #Ruff, #ty and #Zensical.

    This is for 5 #Python versions (3.10 to 3.15).

    The DX got much better 🥰

  10. When installing dependencies, formatting code, linting it, type-checking it, and building docs with #Poetry or #PDM, #Black, #Flake8, #Mypy and #MkDocs would previously take from 2min to several more, it now takes less than 15 seconds for the whole thing, thanks to #uv, #Ruff, #ty and #Zensical.

    This is for 5 #Python versions (3.10 to 3.15).

    The DX got much better 🥰

  11. When installing dependencies, formatting code, linting it, type-checking it, and building docs with #Poetry or #PDM, #Black, #Flake8, #Mypy and #MkDocs would previously take from 2min to several more, it now takes less than 15 seconds for the whole thing, thanks to #uv, #Ruff, #ty and #Zensical.

    This is for 5 #Python versions (3.10 to 3.15).

    The DX got much better 🥰

  12. Griffe is now able to compute source links for objects, pointing to GitHub or other Git services online. See the changelog for v1.14: mkdocstrings.github.io/griffe/.

    #griffe #python #api #git

  13. Griffe is now able to compute source links for objects, pointing to GitHub or other Git services online. See the changelog for v1.14: mkdocstrings.github.io/griffe/.

  14. Griffe is now able to compute source links for objects, pointing to GitHub or other Git services online. See the changelog for v1.14: mkdocstrings.github.io/griffe/.

    #griffe #python #api #git

  15. Griffe is now able to compute source links for objects, pointing to GitHub or other Git services online. See the changelog for v1.14: mkdocstrings.github.io/griffe/.

    #griffe #python #api #git

  16. Griffe is now able to compute source links for objects, pointing to GitHub or other Git services online. See the changelog for v1.14: mkdocstrings.github.io/griffe/.

    #griffe #python #api #git

  17. Kinda crazy to see #Griffe mentioned as inspiration for the design of #OpenAI's Agents SDK 🤯 Cool to see the SDK's API reference being documented with #mkdoctrings, too 🥰

  18. Kinda crazy to see mentioned as inspiration for the design of 's Agents SDK 🤯 Cool to see the SDK's API reference being documented with , too 🥰

  19. Kinda crazy to see #Griffe mentioned as inspiration for the design of #OpenAI's Agents SDK 🤯 Cool to see the SDK's API reference being documented with #mkdoctrings, too 🥰

  20. Kinda crazy to see #Griffe mentioned as inspiration for the design of #OpenAI's Agents SDK 🤯 Cool to see the SDK's API reference being documented with #mkdoctrings, too 🥰

  21. Kinda crazy to see #Griffe mentioned as inspiration for the design of #OpenAI's Agents SDK 🤯 Cool to see the SDK's API reference being documented with #mkdoctrings, too 🥰

  22. Also, use 😛 Cappa leaves your functions/dataclasses (commands) intact.

    cappa.readthedocs.io/en/latest/

  23. How do you generate JSON schemas of your dataclasses' **inputs**? Any third-party library (something else than stdlib's dataclasses) allowing one to do that?

    For example, input type is `int | str`, but final/output type is always `int` (coerced). I want to document the input type, not the output type.

  24. Rewriting an argparse-based CLI with . It's much cleaner:

    - less verbose
    - better contained (single module instead of using submodules for subcommands)
    - better typed (dataclasses!)
    - as reusable, or more reusable in other CLIs (classes instead of functions that modify an argparse parser)
    - much easier to use programmatically (no need to call `main` or build an `argparse.Namespace` manually)
    - better documented
    - better output (rich!)

    github.com/DanCardin/cappa