Skip to content

Commit deb0001

Browse files
committed
a few more comments that i had missed
1 parent 668d919 commit deb0001

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

package-structure-code/publish-python-package-pypi-conda.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Creating environment that mixes all those packages are usually easier and more c
6868
While **conda** was originally created to support Python packages, it
6969
is now used across all languages. This cross-language support
7070
makes it easier for some packages to include and have access to
71-
tools written in other languages (such as gdal??)
71+
tools written in other languages (such as gdal, BLAS/LAPACK and other tools).
7272
```
7373

7474
### Conda channels

package-structure-code/python-package-versions.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,24 @@ with how and when you update your package versions is important as:
2626
bump a package version based on standard rules.
2727
3. Consistent version increases following semver rules mean that values of your package version explain the extent of the changes made in the code base from version to version. thus your package version numbers become "expressive" in the same way that naming code variables well can [make code expressive](https://medium.com/@daniel.oliver.king/writing-expressive-code-b69ef7a5a2fa).
2828

29+
```{note}
30+
A note about versioning
31+
32+
In some cases even small version changes can turn a package update
33+
into a breaking change for some users. What is also important is that
34+
you document how you version your code and if you can, also
35+
document your deprecation policy for code.
36+
```
37+
2938
<!-- TODO: Better link to what expressive code is?-->
3039

3140
### SemVer rules
3241

3342
Following SemVer, your bump your package version to a:
3443

35-
- patch (0.1.1 --> 0.1.**2**)
36-
- minor (0.1.1 --> 0.**2**.1)
37-
- major (0.1.1 --> **1**.1.1)
44+
- patch (1.1.1 --> 1.1.**2**)
45+
- minor (1.1.1 --> 1.**2**.1)
46+
- major (1.1.1 --> **2**.1.1)
3847

3948
version number change based on the following rules:
4049

0 commit comments

Comments
 (0)