Skip to content
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

Document binary and library in a single package by entrypoint workaround #1565

Merged
merged 5 commits into from
Apr 26, 2023

Conversation

konstin
Copy link
Member

@konstin konstin commented Apr 11, 2023

@konstin konstin requested a review from messense April 11, 2023 17:26
@netlify
Copy link

netlify bot commented Apr 11, 2023

Deploy Preview for maturin-guide ready!

Name Link
🔨 Latest commit 9fae01e
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/64489451110eb20008114550
😎 Deploy Preview https://deploy-preview-1565--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@konstin konstin changed the title Document binary and library in a single pacakge by entrypoint workaround Document binary and library in a single package by entrypoint workaround Apr 11, 2023
@nanthony007
Copy link

This is awesome!

@messense
Copy link
Member

File path on Windows is ridiculously complicated, maybe we should simplify the test case to not assert file paths.

@konstin
Copy link
Member Author

konstin commented Apr 16, 2023

The tests are passing now, i've removed checks for platforms with inconsistent behaviors. I think the current check_installed.py is also good as documentation.

Copy link
Member

@messense messense left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot added a commit that referenced this pull request Apr 16, 2023
1565: Document binary and library in a single package by entrypoint workaround r=messense a=konstin

Inspired by #368 (comment)

Preview: https://deploy-preview-1565--maturin-guide.netlify.app/bindings.html#both-binary-and-library

CC `@nanthony007`

Co-authored-by: konstin <[email protected]>
@bors
Copy link
Contributor

bors bot commented Apr 16, 2023

Build failed:

@konstin
Copy link
Member Author

konstin commented Apr 25, 2023

bors retry

looks like a network error: https://github.com/PyO3/maturin/actions/runs/4760507648/jobs/8460910927

bors bot added a commit that referenced this pull request Apr 25, 2023
1565: Document binary and library in a single package by entrypoint workaround r=messense a=konstin

Inspired by #368 (comment)

Preview: https://deploy-preview-1565--maturin-guide.netlify.app/bindings.html#both-binary-and-library

CC `@nanthony007`

Co-authored-by: konstin <[email protected]>
@bors
Copy link
Contributor

bors bot commented Apr 25, 2023

Build failed:

@konstin
Copy link
Member Author

konstin commented Apr 26, 2023

bors r+

discovering more strange platform behavior as i go

bors bot added a commit that referenced this pull request Apr 26, 2023
1565: Document binary and library in a single package by entrypoint workaround r=konstin a=konstin

Inspired by #368 (comment)

Preview: https://deploy-preview-1565--maturin-guide.netlify.app/bindings.html#both-binary-and-library

CC `@nanthony007`

Co-authored-by: konstin <[email protected]>
@bors
Copy link
Contributor

bors bot commented Apr 26, 2023

Build failed:

@konstin
Copy link
Member Author

konstin commented Apr 26, 2023

bors retry

@bors
Copy link
Contributor

bors bot commented Apr 26, 2023

@bors bors bot merged commit df65f10 into main Apr 26, 2023
@bors bors bot deleted the binary_and_library branch April 26, 2023 03:44
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.

3 participants