Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/run_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ jobs:
- name: Install nebulagraph-python from source and test dependencies
run: |
python -m pip install --upgrade pip
# remove pyproject.toml to avoid pdm install
rm pyproject.toml
pip install pytest pytest-cov
pip install .
pip install pip-tools pytest
- name: Test with pytest
run: |
docker-compose -f docker-compose.yaml up -d
Expand All @@ -42,7 +40,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
python-version: [3.7, 3.8, 3.9, '3.10', 3.11]
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]

steps:
- name: Maximize runner space
Expand All @@ -62,10 +60,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pdm install -G:dev
pdm install -G:test
pdm sync
- name: lint
run: pdm fmt-check
- name: Test with pytest
Expand Down
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,10 @@ cd nebula-python

- Install from source

> For python version >= 3.7.0

```bash
pip install .
```

> For python version >= 3.6.2, < 3.7.0

```bash
python3 setup.py install
```

</details>

## Quick Example: Connecting to GraphD Using Graph Client
Expand Down
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "nebula3-python"
version = "3.8.0"
description = "Python client for NebulaGraph V3.4"
description = "Python client for NebulaGraph v3"
authors = [
{name = "vesoft-inc", email = "info@vesoft.com"},
]
Expand All @@ -20,8 +20,11 @@ license = {text = "Apache 2.0"}
Homepage = "https://github.com/vesoft-inc/nebula-python"

[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
requires = ["flit-core<3.9,>=3.4"]
build-backend = "flit_core.buildapi"

[tool.flit.module]
name = "nebula3"

[tool.black]
extend-exclude = '''
Expand Down
41 changes: 0 additions & 41 deletions setup.py

This file was deleted.