Open Experiment Format
Project description
open-experiment-format
Open Experiment Format is a collection of protobufs that allows you to serialize an Experiment.
Building and testing
Requirements:
protoc
: See http://google.github.io/proto-lens/installing-protoc.htmlpytest
: runpip3 install pytest
to install it.
Those requirements are already installed if you develop via dmake shell oef
.
Then, simply run make test
to launch tests.
How to deploy
This should be done after your pull request has been merged to master.
Bump the version in deepomatic/oef/__init__.py
If you break the protobuf format since the last release, you need to:
- provide a migration file
- bump and commit the major version number and reset other numbers to 0.
- commit your changes
Tag the commit
Once the pull request is merged, tag the (last) corresponding commit by doing:
git checkout commit_id
version=0.1.2
git tag -m "Release open-experiment-format v${version}" v${version}
git push origin v${version}
Create a github release
- Start by doing
git fetch --tags --quiet --force
as a workaround for a bug indmake release
. - Run
dmake release open-experiment-format
and select the tag you just released - Dmake display the URL of you release: you can edit the description to hide unnecessary commits
Release the packages for this version on pypi
Open dmake shell oef
, and simply run make publish
. You will need to be admin on PyPi for it to work. If on MacOS, you should be
inside the ubuntu docker container to make sure you build a linux package (maybe not necessary, this has not been verified).
You can check the release here: https://pypi.org/project/deepomatic-oef/#files
Bump the version in deepomatic/oef/__init__.py
You now bump the minor / patch version number to prepare for the next release:
- if you a on the master branch, modify the minor version number
- if you are on a maintenance branch, change the patch version.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for deepomatic_oef-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e023ba896ad31c625162ea3792fa6340510c5f4b918d0304af24821c884e46c |
|
MD5 | ab2777ec1ebb3ed4e73cd5f2bc1115f8 |
|
BLAKE2b-256 | e9c11e57ebd55fca3d7e81b45581450c9bc9f22fe33c2f9c2f5868b0fc9b8ba8 |