From 086f021487d004b51dadbb79f172a50ea08913cd Mon Sep 17 00:00:00 2001 From: Ian Spektor Date: Thu, 13 Jul 2023 14:38:12 +0200 Subject: [PATCH] bump versions, add release instructions to contributing guide --- CONTRIBUTING.md | 9 +++++++++ pyproject.toml | 2 +- temporian/__init__.py | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 487ee74db..691cfeb2d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,6 +16,15 @@ All submissions, including submissions by project members, require review. We us All new contributions must pass all the tests and checks performed by GitHub actions, and any changes to docstrings must respect the [docstring guidelines](docs/docstring_guidelines.md). +## Release to PyPI + +The Python package is built and published to PyPI when a new release is created in GitHub. + +To create a new release, follow these steps: + +1. Push a new commit to `main` updating the version number in `pyproject.toml` and `temporian/__init__.py` to the new version number (e.g. `1.3.2`). +2. Create a new [GitHub release](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release) with the new version's name prepended with `v`, e.g. `v1.3.2`. + ## Development ### Environment Setup diff --git a/pyproject.toml b/pyproject.toml index 3dd122380..4396783d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "temporian" -version = "0.1.1" +version = "0.1.2" description = "Temporian is a Python package for feature engineering of temporal data, focusing on preventing common modeling errors and providing a simple and powerful API, a first-class iterative development experience, and efficient and well-tested implementations of common and not-so-common temporal data preprocessing functions." authors = [ "Mathieu Guillame-Bert, Braulio RĂ­os, Guillermo Etchebarne, Ian Spektor, Richard Stotz ", diff --git a/temporian/__init__.py b/temporian/__init__.py index 398c42b18..976a148fa 100644 --- a/temporian/__init__.py +++ b/temporian/__init__.py @@ -25,7 +25,7 @@ # from temporian.module import submodule as _submodule # del _submodule -__version__ = "0.1.1" +__version__ = "0.1.2" # Register all operator implementations from temporian.implementation.numpy import operators as _impls