Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17ade78

Browse files
committed
Merge branch 'master' of github.com:kubernetes-incubator/client-python into release-1.0
2 parents 2fcae28 + a2b3d5d commit 17ade78

File tree

4 files changed

+30
-21
lines changed

4 files changed

+30
-21
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# v1.0.0b3
2+
- Bugfix: Missing websocket-client dependency #131
3+
14
# v1.0.0b2
25
- Support exec calls in both interactive and non-interactive mode #58
36

devel/release.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ should be on the same branch. To update an existing branch:
1818
export RELEASE_BRANCH=release-x.x
1919
git checkout RELEASE_BRANCH
2020
git fetch upstream
21-
git pull upstream/master
22-
git push origin RELEASE_BRANCH
21+
git pull upstream master
2322
```
2423

2524
You may need to fix some conflicts. For auto-generated files, you can commit
@@ -46,9 +45,11 @@ need to update:
4645
CLIENT_VERSION: Client version should follow x.y.zDn where x,y,z are version
4746
numbers (integers) and D is one of "a" for alpha or "b" for beta and n is the
4847
pre-release number. For a final release, "Dn" part should be omitted. Examples:
49-
1.0.0a1, 2.0.1b2, 1.5.1
48+
1.0.0a1, 2.0.1b2, 1.5.1.
49+
5050
SPEC_VERSION: This would be the kubernetes OpenAPI spec version. It should be
5151
deprecated after kubernetes/kubernetes#37055 takes effect.
52+
5253
DEVELOPMENT_STATUS: Update it to one of the values of "Development Status"
5354
in [this list](https://pypi.python.org/pypi?%3Aaction=list_classifiers).
5455

@@ -106,7 +107,7 @@ python setup.py bdist_wheel --universal
106107
ls dist/
107108
```
108109

109-
You should see two files in dist folder. kubernetes*.whl and kubernetes*.tar.gz.
110+
You should see two files in dist folder. kubernetes\*.whl and kubernetes\*.tar.gz.
110111

111112
TODO: We need a dry-run option an some way to test package upload process to pypi.
112113

@@ -119,13 +120,12 @@ twine upload dist/*
119120
## Create github release
120121

121122
Create a gihub release by starting from
122-
[this page(https://github.com/kubernetes-incubator/client-python/releases).
123+
[this page](https://github.com/kubernetes-incubator/client-python/releases).
123124
Click Deaft new release button. Name the tag the same as CLIENT_VERSION. Change
124-
the target branch to "release-x.y"
125+
the target branch to "release-x.y". If the release is a pre-release, check the
126+
`This is a pre-release` option.
125127

126128

127-
ref: https://packaging.python.org/distributing/
128-
129129
## Cleanup
130130

131131
```bash
@@ -134,3 +134,6 @@ rm -rf .release
134134
```
135135

136136
TODO: Convert steps in this document to an (semi-) automated script.
137+
138+
139+
ref: https://packaging.python.org/distributing/

requirements.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
certifi >= 14.05.14
2-
six>=1.9.0
3-
python_dateutil >= 2.5.3
4-
setuptools >= 21.0.0
5-
urllib3 >= 1.19.1
6-
pyyaml >= 3.12
7-
oauth2client >= 4.0.0
8-
ipaddress >= 1.0.17
9-
websocket-client>=0.32.0
1+
certifi>=14.05.14 # MPL
2+
six>=1.9.0 # MIT
3+
python-dateutil>=2.5.3 # BSD
4+
setuptools>=21.0.0 # PSF/ZPL
5+
urllib3>=1.19.1 # MIT
6+
pyyaml>=3.12 # MIT
7+
oauth2client>=4.0.0 # Apache-2.0
8+
ipaddress>=1.0.17 # PSF
9+
websocket-client>=0.32.0 # LGPLv2+

setup.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,16 @@
2828
# http://pypi.python.org/pypi/setuptools
2929

3030
REQUIRES = [
31-
"urllib3 >= 1.19",
32-
"six >= 1.10",
3331
"certifi",
32+
"ipaddress",
33+
"oauth2client",
34+
"setuptools",
35+
"six",
36+
"urllib3",
3437
"python-dateutil",
3538
"pyyaml",
36-
"oauth2client",
37-
"ipaddress"]
39+
"websocket-client",
40+
]
3841

3942
setup(
4043
name=PACKAGE_NAME,

0 commit comments

Comments
 (0)