From b217e6544e0bfa0e587b4066d83b24d9e7316375 Mon Sep 17 00:00:00 2001 From: Moon <108756201+LifeAdventurer@users.noreply.github.com> Date: Tue, 18 Jun 2024 14:14:17 +0800 Subject: [PATCH] CI: Add update-requirements.yml (#78) * CI: Add update-requirements.yml Fix: Incorrect path in workflow file * chore(deps): bump urllib3 from 2.2.1 to 2.2.2 (#77) Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2) --- updated-dependencies: - dependency-name: urllib3 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/update-requirements.yml | 4 +-- scripts/requirements.txt | 41 +++++++++++++++++++---- 2 files changed, 37 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update-requirements.yml b/.github/workflows/update-requirements.yml index 7d18d97e..f27d30df 100644 --- a/.github/workflows/update-requirements.yml +++ b/.github/workflows/update-requirements.yml @@ -31,13 +31,13 @@ jobs: - name: Export requirements.txt run: | export PATH="$HOME/.local/bin:$PATH" - poetry export --without-hashes --format=requirements.txt > scripts/requirements.txt + poetry export -f requirements.txt -o scripts/requirements.txt --without-hashes - name: Commit changes run: | git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' - git add requirements.txt + git add scripts/requirements.txt git commit -m 'Chore: Update requirements.txt' git push env: diff --git a/scripts/requirements.txt b/scripts/requirements.txt index 3a85645a..b3d8cdd6 100644 --- a/scripts/requirements.txt +++ b/scripts/requirements.txt @@ -1,6 +1,35 @@ -tornado==6.4.1 -asyncpg==0.28.0 -redis==5.0.1 -msgpack==1.0.7 -bcrypt==4.0.1 -termcolor==2.3.0 +async-timeout==4.0.3 ; python_version >= "3.10" and python_full_version <= "3.11.2" +asyncpg==0.28.0 ; python_version >= "3.10" and python_version < "4.0" +babel==2.14.0 ; python_version >= "3.10" and python_version < "4.0" +bcrypt==4.0.1 ; python_version >= "3.10" and python_version < "4.0" +certifi==2024.2.2 ; python_version >= "3.10" and python_version < "4.0" +charset-normalizer==3.3.2 ; python_version >= "3.10" and python_version < "4.0" +click==8.1.7 ; python_version >= "3.10" and python_version < "4.0" +colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0" +ghp-import==2.1.0 ; python_version >= "3.10" and python_version < "4.0" +idna==3.7 ; python_version >= "3.10" and python_version < "4.0" +jinja2==3.1.4 ; python_version >= "3.10" and python_version < "4.0" +markdown==3.5.2 ; python_version >= "3.10" and python_version < "4.0" +markupsafe==2.1.5 ; python_version >= "3.10" and python_version < "4.0" +mergedeep==1.3.4 ; python_version >= "3.10" and python_version < "4.0" +mkdocs-material-extensions==1.3.1 ; python_version >= "3.10" and python_version < "4.0" +mkdocs-material==9.5.13 ; python_version >= "3.10" and python_version < "4.0" +mkdocs==1.5.3 ; python_version >= "3.10" and python_version < "4.0" +msgpack==1.0.7 ; python_version >= "3.10" and python_version < "4.0" +packaging==24.0 ; python_version >= "3.10" and python_version < "4.0" +paginate==0.5.6 ; python_version >= "3.10" and python_version < "4.0" +pathspec==0.12.1 ; python_version >= "3.10" and python_version < "4.0" +platformdirs==4.2.0 ; python_version >= "3.10" and python_version < "4.0" +pygments==2.17.2 ; python_version >= "3.10" and python_version < "4.0" +pymdown-extensions==10.7.1 ; python_version >= "3.10" and python_version < "4.0" +python-dateutil==2.9.0.post0 ; python_version >= "3.10" and python_version < "4.0" +pyyaml-env-tag==0.1 ; python_version >= "3.10" and python_version < "4.0" +pyyaml==6.0.1 ; python_version >= "3.10" and python_version < "4.0" +redis==5.0.1 ; python_version >= "3.10" and python_version < "4.0" +regex==2023.12.25 ; python_version >= "3.10" and python_version < "4.0" +requests==2.32.2 ; python_version >= "3.10" and python_version < "4.0" +six==1.16.0 ; python_version >= "3.10" and python_version < "4.0" +termcolor==2.3.0 ; python_version >= "3.10" and python_version < "4.0" +tornado==6.4.1 ; python_version >= "3.10" and python_version < "4.0" +urllib3==2.2.2 ; python_version >= "3.10" and python_version < "4.0" +watchdog==4.0.0 ; python_version >= "3.10" and python_version < "4.0" \ No newline at end of file