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
bump-major | bump major-level unless has .devX, then don't bump, but remove .devX
55
+
bump-minor | bump minor-level unless has .devX, then don't bump, but remove .devX
56
+
bump-patch | bump patch-level unless has .devX, then don't bump, but remove .devX
57
+
bump | alias to bump-patch (as it's used often)
58
+
bump-major-dev | bump major-level and add .dev0
59
+
bump-minor-dev | bump minor-level and add .dev0
60
+
bump-patch-dev | bump patch-level and add .dev0
61
+
bump-dev | alias to bump-patch-dev (as it's used often)
62
+
63
+
64
+
We use semver version convention w/o python adjustment to `.devX`, instead of `-devX`:
34
65
35
-
### PyPI
66
+
* release: `major.minor.patch`, 0.1.10
67
+
* dev or rc: `major.minor.patch.devX`, 0.1.10.dev0
68
+
69
+
For fastprogress, due to its simplicity and usage, there is probably no need for intermediary `.devX` stage. So just normal `bump` will do when a new version is released.
70
+
71
+
72
+
73
+
### PyPI details
36
74
37
75
To build a PyPI package and release it on [pypi.org/](https://pypi.org/project/fastprogress/):
38
76
39
-
1. Build the package (source and wheel)
77
+
1. Build the pip packages (source and wheel)
40
78
41
79
```
42
80
make dist-pypi
@@ -48,7 +86,7 @@ To build a PyPI package and release it on [pypi.org/](https://pypi.org/project/f
48
86
make release-pypi
49
87
```
50
88
51
-
Note: PyPI won't allow re-uploading the same package filename, even if it's a minor fix. If you delete the file from pypi or test.pypi it still won't let you do it. So either a micro-level version needs to be bumped (A.B.C++) or some [post release string added](https://www.python.org/dev/peps/pep-0440/#post-releases) in `setup.py`.
89
+
Note: PyPI won't allow re-uploading the same package filename, even if it's a minor fix. If you delete the file from pypi or test.pypi it still won't let you do it. So either a patch-level version needs to be bumped (A.B.C++) or some [post release string added](https://www.python.org/dev/peps/pep-0440/#post-releases) in `version.py`.
52
90
53
91
3. Test that the uploaded package is found and gets installed:
54
92
@@ -62,11 +100,11 @@ To build a PyPI package and release it on [pypi.org/](https://pypi.org/project/f
62
100
63
101
64
102
65
-
### Conda
103
+
### Conda details
66
104
67
105
To build a Conda package and release it on [anaconda.org](https://anaconda.org/fastai/fastprogress):
68
106
69
-
1. Build the fastprogress package:
107
+
1. Build the fastprogress conda package:
70
108
71
109
```
72
110
make dist-conda
@@ -89,3 +127,9 @@ To build a Conda package and release it on [anaconda.org](https://anaconda.org/f
89
127
```
90
128
conda install -c fastai fastprogress
91
129
```
130
+
131
+
### Others
132
+
133
+
`make clean` removes any intermediary build artifacts.
134
+
135
+
`make` will show all possible targets with a short description of what they do.
0 commit comments