memgraph/release/mgp/instructions.md
2022-07-12 10:54:23 +02:00

593 B

How to publish new versions

Prerequisites

  1. Installed poetry
pip install poetry
  1. Set up API tokens
  2. Be a collaborator on pypi

Making changes

  1. Make changes to the package
  2. Bump version in pyproject.tml
  3. poetry build
  4. poetry publish

Why is this not automatized?

Because someone always has to manually bump up the version in pyproject.toml

Why does _mgp.py exists?

Because we are mocking here all the types that are created by Memgraph in order to fix typing errors in mgp.py.