Skip to content

Commit 475f484

Browse files
mikahanninenclaude
andauthored
Fix security vulnerabilities in pypdf, urllib3, and wrapt (#1314)
* fix security vulnerabilities in pypdf, urllib3, and wrapt deps - pypdf: bump minimum to >=6.6.2 (fixes infinite loop, decompression bomb, and malformed startxref CVEs) - urllib3: remove <=1.26.20 upper bound to allow 2.6.3+ on Python 3.10+ (fixes decompression bomb bypass and unbounded decompression chain CVEs) - wrapt: remove <2.0.0 upper bound (not directly imported, avoids unnecessary resolver conflicts) - Update lock files for pdf, aws, and main packages Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * bump versions: pdf 10.0.2, aws 7.0.2, main 31.1.1 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix CI: replace macos-13 runners and remove pip upper bound - Replace macos-13 with macos-latest in all 12 workflow files (macos-13 runners are being deprecated by GitHub) - Remove pip<26.0 upper bound from invocations/requirements.txt (pip 26.0 is pre-installed on Windows runners, and the <26.0 constraint causes a self-downgrade failure) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix checkbox test for pypdf 6.6.2 name serialization change pypdf 6.6.2 serializes checkbox NameObject values with quotes (/'Yes' instead of /Yes). Add the new format to accepted values. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f053420 commit 475f484

20 files changed

Lines changed: 3223 additions & 3193 deletions

.github/workflows/assistant.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
os: ubuntu-latest
5959
- name: "macos-py39"
6060
python: "3.9"
61-
os: macos-13
61+
os: macos-latest
6262
- name: "macos-py310"
6363
python: "3.10"
64-
os: macos-13
64+
os: macos-latest
6565
- name: "macos-py311"
6666
python: "3.11"
67-
os: macos-13
67+
os: macos-latest
6868

6969
env:
7070
INVOKE_IS_CI_CD: 1

.github/workflows/aws.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
os: ubuntu-latest
5959
- name: "macos-py39"
6060
python: "3.9"
61-
os: macos-13
61+
os: macos-latest
6262
- name: "macos-py310"
6363
python: "3.10"
64-
os: macos-13
64+
os: macos-latest
6565
- name: "macos-py311"
6666
python: "3.11"
67-
os: macos-13
67+
os: macos-latest
6868

6969
steps:
7070
- uses: actions/checkout@v5

.github/workflows/core.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
os: ubuntu-latest
5959
- name: "macos-py39"
6060
python: "3.9"
61-
os: macos-13
61+
os: macos-latest
6262
- name: "macos-py310"
6363
python: "3.10"
64-
os: macos-13
64+
os: macos-latest
6565
- name: "macos-py311"
6666
python: "3.11"
67-
os: macos-13
67+
os: macos-latest
6868

6969
env:
7070
INVOKE_IS_CI_CD: 1

.github/workflows/google.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
os: ubuntu-latest
5959
- name: "macos-py39"
6060
python: "3.9"
61-
os: macos-13
61+
os: macos-latest
6262
- name: "macos-py310"
6363
python: "3.10"
64-
os: macos-13
64+
os: macos-latest
6565
- name: "macos-py311"
6666
python: "3.11"
67-
os: macos-13
67+
os: macos-latest
6868

6969
env:
7070
INVOKE_IS_CI_CD: 1

.github/workflows/hubspot.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
os: ubuntu-latest
5959
- name: "macos-py39"
6060
python: "3.9"
61-
os: macos-13
61+
os: macos-latest
6262
- name: "macos-py310"
6363
python: "3.10"
64-
os: macos-13
64+
os: macos-latest
6565
- name: "macos-py311"
6666
python: "3.11"
67-
os: macos-13
67+
os: macos-latest
6868

6969
env:
7070
INVOKE_IS_CI_CD: 1

.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ jobs:
5959
os: ubuntu-latest
6060
- name: "macos-py39"
6161
python: "3.9"
62-
os: macos-13
62+
os: macos-latest
6363
- name: "macos-py310"
6464
python: "3.10"
65-
os: macos-13
65+
os: macos-latest
6666
- name: "macos-py311"
6767
python: "3.11"
68-
os: macos-13
68+
os: macos-latest
6969

7070
env:
7171
SETUPTOOLS_USE_DISTUTILS: stdlib

.github/workflows/openai.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
os: ubuntu-latest
5959
- name: "macos-py39"
6060
python: "3.9"
61-
os: macos-13
61+
os: macos-latest
6262
- name: "macos-py310"
6363
python: "3.10"
64-
os: macos-13
64+
os: macos-latest
6565
- name: "macos-py311"
6666
python: "3.11"
67-
os: macos-13
67+
os: macos-latest
6868

6969
env:
7070
INVOKE_IS_CI_CD: 1

.github/workflows/pdf.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
os: ubuntu-latest
5959
- name: "macos-py39"
6060
python: "3.9"
61-
os: macos-13
61+
os: macos-latest
6262
- name: "macos-py310"
6363
python: "3.10"
64-
os: macos-13
64+
os: macos-latest
6565
- name: "macos-py311"
6666
python: "3.11"
67-
os: macos-13
67+
os: macos-latest
6868

6969
env:
7070
INVOKE_IS_CI_CD: 1

.github/workflows/pip.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# adding macos and windows to the matrix adds a bunch of running and delay because of mac and windows
3030
# runners being slower to allocate
3131
include:
32-
- os: macos-13
32+
- os: macos-latest
3333
python-version: "3.10.16"
3434
pip-version: "24.2"
3535
- os: windows-latest

.github/workflows/recognition.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
os: ubuntu-latest
5959
- name: "macos-py39"
6060
python: "3.9"
61-
os: macos-13
61+
os: macos-latest
6262
- name: "macos-py310"
6363
python: "3.10"
64-
os: macos-13
64+
os: macos-latest
6565
- name: "macos-py311"
6666
python: "3.11"
67-
os: macos-13
67+
os: macos-latest
6868

6969
env:
7070
INVOKE_IS_CI_CD: 1

0 commit comments

Comments
 (0)