Skip to content

Commit 5a2bb52

Browse files
author
Ryan P
authored
OpenSSL version bump to 1.0.2o (confluentinc#410)
1 parent 443177e commit 5a2bb52

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

tools/RELEASE.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,20 @@ replace as necessary with your version or remove `rc..` suffix for the
2525
final release.
2626

2727

28-
## 1. Update in-source versions
28+
## 1. Update OpenSSL version if necessary
29+
30+
As of v0.11.4 OpenSSL is packaged with the python client. It's important
31+
that the OpenSSL version is kept up to date with the latest release.
32+
33+
Update `OPENSSL_VERSION` in `tools/build-openssl.sh` with the latest 1.0.x version
34+
as documented at [openssl.org](https://www.openssl.org/source/)
35+
36+
Commit this change with a commit-message mentioning the version bump:
37+
38+
$ git commit -m "OpenSSL version bump to 1.0.2o" tools/build-openssl.sh
39+
40+
41+
## 2. Update in-source versions
2942

3043
There are a number of source files that needs to be updated with the
3144
new version number, the easiest way to find these is to search for the
@@ -43,15 +56,15 @@ Commit these changes with a commit-message containing the version:
4356
$ git commit -m "Version v0.11.4rc1" confluent_kafka/src/confluent_kafka.c docs/conf.py setup.py
4457

4558

46-
## 2. Create a tag
59+
## 3. Create a tag
4760

4861
The tag should be created right after the commit and be named the same as
4962
the version.
5063

5164
$ git tag v0.11.4rc1
5265

5366

54-
## 3. Push tag and commits
67+
## 4. Push tag and commits
5568

5669
Perform a dry-run push first to make sure the correct branch and only our tag
5770
is pushed.
@@ -66,13 +79,13 @@ An alternative is to push branch and tags separately:
6679
$ git push --dry-run --tags origin v0.11.4rc1
6780

6881

69-
## 4. Wait for CI builds
82+
## 5. Wait for CI builds
7083

7184
Monitor travis-ci builds by looking atthe *tag* build at
7285
[travis-ci]https://travis-ci.org/confluentinc/confluent-kafka-python
7386

7487

75-
## 5. Download build artifacts from S3
88+
## 6. Download build artifacts from S3
7689

7790
*Note*: You will need set up your AWS credentials in `~/.aws/credentials` to
7891
gain access to the S3 bucket.
@@ -87,7 +100,7 @@ The artifacts will be downloaded to `dl-<tag>/`.
87100

88101

89102

90-
## 6. Verify packages
103+
## 7. Verify packages
91104

92105
Create a new virtualenv:
93106

@@ -106,7 +119,7 @@ and librdkafka versions:
106119
py: ('0.11.4', 721920) c: ('0.11.4-RC1', 722121)
107120

108121

109-
## 7. Upload packages to PyPi
122+
## 8. Upload packages to PyPi
110123

111124
To upload binary packages to test.pypi.org, use:
112125

@@ -127,7 +140,7 @@ Upload source packages to the proper pypi.org (WARNING!):
127140
$ python setup.py sdist upload
128141

129142

130-
## 8. Verify installation from PyPi
143+
## 9. Verify installation from PyPi
131144

132145
In the same virtualenv as created above:
133146

@@ -151,7 +164,7 @@ Verify that the package works and prints the expected version:
151164

152165

153166

154-
## 9. Create github release
167+
## 10. Create github release
155168

156169
If this was the final release, go to
157170
[github releases](https://github.com/confluentinc/confluent-kafka-python/releases)

tools/build-openssl.sh

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

77
# NOTE: Keep this updated to make sure we always build the latest
88
# version of OpenSSL in the 1.0 release train.
9-
OPENSSL_VERSION=1.0.2l
9+
OPENSSL_VERSION=1.0.2o
1010

1111
PREFIX=$1
1212
if [[ -z $PREFIX ]]; then

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy