Skip to content

Commit d2b357a

Browse files
Update dependency versions and test workflow configuration (#1322)
* chore: update dependencies in project configuration files * Add bootstrap step for packaging tools Added a step to bootstrap packaging tools before installing dependencies. * Resolve audit issues --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 8f639b1 commit d2b357a

10 files changed

Lines changed: 981 additions & 379 deletions

File tree

.github/workflows/e2e-cache.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,19 @@ jobs:
145145
steps:
146146
- uses: actions/checkout@v6
147147
- name: Install poetry
148-
run: pipx install poetry
148+
run: |
149+
pipx install poetry
149150
- name: Init pyproject.toml
150151
run: mv ./__tests__/data/pyproject.toml .
151152
- name: Setup Python
152153
uses: ./
153154
with:
154155
python-version: ${{ matrix.python-version }}
155156
cache: 'poetry'
157+
- name: Bootstrap packaging
158+
run: |
159+
python -m ensurepip --upgrade
160+
python -m pip install --upgrade pip setuptools wheel packaging
156161
- name: Install dependencies
157162
run: poetry install --no-root
158163

.github/workflows/test-pypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- 'pypy-3.10-v7.3.x'
4141
- 'pypy-3.10-v7.x'
4242
- 'pypy-2.7-v7.3.12rc1'
43-
- 'pypy-3.10-nightly'
43+
- 'pypy-3.11-nightly'
4444
- 'pypy3.10-v7.3.17'
4545
- 'pypy3.11-v7.3.19'
4646

@@ -146,7 +146,7 @@ jobs:
146146
ubuntu-latest,
147147
macos-15-intel
148148
]
149-
pypy: ['pypy2.7', 'pypy3.9', 'pypy3.10-nightly', 'pypy3.11']
149+
pypy: ['pypy2.7', 'pypy3.9', 'pypy3.11-nightly', 'pypy3.11']
150150

151151
steps:
152152
- name: Checkout
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.licenses/npm/undici.dep.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

__tests__/data/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ python = ">=3.9,<3.14"
99
flake8 = "^4.0.1"
1010
pyinstaller = "6.10.0"
1111
setuptools = ">=78.1.1"
12+
packaging = ">=22.0,<26"
1213

1314
[tool.poetry.dev-dependencies]
1415

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
certifi==2020.6.20
22
chardet==3.0.4
33
docutils==0.16
4-
idna==3.7
4+
idna==3.15
55
Kivy==2.0.0rc3
66
Kivy-Garden==0.1.4
77
packaging==20.7
88
pdf2image==1.12.1
9-
Pygments==2.6.1
10-
requests==2.32.4
11-
urllib3==2.6.3
9+
Pygments==2.20.0
10+
requests==2.33.0
11+
urllib3==2.7.0
1212
xlrd==1.2.0

__tests__/data/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ docutils==0.16
88

99
future==0.18.2; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2'
1010

11-
idna==3.7
11+
idna==3.15
1212

1313
itsdangerous==1.1.0
1414

@@ -32,16 +32,16 @@ pefile==2021.9.3; python_full_version >= '3.6.0'
3232

3333
pillow>=10.2.0
3434

35-
pygments==2.6.1
35+
pygments==2.20.0
3636

3737
pyinstaller==6.10.0
3838

3939
pyparsing==2.4.7; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2'
4040

4141
pywin32-ctypes==0.2.0
4242

43-
requests==2.32.4
43+
requests==2.33.0
4444

45-
urllib3==2.6.3
45+
urllib3==2.7.0
4646

4747
xlrd==1.2.0

0 commit comments

Comments
 (0)