File tree 1 file changed +25
-3
lines changed
Filter options
1 file changed +25
-3
lines changed
Original file line number Diff line number Diff line change 1
1
Installing semver
2
2
=================
3
3
4
+ Release Policy
5
+ --------------
6
+
7
+ As semver uses `Semantic Versioning `_, breaking changes are only introduced in major
8
+ releases (incremented X in "X.Y.Z").
9
+
10
+ For users who want to stay with major 2 releases only, add the following version
11
+ restriction::
12
+
13
+ semver>=2,<3
14
+
15
+ This line avoids surprises. You will get any updates within the major 2 release like
16
+ 2.9.1, 2.10.0, or above. However, you will never get an update for semver 3.0.0.
17
+
18
+ Keep in mind, as this line avoids any major version updates, you also will never
19
+ get new exciting features or bug fixes.
20
+
21
+ You can add this line in your file :file: `setup.py `, :file: `requirements.txt `, or any other
22
+ file that lists your dependencies.
4
23
5
24
Pip
6
25
---
@@ -17,12 +36,12 @@ For Python 3:
17
36
18
37
pip3 install semver
19
38
20
- If you want to install this specific version, you can use the command :command: `pip `
21
- with an URL:
39
+ If you want to install this specific version (for example, 2.10.0), use the command :command: `pip `
40
+ with an URL and its version :
22
41
23
42
.. parsed-literal ::
24
43
25
- pip3 install git+https://github.com/python-semver/python-semver.git@|version|
44
+ pip3 install git+https://github.com/python-semver/python-semver.git@2.10.0
26
45
27
46
28
47
Linux Distributions
@@ -103,3 +122,6 @@ Ubuntu
103
122
2. Install the package::
104
123
105
124
$ sudo apt-get install python3-semver
125
+
126
+
127
+ .. _semantic versioning : http://semver.org/
You can’t perform that action at this time.
0 commit comments