Skip to content

Remove support for Python 3.11 (EOL in May 2026)#828

Merged
phracek merged 3 commits into
masterfrom
py311_EOL
Jun 3, 2026
Merged

Remove support for Python 3.11 (EOL in May 2026)#828
phracek merged 3 commits into
masterfrom
py311_EOL

Conversation

@frenzymadness
Copy link
Copy Markdown
Member

@frenzymadness frenzymadness commented May 27, 2026

This should technically wait for the end of May, but I don't expect anything new for 3.11 coming from this repository, so we can likely merge it even sooner.

@phracek
Copy link
Copy Markdown
Member

phracek commented May 27, 2026

Let's see how tests will go.
[test][test-pytest]

Copy link
Copy Markdown
Member

@phracek phracek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes are LGTM. But I found a version that is still present.

One file is still present src/test/pipenv-test-app/3.11/Pipfile.lock. This directory can be removed, I guess

@frenzymadness
Copy link
Copy Markdown
Member Author

One file is still present src/test/pipenv-test-app/3.11/Pipfile.lock. This directory can be removed, I guess

Indeed, good catch, removed, amended, force-pushed.

@frenzymadness
Copy link
Copy Markdown
Member Author

[test][test-pytest]

1 similar comment
@frenzymadness
Copy link
Copy Markdown
Member Author

[test][test-pytest]

@frenzymadness
Copy link
Copy Markdown
Member Author

@phracek The CI failed because:

Run node ./ci-actions/filter.js '/home/runner/work/s2i-python-container/s2i-python-container' '[ "3.9", "3.9-minimal", "3.11", "3.11-minimal", "3.12", "3.12-minimal", "3.13", "3.13-minimal", "3.14", "3.14-minimal" ]' 2>&1
node:internal/fs/promises:956
  const result = await PromisePrototypeThen(
                 ^

Error: ENOENT: no such file or directory, scandir '/home/runner/work/s2i-python-container/s2i-python-container/3.11'
    at async Object.readdir (node:internal/fs/promises:956:18)
    at async file:///home/runner/work/s2i-python-container/s2i-python-container/ci-actions/filter.js:32:19
    at async Promise.all (index 2)
    at async file:///home/runner/work/s2i-python-container/s2i-python-container/ci-actions/filter.js:31:1 {
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/runner/work/s2i-python-container/s2i-python-container/3.11'
}

Does that mean the CI does not respect the current setting in this PR and always uses what is in the main branch? If so, and it seems so, we cannot test removals like this one.

@phracek
Copy link
Copy Markdown
Member

phracek commented Jun 2, 2026

@phracek The CI failed because:

Run node ./ci-actions/filter.js '/home/runner/work/s2i-python-container/s2i-python-container' '[ "3.9", "3.9-minimal", "3.11", "3.11-minimal", "3.12", "3.12-minimal", "3.13", "3.13-minimal", "3.14", "3.14-minimal" ]' 2>&1
node:internal/fs/promises:956
  const result = await PromisePrototypeThen(
                 ^

Error: ENOENT: no such file or directory, scandir '/home/runner/work/s2i-python-container/s2i-python-container/3.11'
    at async Object.readdir (node:internal/fs/promises:956:18)
    at async file:///home/runner/work/s2i-python-container/s2i-python-container/ci-actions/filter.js:32:19
    at async Promise.all (index 2)
    at async file:///home/runner/work/s2i-python-container/s2i-python-container/ci-actions/filter.js:31:1 {
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/runner/work/s2i-python-container/s2i-python-container/3.11'
}

Does that mean the CI does not respect the current setting in this PR and always uses what is in the main branch? If so, and it seems so, we cannot test removals like this one.

It looks like some outage

@phracek
Copy link
Copy Markdown
Member

phracek commented Jun 3, 2026

It should be fixed by sclorg/ci-actions#7

[test]

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
Fedora - 3.13-minimalFedora-latestx86_64✅ passed03.06.2026 08:50:5114min 47stest pipeline

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
Fedora - 3.14-minimalFedora-latestx86_64✅ passed03.06.2026 08:50:5215min 43stest pipeline
CentOS Stream 10 - 3.13-minimalCentOS-Stream-10x86_64✅ passed03.06.2026 08:50:5119min 21stest pipeline
CentOS Stream 9 - 3.9-minimalCentOS-Stream-9x86_64✅ passed03.06.2026 08:50:5119min 51stest pipeline
CentOS Stream 9 - 3.9CentOS-Stream-9x86_64✅ passed03.06.2026 08:51:0021min 51stest pipeline
CentOS Stream 10 - 3.12CentOS-Stream-10x86_64❌ error03.06.2026 08:50:4922min 7stest pipeline
CentOS Stream 9 - 3.14CentOS-Stream-9x86_64❌ error03.06.2026 08:50:4924min 6stest pipeline
CentOS Stream 9 - 3.12CentOS-Stream-9x86_64❌ error03.06.2026 08:50:5124min 7stest pipeline
RHEL8 - 3.12-minimalRHEL-8.10.0-Nightlyx86_64✅ passed03.06.2026 08:50:4927min 22stest pipeline
RHEL10 - 3.12-minimalRHEL-10.2-Nightlyx86_64✅ passed03.06.2026 08:50:5027min 43stest pipeline
RHEL10 - 3.14-minimalRHEL-10.2-Nightlyx86_64✅ passed03.06.2026 08:50:4928min 12stest pipeline
RHEL10 - Unsubscribed host - 3.14-minimalRHEL-10.2-Nightlyx86_64❌ error03.06.2026 08:50:5228min 47stest pipeline
RHEL9 - 3.12-minimalRHEL-9.8.0-Nightlyx86_64✅ passed03.06.2026 08:50:5231min 59stest pipeline
RHEL9 - Unsubscribed host - 3.14-minimalRHEL-9.8.0-Nightlyx86_64❌ error03.06.2026 08:50:5030min 15stest pipeline
RHEL10 - Unsubscribed host - 3.12-minimalRHEL-10.2-Nightlyx86_64✅ passed03.06.2026 08:53:1128min 56stest pipeline
RHEL9 - 3.9RHEL-9.8.0-Nightlyx86_64✅ passed03.06.2026 08:50:4932min 17stest pipeline
RHEL9 - Unsubscribed host - 3.12RHEL-9.8.0-Nightlyx86_64❌ error03.06.2026 08:50:5132min 35stest pipeline
RHEL9 - 3.12RHEL-9.8.0-Nightlyx86_64❌ error03.06.2026 08:50:5134min 14stest pipeline
RHEL9 - 3.14RHEL-9.8.0-Nightlyx86_64❌ error03.06.2026 08:50:4936min 54stest pipeline
CentOS Stream 9 - 3.14-minimalCentOS-Stream-9x86_64✅ passed03.06.2026 09:11:2119min 56stest pipeline
CentOS Stream 10 - 3.14-minimalCentOS-Stream-10x86_64✅ passed03.06.2026 09:13:1919min 23stest pipeline
Fedora - 3.14Fedora-latestx86_64❌ error03.06.2026 09:17:1419min 53stest pipeline
CentOS Stream 10 - 3.12-minimalCentOS-Stream-10x86_64✅ passed03.06.2026 09:17:2319min 18stest pipeline
RHEL9 - Unsubscribed host - 3.9RHEL-9.8.0-Nightlyx86_64✅ passed03.06.2026 09:07:2430min 43stest pipeline
RHEL9 - Unsubscribed host - 3.14RHEL-9.8.0-Nightlyx86_64❌ error03.06.2026 09:07:2433min 24stest pipeline
RHEL9 - 3.14-minimalRHEL-9.8.0-Nightlyx86_64✅ passed03.06.2026 09:11:2735min 8stest pipeline

@phracek
Copy link
Copy Markdown
Member

phracek commented Jun 3, 2026

mod_wsgi_app is covered by #829 .

Feel free to merge it.

Copy link
Copy Markdown
Member

@phracek phracek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. mod_wsgi_app is solved by #829

@phracek phracek merged commit b4f8bf0 into master Jun 3, 2026
19 of 33 checks passed
@phracek phracek deleted the py311_EOL branch June 3, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants