Skip to content

Commit e861a62

Browse files
authored
Merge for 2.29.2-rc0 (#707)
## Usage and product changes Merge for 2.29.2-rc0
2 parents 36ce767 + 9a61b0a commit e861a62

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed

.circleci/config.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,18 @@ commands:
6464
type: string
6565
steps:
6666
- run: |
67-
amazon-linux-extras install python3.8 java-openjdk11 -y
68-
yum install -y git tar gcc gcc-c++ file lsof which procps
69-
ln -s /usr/bin/python3.8 /usr/bin/python3
67+
amazon-linux-extras install java-openjdk11 -y
68+
yum install wget make gcc gcc-c++ openssl-devel bzip2-devel libffi-devel zlib-devel file lsof which procps tar git -y
69+
70+
cd /tmp
71+
wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
72+
tar -xvf Python-3.9.6.tgz
73+
cd Python-3.9.6
74+
./configure --enable-optimizations --enable-shared
75+
make altinstall
76+
echo "/usr/local/lib" >> /etc/ld.so.conf.d/python3.9.conf
77+
ldconfig
78+
ln -s /usr/local/bin/python3.9 /usr/bin/python3
7079
curl -OL "https://github.com/bazelbuild/bazelisk/releases/download/v1.17.0/bazelisk-linux-<<parameters.bazel-arch>>"
7180
mv "bazelisk-linux-<<parameters.bazel-arch>>" /usr/local/bin/bazel
7281
chmod a+x /usr/local/bin/bazel
@@ -126,11 +135,11 @@ commands:
126135
- install-pip-requirements
127136
- run: |
128137
tool/test/start-core-server.sh
129-
python3.8 -m pip install wheel
130-
python3.8 -m pip install --extra-index-url https://repo.typedb.com/public/public-snapshot/python/simple typedb-driver==0.0.0+$(git rev-parse HEAD)
138+
python3.9 -m pip install wheel
139+
python3.9 -m pip install --extra-index-url https://repo.typedb.com/public/public-snapshot/python/simple typedb-driver==0.0.0+$(git rev-parse HEAD)
131140
sleep 5
132141
pushd python/tests/deployment/
133-
python3.8 -m unittest test && export TEST_SUCCESS=0 || export TEST_SUCCESS=1
142+
python3.9 -m unittest test && export TEST_SUCCESS=0 || export TEST_SUCCESS=1
134143
popd
135144
tool/test/stop-core-server.sh
136145
exit $TEST_SUCCESS
@@ -139,15 +148,15 @@ commands:
139148
steps:
140149
- install-brew-rosetta
141150
- run: |
142-
/usr/local/bin/brew install python@3.8
151+
/usr/local/bin/brew install python@3.9
143152
tool/test/start-core-server.sh
144-
/usr/local/bin/python3.8 -m pip install wheel
145-
/usr/local/bin/python3.8 -m pip install pip==21.3.1
146-
/usr/local/bin/python3.8 -m pip install -r python/requirements_dev.txt
147-
/usr/local/bin/python3.8 -m pip install --extra-index-url https://repo.typedb.com/public/public-snapshot/python/simple typedb-driver==0.0.0+$(git rev-parse HEAD)
153+
/usr/local/bin/python3.9 -m pip install wheel
154+
/usr/local/bin/python3.9 -m pip install pip==21.3.1
155+
/usr/local/bin/python3.9 -m pip install -r python/requirements_dev.txt
156+
/usr/local/bin/python3.9 -m pip install --extra-index-url https://repo.typedb.com/public/public-snapshot/python/simple typedb-driver==0.0.0+$(git rev-parse HEAD)
148157
sleep 5
149158
pushd python/tests/deployment/
150-
/usr/local/bin/python3.8 -m unittest test && export TEST_SUCCESS=0 || export TEST_SUCCESS=1
159+
/usr/local/bin/python3.9 -m unittest test && export TEST_SUCCESS=0 || export TEST_SUCCESS=1
151160
popd
152161
tool/test/stop-core-server.sh
153162
exit $TEST_SUCCESS

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.29.2
1+
2.29.2-rc0

0 commit comments

Comments
 (0)