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

Check for and handle None docstrings #545

Conversation

jcharlong
Copy link

@jcharlong jcharlong commented Jun 6, 2024

This PR addresses #544

I confirmed that I ran into the issue by running tests w/ python -OO -m pytest tests/. The issue is resolved & all tests completed after this update.

Let me know if there are any version or release notes I should be handling in this PR. I could not find any guidelines on this for developers in the repository's documentation.

@mhostetter mhostetter changed the base branch from main to release/0.3.x June 6, 2024 20:15
@mhostetter
Copy link
Owner

Can you rebase this off of mhostetter:release/0.3.x? That is required to pass the tests.

@jcharlong jcharlong force-pushed the support-optimized-out-docstrings branch from edf157e to bc9d933 Compare June 6, 2024 21:57
@jcharlong
Copy link
Author

Sure thing, just pushed after rebasing.

@mhostetter
Copy link
Owner

The latest macos CI runners have screwed things. I've got to debug this before the tests can work. Hang tight.

@mhostetter
Copy link
Owner

Can you rebase off of release/0.3.x again? (I would do it, but I don't know how for you branch.) I think we should be good now.

CPython's -OO flag optimizes out docstrings sets them to None.
@jcharlong jcharlong force-pushed the support-optimized-out-docstrings branch from bc9d933 to 9460825 Compare June 10, 2024 12:06
@jcharlong
Copy link
Author

Sure thing, just pushed after rebasing. Thanks for your quick turn around time in debugging, I appreciate it.

@mhostetter mhostetter merged commit 0757591 into mhostetter:release/0.3.x Jun 10, 2024
49 checks passed
@mhostetter
Copy link
Owner

Thanks! I'll push a new release tonight.

@jcharlong
Copy link
Author

Great, thanks again for the quick support.

@jcharlong jcharlong deleted the support-optimized-out-docstrings branch June 10, 2024 15:58
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