From 12089c7e626dd7062684bdfa82faac32da2a9ec8 Mon Sep 17 00:00:00 2001 From: Lorenzo Stella Date: Tue, 5 Nov 2024 16:19:52 +0100 Subject: [PATCH] Update gluonts.shell requirements (#3233) *Issue #, if available:* - https://github.com/awslabs/gluonts/security/dependabot/31 - https://github.com/awslabs/gluonts/security/dependabot/32 *Description of changes:* - Update waitress to the minimum recommended version as per the above issues - Update flask to the latest release - Enable gluonts.shell tests in the PyTorch tests workflow By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. **Please tag this pr with at least one of these labels to make our release process faster:** BREAKING, new feature, bug fix, other change, dev setup --- .github/workflows/tests-torch.yml | 5 ++--- requirements/requirements-extras-shell.txt | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests-torch.yml b/.github/workflows/tests-torch.yml index 431ff937db..87a1a0b5cd 100644 --- a/.github/workflows/tests-torch.yml +++ b/.github/workflows/tests-torch.yml @@ -21,10 +21,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip install ".[arrow]" \ + pip install ".[arrow,torch,shell]" \ -r requirements/requirements-test.txt \ - -r requirements/requirements-extras-m-competitions.txt \ - -r requirements/requirements-pytorch.txt + -r requirements/requirements-extras-m-competitions.txt pip install --no-deps -r requirements/requirements-extras-cpflows.txt - name: Test with pytest run: | diff --git a/requirements/requirements-extras-shell.txt b/requirements/requirements-extras-shell.txt index 4a740fb6b4..9d71394cd0 100644 --- a/requirements/requirements-extras-shell.txt +++ b/requirements/requirements-extras-shell.txt @@ -1,2 +1,2 @@ -flask~=2.0 -waitress~=2.1.2 +flask~=3.0 +waitress~=3.0.1