Skip to content

Replace Autodeps with pre-commit? #2835

Open

Description

@richardsheridan

https://github.com/jazzband/pip-tools#version-control-integration

I don't know much about pre-commit but if we could get it to run on only a subset of commits it would replace the half-baked tool we have. Maybe using the "manual" stage? (stages: [manual])

Activity

  1. jakkdl commented on Oct 25, 2023

    @jakkdl
    Member

    It's in the plans to move away from the current dependency management, see #2790, which is partially blocked by #2798, which is waiting until we've done a release with the new typehints.

  2. A5rocks commented on Oct 26, 2023

    @A5rocks
    Contributor

    Just popping by to mention that #2790 probably will end up not making a change to how we have requirements files (at least if I have my way and there isn't a great argument for it -- I really don't like having to install a 3rd party tool globally to install requirements ... or have to make 2 venvs, one for the tool and one for the project + deps).

    Given that, I think making this change makes sense and shouldn't be blocked by anything! But I still don't know if we can have platform-independent lockfiles using pip-tools, which is my biggest gripe with it.

  3. jakkdl commented on Oct 26, 2023

    @jakkdl
    Member

    (responded to A5rocks in #2790)

  4. A5rocks commented on Aug 2, 2024

    @A5rocks
    Contributor

    I don't think using a manual stage would make sense, because either way we'd have to commit and push the changes which are the main issues with the current workflow.

  5. CoolCat467 commented on Aug 2, 2024

    @CoolCat467
    Member

    Manual stage would work well for re-generating the autogenerated files, I might make a pull request implementing that later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions