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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12"]
Comment thread
elichad marked this conversation as resolved.

steps:
- uses: actions/checkout@v4
Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,24 @@ grep -rn "flwr.serverapp\|strategy.start\|server_fn\|ServerAppComponents" <app>/
- `flwr.serverapp` **and** `strategy.start` → ✅ compatible
- `server_fn` or `ServerAppComponents` → ❌ classic API, not supported (yet)

Other requirements: Python ≥ 3.9, `rocrate ≥ 0.13` (`tomli` on Python < 3.11).
Other requirements: Python ≥ 3.11, `rocrate ≥ 0.13`.

## Install

```bash
git clone https://github.com/faizollah/flwrCrate.git
pip install -e flwrCrate
pip install flwrcrate
```

Install it into the **same environment that runs your Flower app** (the one
`flwr run` uses).

To work from source instead:

```bash
git clone https://github.com/eScienceLab/flwrCrate.git
pip install -e flwrCrate
```

## Usage

Integration is three touchpoints in your `server_app.py`: a context manager,
Expand Down Expand Up @@ -272,7 +278,7 @@ Testing has two tiers:
that feed the *actual* captured output of the Tested-with apps
(`tests/fixtures/<app>/`) through the crate builder. None of these need
Flower, Ray, or an ML framework installed, so they run in seconds on Python
3.10–3.12 and enforce ≥85% coverage (currently ~92%).
3.11–3.12 and enforce ≥85% coverage (currently ~92%).
- **`real-app e2e` workflow (nightly + on demand)** — actually fetches a real
Flower Hub app with `flwr new`, runs the federation end to end, and validates
the produced crate (`.github/workflows/realapps.yml`). This is the only tier
Expand Down
Loading
Loading