diff --git a/.github/workflows/continuous_delivery.yml b/.github/workflows/continuous_delivery.yml index 109ca76..ab2679e 100644 --- a/.github/workflows/continuous_delivery.yml +++ b/.github/workflows/continuous_delivery.yml @@ -27,10 +27,13 @@ jobs: run: | curl -sSL https://install.python-poetry.org | python3 - export PATH="$HOME/.poetry/bin:$PATH" + - name: Backup pyproject.toml + run: cp pyproject.toml pyproject.toml.bak - name: Install project dependencies with Poetry run: | poetry add pydantic@${{ matrix.pydantic-version }} poetry install + mv pyproject.toml.bak pyproject.toml - name: Style check run: | # run pre-commit hooks diff --git a/pyproject.toml b/pyproject.toml index 68ee936..91bf9fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pybandits" -version = "1.0.1" +version = "1.0.2" description = "Python Multi-Armed Bandit Library" authors = [ "Dario d'Andrea ", @@ -16,7 +16,7 @@ readme = "README.md" python = ">=3.8.1,<3.12" loguru = "^0.6" numpy = "^1.23" -pydantic = "1.10.0" +pydantic = ">=1.10" scipy = "^1.9" pymc = "^5.3" scikit-learn = "^1.1"