Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hls/xls: bump python deps #330

Merged
merged 2 commits into from
Jun 2, 2023
Merged
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
33 changes: 33 additions & 0 deletions hls/xls/bump-python-deps.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
diff --git a/dependency_support/pip_requirements.txt b/dependency_support/pip_requirements.txt
index 813e1bd5..e2dca88d 100644
--- a/dependency_support/pip_requirements.txt
+++ b/dependency_support/pip_requirements.txt
@@ -1,16 +1,12 @@
-Flask==2.3.2
-Jinja2==3.1.2
-werkzeug==2.3.3
-itsdangerous>=2.0
-click==8.1.3
-markupsafe==2.1.1
-termcolor==1.1.0
-psutil==5.7.0
-portpicker==1.3.1
-pyyaml==5.4.1
-
-# Note: numpy and scipy version availability seems to differ between Ubuntu
-# versions that we want to support (e.g. 18.04 vs 20.04), so we accept a
-# range that makes successful installation on those platforms possible.
-numpy>=1.21
-scipy>=1.5.4,<=1.8.1
+Flask~=2.3
+Jinja2~=3.1
+Werkzeug~=2.3
+itsdangerous~=2.1
+click~=8.1
+MarkupSafe~=2.1
+termcolor~=2.3
+psutil~=5.9
+portpicker~=1.5
+PyYAML~=6.0
+numpy~=1.24
+scipy~=1.10
3 changes: 2 additions & 1 deletion hls/xls/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ source:
- git_url: https://github.com/google/xls.git
git_rev: main
patches:
- use-llvm-toolchain.patch
- use-llvm-toolchain.patch
- bump-python-deps.patch
- url: https://github.com/bazelbuild/bazelisk/releases/download/v1.12.0/bazelisk-linux-amd64
sha256: 6b0bcb2ea15bca16fffabe6fda75803440375354c085480fe361d2cbf32501db

Expand Down
2 changes: 1 addition & 1 deletion hls/xls/test_stdlib.x
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import apfloat

type F8 = apfloat::APFloat<u32:4, u32:3>;
type F8 = apfloat::APFloat<4, 3>;

#[test]
fn cast_test() {
Expand Down