Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

dfangl
Copy link
Member

@dfangl dfangl commented Aug 20, 2025

Motivation

This PR updates the base image to debian trixie, and the python version to python 3.13.

This has several advantages:

  1. More modern python version
  2. Less CVEs detected due to up-to-date dependencies (not all fixes get backported)
  3. Generally more up-to-date software

However, this might also lead to certain breakages:

  1. Newer debian version will deprecate certain commands, like apt-key. For more information, see here: https://www.debian.org/releases/trixie/release-notes/issues.en.html#obsolescence-and-deprecation

  2. Removal of certain, already deprecated, python functionality. For more information on this, see here:
    Python 3.12: https://docs.python.org/3.12/whatsnew/3.12.html#removed
    Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html#removed-modules-and-apis

Changes

  • Upgrade to python 3.13 and debian trixie
  • Init script calls will now have the script name (correctly) as first argument
  • Increased unit test timeouts

@dfangl dfangl added this to the Playground milestone Aug 20, 2025
@dfangl dfangl added the semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases label Aug 20, 2025
Copy link

github-actions bot commented Aug 20, 2025

Test Results - Preflight, Unit

22 124 tests  ±0   20 386 ✅ ±0   15m 16s ⏱️ + 8m 53s
     1 suites ±0    1 738 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit f6d019c. ± Comparison against base commit fd33aaf.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 20, 2025

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   1h 54m 25s ⏱️ - 1m 44s
4 643 tests ±0  4 312 ✅ ±0  331 💤 ±0  0 ❌ ±0 
4 645 runs  ±0  4 312 ✅ ±0  333 💤 ±0  0 ❌ ±0 

Results for commit f6d019c. ± Comparison against base commit fd33aaf.

♻️ This comment has been updated with latest results.

@alexrashed alexrashed mentioned this pull request Aug 21, 2025
3 tasks
@alexrashed alexrashed force-pushed the python-3-13-trixie-upgrade-pro branch from 915891b to 8c1965a Compare August 21, 2025 13:42
@alexrashed alexrashed added the skip-docs Pull request does not require documentation changes label Aug 21, 2025
Copy link

github-actions bot commented Aug 21, 2025

S3 Image Test Results (AMD64 / ARM64)

    2 files    2 suites   8m 13s ⏱️
  521 tests 469 ✅  52 💤 0 ❌
1 042 runs  938 ✅ 104 💤 0 ❌

Results for commit f6d019c.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 21, 2025

Helper Script Tests

34 tests   34 ✅  0s ⏱️
 2 suites   0 💤
 1 files     0 ❌

Results for commit f6d019c.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 21, 2025

Test Results (MA/MR) - Preflight, Unit

22 124 tests  ±0   20 386 ✅ ±0   15m 7s ⏱️ + 8m 33s
     1 suites ±0    1 738 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit f6d019c. ± Comparison against base commit fd33aaf.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 21, 2025

Test Results (amd64, MA/MR) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 15s ⏱️ +5s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit f6d019c. ± Comparison against base commit fd33aaf.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 21, 2025

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 11s ⏱️ +7s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit f6d019c. ± Comparison against base commit fd33aaf.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 21, 2025

Test Results (amd64) - Integration, Bootstrap

    5 files  ±0      5 suites  ±0   2h 32m 26s ⏱️ - 3m 3s
5 017 tests ±0  4 526 ✅ ±0  491 💤 ±0  0 ❌ ±0 
5 023 runs  ±0  4 526 ✅ ±0  497 💤 ±0  0 ❌ ±0 

Results for commit f6d019c. ± Comparison against base commit fd33aaf.

♻️ This comment has been updated with latest results.

@alexrashed alexrashed force-pushed the python-3-13-trixie-upgrade-pro branch from 417b69f to e396178 Compare August 22, 2025 06:25
Copy link

github-actions bot commented Aug 22, 2025

Test Results (amd64, MA/MR) - Integration, Bootstrap

    5 files  ±0      5 suites  ±0   2h 35m 3s ⏱️ +14s
5 017 tests ±0  4 526 ✅ ±0  491 💤 ±0  0 ❌ ±0 
5 023 runs  ±0  4 526 ✅ ±0  497 💤 ±0  0 ❌ ±0 

Results for commit f6d019c. ± Comparison against base commit fd33aaf.

♻️ This comment has been updated with latest results.

@coveralls
Copy link

coveralls commented Aug 22, 2025

Coverage Status

coverage: 82.637% (-4.2%) from 86.843%
when pulling e396178 on python-3-13-trixie-upgrade-pro
into ac189fe on main.

@alexrashed
Copy link
Member

This run is already looking pretty good, I triggered a full run to see if there's anything there are any issues in tests that are currently skipped (+ARM): https://github.com/localstack/localstack/actions/runs/17149129206

Copy link

Test Results (arm64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 14s ⏱️ -10s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit e396178. ± Comparison against base commit ac189fe.

Copy link

Test Results (arm64) - Integration

    4 files  ±0      4 suites  ±0   2h 13m 45s ⏱️ - 4m 57s
4 967 tests ±0  4 372 ✅ ±0  595 💤 ±0  0 ❌ ±0 
4 973 runs  ±0  4 372 ✅ ±0  601 💤 ±0  0 ❌ ±0 

Results for commit e396178. ± Comparison against base commit ac189fe.

@alexrashed alexrashed force-pushed the python-3-13-trixie-upgrade-pro branch 3 times, most recently from 0143076 to c8c3952 Compare September 1, 2025 13:31
@dfangl dfangl force-pushed the python-3-13-trixie-upgrade-pro branch from c8c3952 to 83ba996 Compare September 2, 2025 07:41
@alexrashed alexrashed force-pushed the python-3-13-trixie-upgrade-pro branch from 83ba996 to 9c95fcc Compare September 3, 2025 12:37
@alexrashed alexrashed modified the milestones: Playground, 4.9 Sep 3, 2025
@alexrashed alexrashed force-pushed the python-3-13-trixie-upgrade-pro branch from 9c95fcc to e331032 Compare September 4, 2025 07:49
@alexrashed alexrashed changed the title Upgrade to python3.13 and debian trixie Upgrade to Python 3.13 and Debian Trixie Sep 4, 2025
@alexrashed alexrashed changed the title Upgrade to Python 3.13 and Debian Trixie upgrade to Python 3.13 and Debian Trixie Sep 4, 2025
@alexrashed alexrashed force-pushed the python-3-13-trixie-upgrade-pro branch from e331032 to f6d019c Compare September 10, 2025 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases skip-docs Pull request does not require documentation changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants