Skip to content

Commit

Permalink
Update readme for v3.4 release (#258)
Browse files Browse the repository at this point in the history
* Update readme

* Sort property in str()

* Add v3.4 release (#257)

* Format

* Add buffer transport

* tune tests

* Set docker image version

* Update thrift files

* Update deploy action

* Fix conflict
  • Loading branch information
Aiee authored Feb 9, 2023
1 parent ef84e5f commit f3e8502
Show file tree
Hide file tree
Showing 30 changed files with 2,734 additions and 1,350 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
- name: Test with pytest
run: |
docker-compose -f docker-compose.yaml up -d
sleep 45
sleep 20
pytest -s -v -k "not SSL"
working-directory: tests
- name: Test SSL connection with pytest
run: |
enable_ssl=true docker-compose -f docker-compose-ssl.yaml up -d
sleep 45
sleep 20
pytest -s -v -k "SSL"
working-directory: tests

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
- name: Test with pytest
run: |
docker-compose -f docker-compose.yaml up -d
sleep 45
sleep 20
pytest -s -v -k "not SSL" --cov=../nebula3 --cov-report=xml --cov-append
working-directory: tests
- name: Test SSL connection with pytest
run: |
enable_ssl=true docker-compose -f docker-compose-ssl.yaml up -d
sleep 45
sleep 20
pytest -s -v -k "SSL" --cov=../nebula3 --cov-report=xml --cov-append
working-directory: tests
- name: Upload Coverage to Codecov
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ MAC_BLACK = black
FMT_EXCLUDE = --extend-exclude nebula3/common/\|nebula3/storage/\|nebula3/graph/\|nebula3/meta\|nebula3/common\|nebula3/fbthrift/

fmt:
pip install --user black
pip install --user black==22.8.0
@if [ -x $(LINUX_BLACK) ];then \
$(LINUX_BLACK) -S $(FMT_EXCLUDE) .; \
else \
$(MAC_BLACK) -S $(FMT_EXCLUDE) .; \
fi

fmt-check:
pip install --user black
pip install --user black==22.8.0
@if [ -x $(LINUX_BLACK) ];then \
$(LINUX_BLACK) -S --check $(FMT_EXCLUDE) .; \
else \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This repository holds the official Python API for NebulaGraph.

## Before you start

Before you start, please read this section to choose the right branch for you. The compatibility between the API and NebulaGraph service can be found in [How to choose nebula-python](##How-to-choose-nebula-python). The current master branch is compatible with NebulaGraph 3.3.
Before you start, please read this section to choose the right branch for you. The compatibility between the API and NebulaGraph service can be found in [How to choose nebula-python](##How-to-choose-nebula-python). The current master branch is compatible with NebulaGraph 3.x.

## The directory structure

Expand Down Expand Up @@ -203,6 +203,7 @@ while resp.has_next():
| 3.0.0 | 3.0.0 |
| 3.1.0 | 3.1.0 |
| 3.3.0 | 3.3.0 |
| 3.4.0 | 3.4.0 |
| master | master |

## How to contribute to nebula-python
Expand Down
Loading

0 comments on commit f3e8502

Please sign in to comment.