Skip to content

Commit cfa2e00

Browse files
committed
pyrefly run in system
scapy version without Pickle Deserialization #32 vulnerability
1 parent 341d40b commit cfa2e00

5 files changed

Lines changed: 26 additions & 23 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: trailing-whitespace
1313
exclude_types: [ python ]
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.14.8
15+
rev: v0.14.10
1616
hooks:
1717
- id: ruff
1818
exclude: ^tests/
@@ -56,11 +56,11 @@ repos:
5656
--line-length=100
5757
]
5858
- repo: https://github.com/facebook/pyrefly-pre-commit
59-
rev: 0.45.1
59+
rev: 0.46.1
6060
hooks:
6161
- id: pyrefly-check
6262
name: pyrefly check
63-
pass_filenames: false
63+
language: system
6464
args: [
6565
"--ignore=missing-import",
6666
"--ignore=missing-source-for-stubs",

requirements.dev.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ freezegun
1414

1515
# code quality
1616
pre-commit
17+
pyrefly
1718

1819
# type stubs
1920
google-api-python-client-stubs

requirements.dev.txt

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bracex==2.6
1212
# via wcmatch
1313
build==1.3.0
1414
# via pip-tools
15-
cachetools==6.2.2
15+
cachetools==6.2.4
1616
# via
1717
# -r requirements.txt
1818
# google-auth
@@ -37,7 +37,7 @@ coverage[toml]==7.13.0
3737
# via pytest-cov
3838
distlib==0.4.0
3939
# via virtualenv
40-
filelock==3.20.0
40+
filelock==3.20.1
4141
# via virtualenv
4242
freezegun==1.5.5
4343
# via -r requirements.dev.in
@@ -53,13 +53,13 @@ google-api-python-client==2.187.0
5353
# google-api-python-client-stubs
5454
google-api-python-client-stubs==1.31.0
5555
# via -r requirements.dev.in
56-
google-auth==2.43.0
56+
google-auth==2.45.0
5757
# via
5858
# -r requirements.txt
5959
# google-api-core
6060
# google-api-python-client
6161
# google-auth-httplib2
62-
google-auth-httplib2==0.2.1
62+
google-auth-httplib2==0.3.0
6363
# via
6464
# -r requirements.txt
6565
# google-api-python-client
@@ -109,7 +109,7 @@ mkdocs-get-deps==0.2.0
109109
# via mkdocs
110110
natsort==8.4.0
111111
# via mkdocs-awesome-pages-plugin
112-
nodeenv==1.9.1
112+
nodeenv==1.10.0
113113
# via pre-commit
114114
oauth2client==4.1.3
115115
# via -r requirements.txt
@@ -130,9 +130,9 @@ pluggy==1.6.0
130130
# via
131131
# pytest
132132
# pytest-cov
133-
pre-commit==4.5.0
133+
pre-commit==4.5.1
134134
# via -r requirements.dev.in
135-
proto-plus==1.26.1
135+
proto-plus==1.27.0
136136
# via
137137
# -r requirements.txt
138138
# google-api-core
@@ -167,14 +167,16 @@ pygments==2.19.2
167167
# via
168168
# pytest
169169
# rich
170-
pyparsing==3.2.5
170+
pyparsing==3.3.1
171171
# via
172172
# -r requirements.txt
173173
# httplib2
174174
pyproject-hooks==1.2.0
175175
# via
176176
# build
177177
# pip-tools
178+
pyrefly==0.46.1
179+
# via -r requirements.dev.in
178180
pytest==9.0.2
179181
# via
180182
# -r requirements.dev.in
@@ -211,7 +213,7 @@ rsa==4.9.1
211213
# -r requirements.txt
212214
# google-auth
213215
# oauth2client
214-
scapy==2.6.0
216+
scapy==2.7.0
215217
# via -r requirements.txt
216218
shellingham==1.5.4
217219
# via typer
@@ -220,7 +222,7 @@ six==1.17.0
220222
# -r requirements.txt
221223
# oauth2client
222224
# python-dateutil
223-
typer==0.20.0
225+
typer==0.21.0
224226
# via lazydocs
225227
types-httplib2==0.31.0.20250913
226228
# via
@@ -246,7 +248,7 @@ uritemplate==4.2.0
246248
# via
247249
# -r requirements.txt
248250
# google-api-python-client
249-
urllib3==2.6.1
251+
urllib3==2.6.2
250252
# via
251253
# -r requirements.txt
252254
# requests

requirements.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# dependencies list to build requirements.txt with pip-compile (from pip-tools package)
22
python-dateutil
3-
# in scapy 2.6.1 found Arbitrary Code Execution via Untrusted Pickle Deserialization #32
4-
scapy!=2.6.1
3+
# in scapy 2.6.0/1 found Arbitrary Code Execution via Untrusted Pickle Deserialization #32
4+
scapy!=2.6.1,!=2.6.0
55
oauth2client
66
google-api-python-client
77
requests

requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
annotated-types==0.7.0
88
# via pydantic
9-
cachetools==6.2.2
9+
cachetools==6.2.4
1010
# via google-auth
1111
certifi==2025.11.12
1212
# via requests
@@ -18,12 +18,12 @@ google-api-core==2.28.1
1818
# via google-api-python-client
1919
google-api-python-client==2.187.0
2020
# via -r requirements.in
21-
google-auth==2.43.0
21+
google-auth==2.45.0
2222
# via
2323
# google-api-core
2424
# google-api-python-client
2525
# google-auth-httplib2
26-
google-auth-httplib2==0.2.1
26+
google-auth-httplib2==0.3.0
2727
# via google-api-python-client
2828
googleapis-common-protos==1.72.0
2929
# via google-api-core
@@ -37,7 +37,7 @@ idna==3.11
3737
# via requests
3838
oauth2client==4.1.3
3939
# via -r requirements.in
40-
proto-plus==1.26.1
40+
proto-plus==1.27.0
4141
# via google-api-core
4242
protobuf==6.33.2
4343
# via
@@ -59,7 +59,7 @@ pydantic==2.12.5
5959
# via -r requirements.in
6060
pydantic-core==2.41.5
6161
# via pydantic
62-
pyparsing==3.2.5
62+
pyparsing==3.3.1
6363
# via httplib2
6464
python-dateutil==2.9.0.post0
6565
# via -r requirements.in
@@ -71,7 +71,7 @@ rsa==4.9.1
7171
# via
7272
# google-auth
7373
# oauth2client
74-
scapy==2.6.0
74+
scapy==2.7.0
7575
# via -r requirements.in
7676
six==1.17.0
7777
# via
@@ -86,5 +86,5 @@ typing-inspection==0.4.2
8686
# via pydantic
8787
uritemplate==4.2.0
8888
# via google-api-python-client
89-
urllib3==2.6.1
89+
urllib3==2.6.2
9090
# via requests

0 commit comments

Comments
 (0)