From 78bd6916d116310f1dfd83d995cb6131a1203356 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Aug 2024 16:40:56 +0000 Subject: [PATCH 1/5] Bump nltk from 3.8.1 to 3.9 Bumps [nltk](https://github.com/nltk/nltk) from 3.8.1 to 3.9. - [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog) - [Commits](https://github.com/nltk/nltk/compare/3.8.1...3.9) --- updated-dependencies: - dependency-name: nltk dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.in | 2 +- requirements.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.in b/requirements.in index 7fe14d25f..734d08196 100644 --- a/requirements.in +++ b/requirements.in @@ -42,7 +42,7 @@ django-querycount==0.8.3 profanity==1.1 py-avataaars==1.1.2 mozilla-django-oidc==4.0.1 -nltk==3.8.1 +nltk==3.9 sql_metadata==2.12.0 gunicorn==23.0.0 diff --git a/requirements.txt b/requirements.txt index 0bf5405e0..fc30381f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -836,9 +836,9 @@ multidict==6.0.5 \ # -r requirements.in # aiohttp # yarl -nltk==3.8.1 \ - --hash=sha256:1834da3d0682cba4f2cede2f9aad6b0fafb6461ba451db0efb6f9c39798d64d3 \ - --hash=sha256:fd5c9109f976fa86bcadba8f91e47f5e9293bd034474752e92a520f81c93dda5 +nltk==3.9 \ + --hash=sha256:d17863e861bb33ac617893329d71d06a3dfb7e3eb9ee0b8105281c53944a45a1 \ + --hash=sha256:e98acac454407fa38b76cccb29208d377731cf7fab68f323754a3681f104531f # via -r requirements.in optisorl==0.2.1 \ --hash=sha256:4b18d8a270075aa0fe9588790162c03a80e822237e3346a2817d6e82236f1a49 \ From 9bdaca3bacdba5ec78d7cf10ed08b8d1fc01cc0d Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Wed, 28 Aug 2024 16:06:03 -0400 Subject: [PATCH 2/5] install script --- .github/workflows/python.yml | 3 +++ scripts/nltk-downloads.py | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 scripts/nltk-downloads.py diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index ad739eae9..8ba3eb235 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -74,6 +74,9 @@ jobs: run: | python -m pip install --upgrade pip setuptools wheel --progress-bar off + - name: Download NLTK dependencies + run: python scripts/nltk-downloads.py + - name: Cache pip uses: actions/cache@v4 with: diff --git a/scripts/nltk-downloads.py b/scripts/nltk-downloads.py new file mode 100644 index 000000000..a59cec6d3 --- /dev/null +++ b/scripts/nltk-downloads.py @@ -0,0 +1,4 @@ +# Run this script to download the necessary NLTK data files +import nltk + +nltk.download("wordnet") From 1e79d1c98edfc4e77cfb556c6b314d4d9dc0bb53 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Wed, 28 Aug 2024 16:09:29 -0400 Subject: [PATCH 3/5] move --- .github/workflows/python.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 8ba3eb235..94b6a1c93 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -74,9 +74,6 @@ jobs: run: | python -m pip install --upgrade pip setuptools wheel --progress-bar off - - name: Download NLTK dependencies - run: python scripts/nltk-downloads.py - - name: Cache pip uses: actions/cache@v4 with: @@ -90,6 +87,9 @@ jobs: python -m pip install --upgrade pip wheel --progress-bar off pip install -r requirements.txt --progress-bar off + - name: Download NLTK dependencies + run: python scripts/nltk-downloads.py + - name: Run Lints run: ruff check . From cbe19d01ba89a107e8af0b5f5d20e53d670698ff Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Thu, 29 Aug 2024 10:46:00 -0400 Subject: [PATCH 4/5] version name --- .github/workflows/python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 94b6a1c93..9cb1a26f5 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -65,7 +65,7 @@ jobs: if: steps.cached-node_modules.outputs.cache-hit != 'true' run: yarn --frozen-lockfile - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: python-version: '3.12' From 16e0d6322d2323c29a1f634a6ead201a6bda6e0e Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Thu, 29 Aug 2024 10:50:50 -0400 Subject: [PATCH 5/5] 3.9.1 --- requirements.in | 2 +- requirements.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.in b/requirements.in index 734d08196..c2771bec9 100644 --- a/requirements.in +++ b/requirements.in @@ -42,7 +42,7 @@ django-querycount==0.8.3 profanity==1.1 py-avataaars==1.1.2 mozilla-django-oidc==4.0.1 -nltk==3.9 +nltk==3.9.1 sql_metadata==2.12.0 gunicorn==23.0.0 diff --git a/requirements.txt b/requirements.txt index fc30381f2..6c203bc8e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -836,9 +836,9 @@ multidict==6.0.5 \ # -r requirements.in # aiohttp # yarl -nltk==3.9 \ - --hash=sha256:d17863e861bb33ac617893329d71d06a3dfb7e3eb9ee0b8105281c53944a45a1 \ - --hash=sha256:e98acac454407fa38b76cccb29208d377731cf7fab68f323754a3681f104531f +nltk==3.9.1 \ + --hash=sha256:4fa26829c5b00715afe3061398a8989dc643b92ce7dd93fb4585a70930d168a1 \ + --hash=sha256:87d127bd3de4bd89a4f81265e5fa59cb1b199b27440175370f7417d2bc7ae868 # via -r requirements.in optisorl==0.2.1 \ --hash=sha256:4b18d8a270075aa0fe9588790162c03a80e822237e3346a2817d6e82236f1a49 \