Skip to content

Commit 6088f0d

Browse files
authored
Merge pull request #32 from adaa-polsl/develop
Clear project requirements and loosen their version restrictions
2 parents e099cb2 + 241d871 commit 6088f0d

File tree

4 files changed

+10
-24
lines changed

4 files changed

+10
-24
lines changed

docs/requirements.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ ipython_genutils~=0.2.0
99
flake8
1010
junitxml==0.7
1111
junit2html~=31.0.2
12-
genbadge[all]~=1.1.1
12+
genbadge[all]~=1.1.1
13+
../
14+

setup.py

+7-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="rulekit",
13-
version='2.1.18.0',
13+
version='2.1.21.0',
1414
author="Cezary Maszczyk",
1515
author_email="[email protected]",
1616
description="Comprehensive suite for rule-based learning",
@@ -33,10 +33,12 @@
3333
include_package_data=True,
3434
python_requires='>=3.9',
3535
install_requires=[
36-
"pandas >= 1.5.0, < 2.3.0",
37-
"scikit-learn >= 1.1.0, < 1.4.0",
38-
"JPype1 >= 1.5.0, < 1.6.0",
39-
"pydantic >= 2.0.0, < 2.6.0"
36+
'numpy>=1.24',
37+
'pandas>=1.5',
38+
'scipy>=1.11',
39+
'scikit-learn>=1.1',
40+
'JPype1>=1.5.0',
41+
'pydantic>=2.0',
4042
],
4143
test_suite="tests",
4244
project_urls={

tests/test_regression.py

-17
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,6 @@
1717
from tests.utils import get_test_cases
1818

1919

20-
def print_rulekit_rules_from_jar_result(file):
21-
lines = file.readlines()
22-
tmp = []
23-
start = False
24-
for line in lines:
25-
if start:
26-
tmp.append(line)
27-
if line.strip() == 'Rules:':
28-
start = True
29-
if line.strip() == 'Attribute ranking (by count):':
30-
break
31-
32-
print('\nRuleKit jar rules:')
33-
for rule in tmp:
34-
print(rule.strip())
35-
36-
3720
class TestRegressor(unittest.TestCase):
3821

3922
@classmethod

tests/test_survival.py

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def test_fit_and_predict_on_boolean_columns(self):
8484
y = pd.Series(y)
8585
clf.fit(X, y)
8686
p = clf.predict(X)
87-
print(p)
8887

8988

9089
class TestExpertSurvivalLogRankTree(unittest.TestCase):

0 commit comments

Comments
 (0)