Skip to content

gh-154218: Fix test_posix_fallocate on file systems that do not support posix_fallocate()#154219

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:fallocate-eopnotsupp
Jul 20, 2026
Merged

gh-154218: Fix test_posix_fallocate on file systems that do not support posix_fallocate()#154219
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:fallocate-eopnotsupp

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jul 20, 2026

Copy link
Copy Markdown
Member

Skip on EOPNOTSUPP regardless of platform: it always means that the file system does not support posix_fallocate() (ZFS on FreeBSD, FFS on NetBSD). Tested on FreeBSD 15.1 with a ZFS root (skips) and Linux with ext4 (runs).

🤖 Generated with Claude Code

… support posix_fallocate()

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@bedevere-app bedevere-app Bot added tests Tests in the Lib/test dir awaiting core review labels Jul 20, 2026
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news labels Jul 20, 2026
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) July 20, 2026 06:04
@serhiy-storchaka
serhiy-storchaka merged commit 051b6e0 into python:main Jul 20, 2026
99 of 101 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Jul 20, 2026

Copy link
Copy Markdown

GH-154232 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 20, 2026
@bedevere-app

bedevere-app Bot commented Jul 20, 2026

Copy link
Copy Markdown

GH-154233 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jul 20, 2026
@bedevere-app

bedevere-app Bot commented Jul 20, 2026

Copy link
Copy Markdown

GH-154234 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jul 20, 2026
serhiy-storchaka added a commit that referenced this pull request Jul 20, 2026
…t support posix_fallocate() (GH-154219) (GH-154234)

(cherry picked from commit 051b6e0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
serhiy-storchaka added a commit that referenced this pull request Jul 20, 2026
…t support posix_fallocate() (GH-154219) (GH-154233)

(cherry picked from commit 051b6e0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
serhiy-storchaka added a commit that referenced this pull request Jul 20, 2026
…t support posix_fallocate() (GH-154219) (GH-154232)

(cherry picked from commit 051b6e0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant