Skip to content

Commit d29ba7a

Browse files
committed
Add requirement upper bounds to our own packages
1 parent 6cc8bb1 commit d29ba7a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

autosklearn/util/dependencies.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ def verify_packages(packages: Optional[Union[str, List[str]]]) -> None:
1717
if not package:
1818
continue
1919

20+
if package.startswith("#"):
21+
continue
22+
2023
match = RE_PATTERN.match(package)
2124
if match:
2225
name = match.group('name')

requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ pandas>=1.0
1515
liac-arff
1616
threadpoolctl
1717

18-
ConfigSpace>=0.4.14,<0.5
19-
pynisher>=0.6.3
18+
# We bound the requirements of our own libraries we control
19+
ConfigSpace>=0.5,<0.6
20+
pynisher>=0.6.3,<0.7
2021
pyrfr>=0.8.1,<0.9
21-
smac>=0.14
22+
smac>=1.3,<1.4

0 commit comments

Comments
 (0)