Skip to content

Commit

Permalink
Merge for 2.29.2-rc0 (#707)
Browse files Browse the repository at this point in the history
## Usage and product changes
Merge for 2.29.2-rc0
  • Loading branch information
typedb-bot authored Nov 4, 2024
2 parents 36ce767 + 9a61b0a commit e861a62
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 13 deletions.
33 changes: 21 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,18 @@ commands:
type: string
steps:
- run: |
amazon-linux-extras install python3.8 java-openjdk11 -y
yum install -y git tar gcc gcc-c++ file lsof which procps
ln -s /usr/bin/python3.8 /usr/bin/python3
amazon-linux-extras install java-openjdk11 -y
yum install wget make gcc gcc-c++ openssl-devel bzip2-devel libffi-devel zlib-devel file lsof which procps tar git -y
cd /tmp
wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
tar -xvf Python-3.9.6.tgz
cd Python-3.9.6
./configure --enable-optimizations --enable-shared
make altinstall
echo "/usr/local/lib" >> /etc/ld.so.conf.d/python3.9.conf
ldconfig
ln -s /usr/local/bin/python3.9 /usr/bin/python3
curl -OL "https://github.com/bazelbuild/bazelisk/releases/download/v1.17.0/bazelisk-linux-<<parameters.bazel-arch>>"
mv "bazelisk-linux-<<parameters.bazel-arch>>" /usr/local/bin/bazel
chmod a+x /usr/local/bin/bazel
Expand Down Expand Up @@ -126,11 +135,11 @@ commands:
- install-pip-requirements
- run: |
tool/test/start-core-server.sh
python3.8 -m pip install wheel
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)
python3.9 -m pip install wheel
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)
sleep 5
pushd python/tests/deployment/
python3.8 -m unittest test && export TEST_SUCCESS=0 || export TEST_SUCCESS=1
python3.9 -m unittest test && export TEST_SUCCESS=0 || export TEST_SUCCESS=1
popd
tool/test/stop-core-server.sh
exit $TEST_SUCCESS
Expand All @@ -139,15 +148,15 @@ commands:
steps:
- install-brew-rosetta
- run: |
/usr/local/bin/brew install python@3.8
/usr/local/bin/brew install python@3.9
tool/test/start-core-server.sh
/usr/local/bin/python3.8 -m pip install wheel
/usr/local/bin/python3.8 -m pip install pip==21.3.1
/usr/local/bin/python3.8 -m pip install -r python/requirements_dev.txt
/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)
/usr/local/bin/python3.9 -m pip install wheel
/usr/local/bin/python3.9 -m pip install pip==21.3.1
/usr/local/bin/python3.9 -m pip install -r python/requirements_dev.txt
/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)
sleep 5
pushd python/tests/deployment/
/usr/local/bin/python3.8 -m unittest test && export TEST_SUCCESS=0 || export TEST_SUCCESS=1
/usr/local/bin/python3.9 -m unittest test && export TEST_SUCCESS=0 || export TEST_SUCCESS=1
popd
tool/test/stop-core-server.sh
exit $TEST_SUCCESS
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.29.2
2.29.2-rc0

0 comments on commit e861a62

Please sign in to comment.