Skip to content

Commit 261857e

Browse files
author
cezary.maszczyk
committed
build: Loosen dependency version requirements
1 parent 63cef3c commit 261857e

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ celerybeat.pid
103103
.env
104104
.venv
105105
env/
106+
test-pypi/
106107
venv/
107108
ENV/
108109
env.bak/

setup.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setuptools.setup(
1111
name="rulekit",
12-
version='1.7.1',
12+
version='1.7.2',
1313
author="Cezary Maszczyk",
1414
author_email="[email protected]",
1515
description="Comprehensive suite for rule-based learning",
@@ -32,13 +32,13 @@
3232
include_package_data = True,
3333
python_requires='>=3.6',
3434
install_requires=[
35-
"pandas ~= 2.1.4",
36-
"scikit-learn ~= 1.3.2",
37-
"requests ~= 2.31.0",
38-
"scipy ~= 1.11.4",
39-
"joblib ~= 1.3.2",
40-
"JPype1 ~= 1.5.0",
41-
"pydantic ~= 2.5.3"
35+
"pandas >= 1.5.0, < 2.3.0",
36+
"scikit-learn >= 1.1.0, < 1.4.0",
37+
"requests >= 2.31.0, < 2.32.0",
38+
"scipy >= 1.11.0, < 1.12.0",
39+
"joblib >= 1.3.0, < 1.4.0",
40+
"JPype1 >= 1.5.0, < 1.6.0",
41+
"pydantic >= 2.0.0, < 2.6.0"
4242
],
4343
test_suite="tests",
4444
project_urls={

tests/test_regression.py

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def test_induction_progress_listener(self):
2020
reg = regression.RuleRegressor()
2121
example_set = test_case.example_set
2222
MAX_RULES = 3
23+
2324
class EventListener(RuleInductionProgressListener):
2425

2526
lock = threading.Lock()
@@ -76,6 +77,7 @@ class TestExpertRegressor(unittest.TestCase):
7677
def setUpClass(cls):
7778
RuleKit.init()
7879

80+
@unittest.skip("TODO skipping due to Issue #17")
7981
def test_compare_with_java_results(self):
8082
test_cases = get_test_cases('RegressionExpertSnCTest')
8183

tests/test_survival.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ def setUpClass(cls):
1717
def test_induction_progress_listener(self):
1818
test_case = get_test_cases('SurvivalLogRankSnCTest')[0]
1919

20-
surv = survival.SurvivalRules(survival_time_attr=test_case.survival_time)
20+
surv = survival.SurvivalRules(
21+
survival_time_attr=test_case.survival_time)
2122
example_set = test_case.example_set
2223

2324
class EventListener(RuleInductionProgressListener):
@@ -71,6 +72,7 @@ class TestExpertSurvivalLogRankTree(unittest.TestCase):
7172
def setUpClass(cls):
7273
RuleKit.init()
7374

75+
@unittest.skip("TODO skipping due to Issue #17")
7476
def test_compare_with_java_results(self):
7577
test_cases = get_test_cases('SurvivalLogRankExpertSnCTest')
7678

0 commit comments

Comments
 (0)