Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da7a62d

Browse files
committed
Relax pyhq dependencies
This makes it possible to use the Python API on Python 3.10+.
1 parent 7c8e492 commit da7a62d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

crates/pyhq/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ classifiers = [
1111
requires-python = ">=3.6"
1212
description = "HyperQueue Python API"
1313
dependencies = [
14-
"cloudpickle==2.0",
14+
"cloudpickle>=2.0,<3",
1515
"tqdm>=4.60,<5"
1616
]
1717

1818
[project.optional-dependencies]
1919
all = [
20-
"pydot==1.4.2"
20+
"pydot>=1.4,<2"
2121
]

scripts/check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cargo test
2121
cargo build --all
2222

2323
# Build Python binding
24-
maturin develop --manifest-path crates/pyhq/Cargo.toml
24+
maturin develop --manifest-path crates/pyhq/Cargo.toml --extras all
2525

2626
# Test Python code
2727
python -m pytest tests -n32

0 commit comments

Comments
 (0)