Description
Project description
Python connector plugin common code: v0.0.4
Rebuild proto files
Clone NEOS-Critical/neos-int-connector-lib, and hashicorp/go-plugin to your code directory (assumed parent of this directory)
Build the connector proto files.
inv build-proto-lib
Build the hashicorp go plugin files.
inv build-proto-plugin
Edit these files to all import from proto import xxxx
as above command
imports manager_pb2
etc directly despite being put in a proto module.
TODO: build these in a communal location so imports etc can be done right.
Prerequisites
The following packages are used across python repositories. A global install of them all is highly recommended.
Code Quality
Tests
invoke tests
invoke tests-coverage
Linting
invoke check-format
invoke check-style
Alternatively run the following to automatically fix linting issues that ruff can.
ruff . --fix
Releases
Release management is handled using bump2version
. The below commands will
start a new release cycle.
$ invoke bump-patch
$ invoke bump-minor
$ invoke bump-major
> vX.Y.Z.rc0
Release candidates can be tested, and new builds can be triggered
using bump-build
.
$ invoke bump-build
> vX.Y.Z.rc0 -> vX.Y.Z.rc1
Once a release candidate is stable, bump-release
will move it from rc
to
official.
$ invoke bump-release
vX.Y.Z.rc1 -> vX.Y.Z
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for int_connector_lib-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2828c8e75cf5165e8d82f9e2b9f6005322452bdebadc2b77733550f3f0b176fc |
|
MD5 | 12203962a450c7931c3a27d69603573e |
|
BLAKE2b-256 | 621e591b103aea79d7d8db90d8875ed9b7bd8284c9e99cf9dd1e0f63d0c3ca47 |