You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You want to first create an RC (release candidate) to ensure that it works.
12
12
13
-
For example, if the current version is: `0.7.0`, then you should increment the version to `0.8.0rc0` which will create an RC, which is treated as a [pre-release by PyPI](https://packaging.python.org/en/latest/specifications/version-specifiers/#pre-releases).
13
+
For example, if the current version is: `0.7.0`, then you should increment the version to `0.8.0rc1` which will create an RC, which is treated as a [pre-release by PyPI](https://packaging.python.org/en/latest/specifications/version-specifiers/#pre-releases).
14
14
15
15
## Install locally
16
16
@@ -28,7 +28,7 @@ This will build the Mesop pip package and install it locally so you can test it.
28
28
29
29
### Dev CLI
30
30
31
-
The above shell script will run the following command:
31
+
The above shell script will tell you to run the following command:
32
32
33
33
```sh
34
34
mesop main.py
@@ -67,7 +67,7 @@ Because Colab installs from PyPI, you will need to test the RC on Colab after up
67
67
Open our [Mesop Colab notebook](https://colab.research.google.com/github/google/mesop/blob/main/notebooks/mesop_colab_getting_started.ipynb). You will need to explicitly pip install the RC version as pip will _not_ automatically install a pre-release version, even if it's the newest version. So change the first cell to something like:
68
68
69
69
```sh
70
-
!pip install mesop==0.X.Yrc0
70
+
!pip install mesop==0.X.Yrc1
71
71
```
72
72
73
73
> Tip: sometimes it takes a minute for the PyPI registry to be updated after upload, so just try again.
@@ -76,11 +76,11 @@ Then, run all the cells and make sure it works. Usually if something breaks in C
76
76
77
77
## Change the version from RC to regular release
78
78
79
-
If you find an issue, then redo the above steps and create another RC candidate: `0.8.0rc0` -> `0.8.0rc1`.
79
+
If you find an issue, then redo the above steps and create another RC candidate: `0.8.0rc1` -> `0.8.0rc2`.
80
80
81
81
If all the testing looks good, then you can update [`mesop/version.py`](https://github.com/google/mesop/blob/main/mesop/version.py) and change the version from RC to a regular release, for example:
82
82
83
-
`0.8.0rc0` -> `0.8.0`
83
+
`0.8.0rc1` -> `0.8.0`
84
84
85
85
Re-do the steps above to build, test and upload it to PyPI.
0 commit comments