Skip to content

Workflow upgrade #58

@aleksul

Description

@aleksul

Current workflow is pretty good, but also a mess. Let me explain:

Problems

  1. There is no centralized source of truth for dependencies. I'd prefer one requirements.txt file, pip install -r requirements.txt and I'm ready for development. I also don't see any pros for creating separated venvs, as it's only taking more disk space and makes you switch between them regularly.
  2. Scripts! As for now, project on 1/3 consists of scripts. Scripts are hard to maintain, they are platform-dependent, and you have to run them manually. IMHO, they MUST be replaced.

Suggestions

We can:

  • Use poetry to manage dependencies & venvs (it seems to support building and publishing as well).
  • Use tox to standardize testing. For example, see pytest-asyncio.
  • Place most of the configs in pyproject.toml.
  • Setup multiplatform development workspace with devcontainer.json. Also, vs-code Python extension can take care of linting and formatting.

Afterword

I know it isn't so simple as "do that and everyone will be happy" so leave your thoughts in the comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions