]> jfr.im git - yt-dlp.git/commitdiff
[build] Make `secretstorage` an optional dependency (#8585)
authorbashonly <redacted>
Wed, 15 Nov 2023 23:31:32 +0000 (17:31 -0600)
committerGitHub <redacted>
Wed, 15 Nov 2023 23:31:32 +0000 (23:31 +0000)
Authored by: bashonly

.github/workflows/build.yml
.github/workflows/release.yml
requirements.txt

index 3b513e88e339a3dc945695d5ef2be0251d0df8d7..a52973ea251b7c1d99ca95d866676ea870229dc5 100644 (file)
@@ -204,11 +204,11 @@ jobs:
             apt -y install zlib1g-dev python3.8 python3.8-dev python3.8-distutils python3-pip
             python3.8 -m pip install -U pip setuptools wheel
             # Cannot access requirements.txt from the repo directory at this stage
-            python3.8 -m pip install -U Pyinstaller mutagen pycryptodomex websockets brotli certifi
+            python3.8 -m pip install -U Pyinstaller mutagen pycryptodomex websockets brotli certifi secretstorage
 
           run: |
             cd repo
-            python3.8 -m pip install -U Pyinstaller -r requirements.txt  # Cached version may be out of date
+            python3.8 -m pip install -U Pyinstaller secretstorage -r requirements.txt  # Cached version may be out of date
             python3.8 devscripts/update-version.py -c "${{ inputs.channel }}" -r "${{ needs.process.outputs.origin }}" "${{ inputs.version }}"
             python3.8 devscripts/make_lazy_extractors.py
             python3.8 pyinst.py
index 6c59626eaad3cce5d9c23c21f524886319abfb8f..84e892ffe139ac3cc3999695ef7a97b186288aa1 100644 (file)
@@ -216,8 +216,8 @@ jobs:
         if: |
           !inputs.prerelease && env.target_repo == github.repository
         run: |
-          git config --global user.name github-actions
-          git config --global user.email github-actions@github.com
+          git config --global user.name "github-actions[bot]"
+          git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
           git add -u
           git commit -m "Release ${{ env.version }}" \
             -m "Created by: ${{ github.event.sender.login }}" -m ":ci skip all :ci run dl"
index 4d231072531561faa0f06cc81427c36024a93adc..5b6270a7dab47ec039423feb0b302da931504be7 100644 (file)
@@ -6,4 +6,3 @@ brotlicffi; implementation_name!='cpython'
 certifi
 requests>=2.31.0,<3
 urllib3>=1.26.17,<3
-secretstorage; sys_platform=='linux' and (implementation_name!='pypy' or implementation_version>='7.3.10')