Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 80fbadf

Browse files
authored
Release opencensus python 0.1.2 (#115)
1 parent ae72795 commit 80fbadf

4 files changed

Lines changed: 27 additions & 5 deletions

File tree

RELEASING.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Release OpenCensus Python
2+
3+
## Steps
4+
5+
### Create a Github release
6+
7+
### Update the version number in `setup.py`
8+
9+
### Update the version number in `stackdriver_exporter.py`
10+
11+
### Build the Python wheel
12+
13+
```
14+
python setup.py bdist_wheel
15+
```
16+
17+
### Upload the package to PyPI using twine
18+
19+
```
20+
twine upload dist/*
21+
```

opencensus/trace/exporters/stackdriver_exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
# OpenCensus Version
26-
VERSION = '0.1.1'
26+
VERSION = '0.1.2'
2727

2828
# Agent
2929
AGENT = 'opencensus-python [{}]'.format(VERSION)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
setup(
2525
name='opencensus',
26-
version='0.1.0',
26+
version='0.1.2',
2727
author='OpenCensus Authors',
2828
author_email='census-developers@googlegroups.com',
2929
classifiers=[

tests/unit/trace/exporters/test_stackdriver_exporter.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def test_emit(self):
9292
'g.co/agent': {
9393
'string_value': {
9494
'truncated_byte_count': 0,
95-
'value': 'opencensus-python [0.1.1]'
95+
'value': 'opencensus-python [{}]'.format(stackdriver_exporter.VERSION)
9696
}
9797
}
9898
}
@@ -185,7 +185,8 @@ def test_translate_to_stackdriver(self):
185185
'g.co/agent': {
186186
'string_value': {
187187
'truncated_byte_count': 0,
188-
'value': 'opencensus-python [0.1.1]'}
188+
'value': 'opencensus-python [{}]'.format(stackdriver_exporter.VERSION)
189+
}
189190
},
190191
'key': {
191192
'string_value': {
@@ -247,7 +248,7 @@ def test_set_attributes_gae(self):
247248
'g.co/agent': {
248249
'string_value': {
249250
'truncated_byte_count': 0,
250-
'value': 'opencensus-python [0.1.1]'
251+
'value': 'opencensus-python [{}]'.format(stackdriver_exporter.VERSION)
251252
}
252253
},
253254
}

0 commit comments

Comments
 (0)