Skip to content
Closed
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Run checks
Expand All @@ -37,7 +37,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.13"
- name: Build distribution
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
# retained candidate archives are uploaded; this source is not rebuilt.
path: candidate-source
persist-credentials: false
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: release-candidate-${{ steps.release.outputs.version }}
path: candidate
Expand All @@ -94,7 +94,7 @@ jobs:
run: >-
python .github/scripts/verify-pypi-release.py
"$VERSION" candidate/packages --github-output "$GITHUB_OUTPUT"
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
if: ${{ steps.pypi.outputs.publish == 'true' }}
with:
packages-dir: candidate/packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.13"
- name: Build and verify distributions
Expand All @@ -49,7 +49,7 @@ jobs:
mkdir -p candidate/packages
mv dist/* candidate/packages/
(cd candidate && sha256sum -- packages/* > SHA256SUMS)
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: release-candidate-${{ env.VERSION }}
path: candidate
Expand Down
11 changes: 11 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Repository guidance

## Shared conventions

Follow the existing architecture, naming and coding style. Preserve public contracts, authentication, certificate verification and project policy. Keep changes in the component that owns the behavior.

Update user documentation and examples when behavior changes. Run the relevant checks; place regression tests with the owning component. Keep secrets, execution logs, investigation notes and standalone upstream reproductions outside the repository. Do not link to private repositories from public source, documentation or PR descriptions.

## Repository-specific guidance

Follow `CODING_STYLE.md` and `CONTRIBUTING.md`. Keep the SDK framework-neutral and typed, with explicit lifecycle ownership. Preserve Python runtime support, optional dependency boundaries and ASGI/WSGI semantics. Reject unsupported capabilities explicitly; maintain the documented webhook parser limits.
1 change: 1 addition & 0 deletions CLAUDE.md
12 changes: 9 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,22 @@ changes, configuration semantics, or new tunnel capabilities, open an issue or
discussion first so the SDK behavior can stay aligned with the Go, JavaScript,
Java, and C++ SDKs.

See the [roadmap](roadmap/) for planned transport and lifecycle capabilities.

## Local setup

Use Python 3.10 or newer:
Use Python 3.10 or newer with `venv` and pip, Git, and network access for uncached dependencies. Some Linux distributions package `venv` separately. Work from a checkout, not an installed site-packages directory:

```bash
```sh
git clone https://github.com/rstreamlabs/rstream-python.git
cd rstream-python
python -m venv .venv
. .venv/bin/activate
pip install -e ".[dev]"
python -m pip install -e ".[dev]"
```

On Windows, activate the environment with `.venv\Scripts\Activate.ps1` instead of the POSIX activation command. Editable installation makes imports use `src/rstream` from this checkout. Local unit and fake-engine tests do not need a rstream account; real-engine checks have separate explicit configuration in [Testing](docs/004-testing.md).

## Development checks

Run the full local suite before opening a pull request:
Expand Down
Loading
Loading