Skip to content

GH-111804: Drop posix.fallocate() under WASI #111869

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

brettcannon
Copy link
Member

@brettcannon brettcannon commented Nov 9, 2023

The underlying POSIX function, posix_fallocate(), was found to vary too
much between implementations to remain in WASI. As such, while it was
available in WASI preview1, it's been dropped in preview2.

The underlying POSIX function, posix_fallocate(), was found to vary too
much between implementations to remain in WASI. As such, while it was
available in WASI preview1, it's been dropped in preview2.
@brettcannon
Copy link
Member Author

!buildbot wasm32-wasi

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @brettcannon for commit 077baab 🤖

The command will test the builders whose names match following regular expression: wasm32-wasi

The builders matched are:

  • wasm32-wasi PR

@brettcannon brettcannon merged commit 97c4c06 into python:main Nov 9, 2023
@brettcannon brettcannon deleted the posix_fallocate branch November 9, 2023 01:20
@miss-islington-app
Copy link

Thanks @brettcannon for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @brettcannon, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 97c4c06d0d235aad00e5b6b10af8b8d68c889b9b 3.12

@miss-islington-app
Copy link

Sorry, @brettcannon, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 97c4c06d0d235aad00e5b6b10af8b8d68c889b9b 3.11

@brettcannon
Copy link
Member Author

The failure for the buildbot was due to an unrelated failure from 31c90d5 .

brettcannon added a commit to brettcannon/cpython that referenced this pull request Nov 9, 2023
Drop posix.fallocate() under WASI.

The underlying POSIX function, posix_fallocate(), was found to vary too
much between implementations to remain in WASI. As such, while it was
available in WASI preview1, it's been dropped in preview2.

(cherry picked from commit 97c4c06)
brettcannon added a commit to brettcannon/cpython that referenced this pull request Nov 9, 2023
Drop posix.fallocate() under WASI.

The underlying POSIX function, posix_fallocate(), was found to vary too
much between implementations to remain in WASI. As such, while it was
available in WASI preview1, it's been dropped in preview2.

(cherry picked from commit 97c4c06)
brettcannon added a commit to brettcannon/cpython that referenced this pull request Nov 9, 2023
Drop posix.fallocate() under WASI.

The underlying POSIX function, posix_fallocate(), was found to vary too
much between implementations to remain in WASI. As such, while it was
available in WASI preview1, it's been dropped in preview2.
@bedevere-app
Copy link

bedevere-app bot commented Nov 9, 2023

GH-111919 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Nov 9, 2023
@bedevere-app
Copy link

bedevere-app bot commented Nov 9, 2023

GH-111920 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Nov 9, 2023
brettcannon added a commit that referenced this pull request Nov 9, 2023
…11919)

GH-111804: Drop posix.fallocate() under WASI (GH-111869)

Drop posix.fallocate() under WASI.

The underlying POSIX function, posix_fallocate(), was found to vary too
much between implementations to remain in WASI. As such, while it was
available in WASI preview1, it's been dropped in preview2.
brettcannon added a commit that referenced this pull request Nov 9, 2023
…11920)

GH-111804: Drop posix.fallocate() under WASI (GH-111869)

Drop posix.fallocate() under WASI.

The underlying POSIX function, posix_fallocate(), was found to vary too
much between implementations to remain in WASI. As such, while it was
available in WASI preview1, it's been dropped in preview2.
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Drop posix.fallocate() under WASI.

The underlying POSIX function, posix_fallocate(), was found to vary too
much between implementations to remain in WASI. As such, while it was
available in WASI preview1, it's been dropped in preview2.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Drop posix.fallocate() under WASI.

The underlying POSIX function, posix_fallocate(), was found to vary too
much between implementations to remain in WASI. As such, while it was
available in WASI preview1, it's been dropped in preview2.
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