From 301c8b7575ae2b4106e5d4396ae06b4f1bb03665 Mon Sep 17 00:00:00 2001 From: YiWen Hon Date: Wed, 9 Aug 2023 15:07:29 +0100 Subject: [PATCH] some broken dependencies causing test to fail, trying to fix pyproject.toml --- poetry.lock | 2 +- pyproject.toml | 2 +- tests/test_factory_pipeline.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index cad3715..e7dd46d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2819,7 +2819,7 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "1.1" python-versions = ">=3.8, <3.11" -content-hash = "af285a24507a1a3688f515a97d1bcde4d76a818869df18c1498c27a970f71fc9" +content-hash = "81ef676376f6ce7390e5c720a4a5cbfb626038a6544bbf5d78d1a11617263e31" [metadata.files] absl-py = [ diff --git a/pyproject.toml b/pyproject.toml index d95e329..baa8f2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ matplotlib = "^3.3.2" numpy = ">=1.22" pandas = "^1.4.0" scikit-learn = "1.0.2" -tensorflow = "^2.11.0" +tensorflow = "2.12.0" transformers = "^4.26.1" scipy = "^1.10.1" xgboost = "^1.7.5" diff --git a/tests/test_factory_pipeline.py b/tests/test_factory_pipeline.py index 140db66..ff2b35c 100644 --- a/tests/test_factory_pipeline.py +++ b/tests/test_factory_pipeline.py @@ -2,7 +2,7 @@ import numpy as np import pytest -from keras.src.engine.functional import Functional +from keras.engine.functional import Functional from sklearn.base import is_classifier from sklearn.pipeline import Pipeline