Skip to content

Commit 3a7f7c7

Browse files
committed
update action to work with 3.12
1 parent 6700afd commit 3a7f7c7

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

packages/publish-pypi/index.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,17 @@ async function run() {
7171
)
7272
);
7373

74+
await exec(
75+
"pip",
76+
[
77+
"install",
78+
"--user",
79+
"--upgrade",
80+
"--no-cache-dir",
81+
"pip>=23.3.1",
82+
]
83+
);
84+
7485
await exec(
7586
"pip",
7687
[

packages/publish-pypi/requirements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const runtime_prerequisites_txt = [
77
`pip-with-requires-python==1.0.1
88
99
# The following packages are considered to be unsafe in a requirements file:
10-
pip==22.3.1`,
10+
pip>=23.3.1`,
1111
];
1212

1313
export const runtime_in = [

0 commit comments

Comments
 (0)