From 93165784efbbb9412a84dfad1e08e630c4149209 Mon Sep 17 00:00:00 2001 From: Jason Cameron Date: Wed, 18 Sep 2024 00:21:19 -0400 Subject: [PATCH 1/2] FIX: Stop CI from closing valid issues --- .github/workflows/stale.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 9598a19..2396f63 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -20,8 +20,8 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.' close-issue-message: 'Issue closed due to being stale. Please reopen if issue persists in latest version.' - days-before-stale: 6 - days-before-close: 12 + days-before-stale: 7 + days-before-close: 15 stale-issue-label: 'stale' close-issue-label: 'outdated' exempt-issue-labels: 'enhancement,keep,blocked' @@ -31,20 +31,9 @@ jobs: ascending: true #debug-only: true - - uses: actions/stale@v9 - id: stale-pr - name: stale-pr - with: - # general settings - repo-token: ${{ secrets.GITHUB_TOKEN }} stale-pr-message: 'This pull request is stale as it has been open for 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.' close-pr-message: 'Pull request closed due to being stale.' - days-before-stale: 10 - days-before-close: 20 close-pr-label: 'outdated' stale-pr-label: 'stale' exempt-pr-labels: 'keep,blocked,before next release,after next release' - exempt-all-pr-milestones: true - operations-per-run: 300 - remove-stale-when-updated: true - #debug-only: true + From f60b46ccfcfe8ac5b13a8d7df60b9fd3ad54eac9 Mon Sep 17 00:00:00 2001 From: embee Date: Sun, 3 Nov 2024 16:52:43 +0000 Subject: [PATCH 2/2] Update Playwright version requirement, add support for python 3.12.X --- main.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 849663d..3b0cbb6 100755 --- a/main.py +++ b/main.py @@ -79,7 +79,7 @@ def shutdown() -> NoReturn: if __name__ == "__main__": - if sys.version_info.major != 3 or sys.version_info.minor not in [10, 11]: + if sys.version_info.major != 3 or sys.version_info.minor not in [10, 11, 12]: print( "Hey! Congratulations, you've made it so far (which is pretty rare with no Python 3.10). Unfortunately, this program only works on Python 3.10. Please install Python 3.10 and try again." ) diff --git a/requirements.txt b/requirements.txt index e6e2e7b..6dec6c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ boto3==1.34.127 botocore==1.34.127 gTTS==2.5.1 moviepy==1.0.3 -playwright==1.44.0 +playwright==1.48.0 praw==7.7.1 prawcore~=2.3.0 requests==2.32.3