Skip to content

Commit

Permalink
[2.5] Fix flower example requirements (#3163)
Browse files Browse the repository at this point in the history
Fixes #3128 .

### Description

Flower >= 1.13 has breaking changes, pin the version for release.
The integration with the new flower version will come in the next
release.

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Quick tests passed locally by running `./runtest.sh`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated.

Co-authored-by: Chester Chen <[email protected]>
  • Loading branch information
YuanTingHsieh and chesterxgchen authored Jan 23, 2025
1 parent 8ab88e9 commit 542b89a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version = "1.0.0"
description = ""
license = "Apache-2.0"
dependencies = [
"flwr[simulation]>=1.11.0,<2.0",
"flwr[simulation]==1.11.0",
"nvflare~=2.5.0rc",
"torch==2.2.1",
"torchvision==0.17.1",
Expand Down
3 changes: 2 additions & 1 deletion examples/hello-world/hello-flower/flwr-pt/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ version = "1.0.0"
description = ""
license = "Apache-2.0"
dependencies = [
"flwr[simulation]>=1.11.0,<2.0",
"flwr[simulation]==1.11.0",
"nvflare~=2.5.0rc",
"torch==2.2.1",
"torchvision==0.17.1",
"tensorboard"
]

[tool.hatch.build.targets.wheel]
Expand Down

0 comments on commit 542b89a

Please sign in to comment.