Skip to content

Commit

Permalink
Remove buf dependency
Browse files Browse the repository at this point in the history
Forgot I removed the need for it yesterday by checking in stubs.
  • Loading branch information
pelletier committed Jan 27, 2024
1 parent 7c2cbb2 commit fdb133e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,5 @@ jobs:
with:
python-version: ${{ matrix.python }}
cache: 'pip'
- uses: bufbuild/buf-setup-action@v1
with:
buf_user: ${{ secrets.BUF_USER }}
buf_api_token: ${{ secrets.BUF_TOKEN }}
github_token: ${{ github.token }}
- run: make dev
- run: make test
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ PYTHON := python
all: test

install:
export PIP_EXTRA_INDEX_URL=https://buf.build/gen/python
$(PYTHON) -m pip install -e .

dev:
export PIP_EXTRA_INDEX_URL=https://buf.build/gen/python
$(PYTHON) -m pip install -v -e .[dev]
$(PYTHON) -m pip install -e .[dev]

fmt:
$(PYTHON) -m black .
Expand Down
8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ build-backend = "setuptools.build_meta"
[project]
name = "dispatch-sdk"
dynamic = ["version"]
requires-python = ">= 3.12"
dependencies = [
"stealthrocket_ring_grpc_python==1.60.0.1.20240126005632+6a2bbfaf59e6",
"stealthrocket_ring_protocolbuffers_python==25.2.0.1.20240126005632+6a2bbfaf59e6",
"stealthrocket_dispatch_protocolbuffers_python==25.2.0.1.20240119005337+14bf27236bb7",
]
requires-python = ">= 3.11"
dependencies = []

[project.optional-dependencies]
dev = [
Expand Down

0 comments on commit fdb133e

Please sign in to comment.