Skip to content

switch winapi to windows in _winapi module#4086

Closed
Yaminyam wants to merge 1 commit into
RustPython:mainfrom
Yaminyam:fix/windows
Closed

switch winapi to windows in _winapi module#4086
Yaminyam wants to merge 1 commit into
RustPython:mainfrom
Yaminyam:fix/windows

Conversation

@Yaminyam
Copy link
Copy Markdown
Contributor

@Yaminyam Yaminyam commented Aug 17, 2022

@Yaminyam Yaminyam marked this pull request as draft August 17, 2022 09:32
Comment thread stdlib/src/multiprocessing.rs Outdated
mod _multiprocessing {
use crate::vm::{function::ArgBytesLike, stdlib::os, PyResult, VirtualMachine};
use winapi::um::winsock2::{self, SOCKET};
use windows::um::winsock2::{self, SOCKET};
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Their api is not the same. manual conversion is required.

@Yaminyam Yaminyam changed the title switch winapi to windows switch winapi to windows in _winapi module Aug 17, 2022
@Yaminyam Yaminyam changed the title switch winapi to windows in _winapi module switch winapi to windows in _winapi module Aug 17, 2022
@fanninpm
Copy link
Copy Markdown
Contributor

It may be convenient to temporarily modify .github/workflows/ci.yaml to focus on the CI operations that run on Windows.

@youknowone youknowone added the z-ca-2022 Tag to track contrubution-academy 2022 label Aug 19, 2022
Copy link
Copy Markdown
Contributor

@fanninpm fanninpm left a comment

Choose a reason for hiding this comment

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

These suggestions revert the changes done to ci.yaml in e119cf5. These should be applied ONLY WHEN THIS IS READY TO MERGE.

Maintainers: this seems like a good candidate for a squash-and-merge.

Comment thread .github/workflows/ci.yaml
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [windows-latest]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
os: [windows-latest]
os: [macos-latest, ubuntu-latest, windows-latest]

Comment thread .github/workflows/ci.yaml
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [windows-latest]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
os: [windows-latest]
os: [macos-latest, ubuntu-latest, windows-latest]

Comment thread vm/src/stdlib/winapi.rs Outdated
Comment thread vm/src/stdlib/winapi.rs Outdated
Comment thread vm/src/stdlib/winapi.rs
Comment thread vm/src/stdlib/winapi.rs Outdated
@Yaminyam Yaminyam force-pushed the fix/windows branch 3 times, most recently from e96575f to aa4f5a4 Compare September 17, 2022 05:11
youknowone pushed a commit to youknowone/RustPython that referenced this pull request Oct 6, 2023
MannarAmuthan pushed a commit to MannarAmuthan/RustPython that referenced this pull request Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-windows z-ca-2022 Tag to track contrubution-academy 2022

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants