diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 1729e4098d..0a1e835e2b 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -33,15 +33,15 @@ jobs: - name: Download datasets run: | - python -c "from river import datasets; datasets.CreditCard().download(); datasets.Elec2().download(); datasets.SMSSpam().download()" - python -c "from river import bandit; bandit.datasets.NewsArticles().download()" + poetry run python -c "from river import datasets; datasets.CreditCard().download(); datasets.Elec2().download(); datasets.SMSSpam().download()" + poetry run python -c "from river import bandit; bandit.datasets.NewsArticles().download()" - name: pytest [Branch] if: github.event_name == 'pull_request' run: | - pytest --durations=10 -n logical # Run pytest on all logical CPU cores + poetry run pytest --durations=10 -n logical # Run pytest on all logical CPU cores - name: pytest [Main] if: github.event_name == 'push' run: | - pytest -m "not datasets" --durations=10 -n logical # Run pytest on all logical CPU cores + poetry run pytest -m "not datasets" --durations=10 -n logical # Run pytest on all logical CPU cores diff --git a/poetry.lock b/poetry.lock index befb901cbc..d9580172e4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -5629,4 +5629,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.13" -content-hash = "44c346d61fcc892c4d3379f07ecadedfcce4136e4e32c03f7d5db1bfafd4b726" +content-hash = "2d59fc5c46988c1b366370895adb0867b936e2615d8f8560c43255982668ce43" diff --git a/pyproject.toml b/pyproject.toml index df40579b61..4b273f1ac3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,6 @@ script = "build.py" [tool.poetry.dependencies] python = ">=3.9,<3.13" -numpy = "^1.21" scipy = "^1.8.1" pandas = "^2.1"