Skip to content

Commit c237da5

Browse files
committed
fix(e2e): update flit_core to 3.10.1 for Python 3.14 compatibility
flit_core 3.9.0 uses ast.Str which was removed in Python 3.14, causing multiple e2e tests to fail. Update to 3.10.1 which supports all Python versions 3.11-3.14. Co-Authored-By: Claude <claude@anthropic.com> Signed-off-by: Ioannis Angelakopoulos <iangelak@redhat.com>
1 parent bf352e3 commit c237da5

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

e2e/download_sequence/simplejson-build-order.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "build-system",
44
"req": "flit_core<4,>=3.8",
55
"dist": "flit-core",
6-
"version": "3.9.0",
6+
"version": "3.10.1",
77
"why": [
88
[
99
"toplevel",
@@ -23,11 +23,11 @@
2323
[
2424
"build-system",
2525
"flit_core<4,>=3.8",
26-
"3.9.0"
26+
"3.10.1"
2727
]
2828
],
2929
"prebuilt": false,
30-
"source_url": "https://files.pythonhosted.org/packages/c4/e6/c1ac50fe3eebb38a155155711e6e864e254ce4b6e17fe2429b4c4d5b9e80/flit_core-3.9.0.tar.gz#sha256=72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba",
30+
"source_url": "https://files.pythonhosted.org/packages/d5/ae/09427bea9227a33ec834ed5461432752fd5d02b14f93dd68406c91684622/flit_core-3.10.1.tar.gz#sha256=66e5b87874a0d6e39691f0e22f09306736b633548670ad3c09ec9db03c5662f7",
3131
"source_url_type": "sdist"
3232
},
3333
{

e2e/test_download_sequence.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pass=true
2121

2222
# Check for output files
2323
EXPECTED_FILES="
24-
sdists-repo/downloads/flit_core-3.9.0.tar.gz
24+
sdists-repo/downloads/flit_core-3.10.1.tar.gz
2525
sdists-repo/downloads/setuptools-70.0.0.tar.gz
2626
sdists-repo/downloads/simplejson-3.19.2.tar.gz
2727
sdists-repo/downloads/wheel-0.43.0.tar.gz

e2e/test_override.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fromager \
2323
--wheels-repo="$OUTDIR/wheels-repo" \
2424
--work-dir="$OUTDIR/work-dir" \
2525
--patches-dir "$SCRIPTDIR/flit_core_patches" \
26-
bootstrap 'flit_core==3.9.0'
26+
bootstrap 'flit_core==3.10.1'
2727

2828
find "$OUTDIR/wheels-repo/simple/" -name '*.whl'
2929

@@ -50,9 +50,9 @@ fi
5050

5151
# Check for output files
5252
EXPECTED_FILES="
53-
wheels-repo/downloads/flit_core-3.9.0-0-py3-none-any.whl
53+
wheels-repo/downloads/flit_core-3.10.1-0-py3-none-any.whl
5454
55-
sdists-repo/downloads/flit_core-3.9.0.tar.gz
55+
sdists-repo/downloads/flit_core-3.10.1.tar.gz
5656
"
5757

5858
for f in $EXPECTED_FILES; do

e2e/test_prebuilt_wheels_alt_server.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ mkdir -p "$INIT"
1212

1313
# What are we building?
1414
DIST="flit_core"
15-
VERSION="3.9.0"
15+
VERSION="3.10.1"
1616

1717
# Get the wheel we need from PyPI
1818
fromager \
@@ -57,7 +57,7 @@ fromager \
5757

5858
# Ensure we have both expected wheels
5959
EXPECTED_FILES="
60-
wheels-repo/prebuilt/flit_core-3.9.0-0-py3-none-any.whl
60+
wheels-repo/prebuilt/flit_core-3.10.1-0-py3-none-any.whl
6161
wheels-repo/downloads/wheel-0.43.0-0-py3-none-any.whl
6262
"
6363

0 commit comments

Comments
 (0)