Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
ci: install a hash-pinned pip before other pip installs (#5365)
David Tippettc083959ed222
diff --git a/.github/pip-bootstrap.txt b/.github/pip-bootstrap.txtnew file mode 100644index 000000000..25069d954--- /dev/null+++ b/.github/pip-bootstrap.txt@@ -0,0 +1,3 @@+--require-hashes+--only-binary=:all:+pip==26.2.2 --hash=sha256:fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70diff --git a/.github/workflows/eval-prod.yml b/.github/workflows/eval-prod.ymlindex d0a4693cd..e6ac9fbea 100644--- a/.github/workflows/eval-prod.yml+++ b/.github/workflows/eval-prod.yml@@ -24,7 +24,7 @@ jobs:- name: 'Install dependencies'run: |- python -m pip install --upgrade pip+ python -m pip install --no-cache-dir -r .github/pip-bootstrap.txtpip install requests# make sure the image is deployed before running the eval benchmarkdiff --git a/.github/workflows/publish-dotnet-sdk.yml b/.github/workflows/publish-dotnet-sdk.ymlindex de823bef9..7d35fe6d8 100644--- a/.github/workflows/publish-dotnet-sdk.yml+++ b/.github/workflows/publish-dotnet-sdk.yml@@ -30,7 +30,9 @@ jobs:python-version: '3.x'- name: Install version check dependencies- run: pip install requests packaging+ run: |+ python -m pip install --no-cache-dir -r .github/pip-bootstrap.txt+ pip install requests packaging- name: Run version check scriptid: version_checkdiff --git a/.github/workflows/publish-java-sdk.yml b/.github/workflows/publish-java-sdk.ymlindex 207ff0403..12c95e125 100644--- a/.github/workflows/publish-java-sdk.yml+++ b/.github/workflows/publish-java-sdk.yml@@ -30,7 +30,9 @@ jobs:python-version: '3.x'- name: Install version check dependencies- run: pip install requests packaging+ run: |+ python -m pip install --no-cache-dir -r .github/pip-bootstrap.txt+ pip install requests packaging- name: Run version check scriptid: version_checkdiff --git a/.github/workflows/publish-php-sdk.yml b/.github/workflows/publish-php-sdk.ymlindex 0ec477213..f062e60ab 100644--- a/.github/workflows/publish-php-sdk.yml+++ b/.github/workflows/publish-php-sdk.yml@@ -32,7 +32,9 @@ jobs:python-version: '3.x'- name: Install version check dependencies- run: pip install requests packaging+ run: |+ python -m pip install --no-cache-dir -r .github/pip-bootstrap.txt+ pip install requests packaging- name: Run version check scriptid: version_checkdiff --git a/.github/workflows/publish-python-sdk.yml b/.github/workflows/publish-python-sdk.ymlindex 0821fe894..3e52257bc 100644--- a/.github/workflows/publish-python-sdk.yml+++ b/.github/workflows/publish-python-sdk.yml@@ -29,7 +29,9 @@ jobs:python-version: '3.x'- name: Install build tools- run: python -m pip install build==1.6.1 requests==2.34.2 packaging==26.3+ run: |+ python -m pip install --no-cache-dir -r .github/pip-bootstrap.txt+ python -m pip install build==1.6.1 requests==2.34.2 packaging==26.3- name: Run version check scriptid: version_checkdiff --git a/.github/workflows/publish-ruby-sdk.yml b/.github/workflows/publish-ruby-sdk.ymlindex cbaa6deab..97ebd0fa0 100644--- a/.github/workflows/publish-ruby-sdk.yml+++ b/.github/workflows/publish-ruby-sdk.yml@@ -30,7 +30,9 @@ jobs:python-version: '3.x'- name: Install version check dependencies- run: pip install requests packaging+ run: |+ python -m pip install --no-cache-dir -r .github/pip-bootstrap.txt+ pip install requests packaging- name: Run version check scriptid: version_checkdiff --git a/.github/workflows/publish-rust-sdk.yml b/.github/workflows/publish-rust-sdk.ymlindex 25da2e8b2..08ba4f3b6 100644--- a/.github/workflows/publish-rust-sdk.yml+++ b/.github/workflows/publish-rust-sdk.yml@@ -31,7 +31,9 @@ jobs:python-version: '3.x'- name: Install version check dependencies- run: pip install requests==2.34.2 packaging==26.3 toml==0.10.2+ run: |+ python -m pip install --no-cache-dir -r .github/pip-bootstrap.txt+ pip install requests==2.34.2 packaging==26.3 toml==0.10.2- name: Run version check scriptid: version_checkdiff --git a/.github/workflows/test-python-sdk.yml b/.github/workflows/test-python-sdk.ymlindex bbbfcc454..4e6900124 100644--- a/.github/workflows/test-python-sdk.yml+++ b/.github/workflows/test-python-sdk.yml@@ -7,6 +7,7 @@ on:paths:- apps/python-sdk/**- .github/workflows/test-python-sdk.yml+ - .github/pip-bootstrap.txtpermissions:contents: read@@ -30,7 +31,7 @@ jobs:- name: Install dependenciesworking-directory: ./apps/python-sdkrun: |- python -m pip install --upgrade pip+ python -m pip install --no-cache-dir -r ../../.github/pip-bootstrap.txtpip install -r requirements.txtpip install -e .