Skip to content

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Nov 6, 2025

Continues the work started in:

To be confident about free-threaded compatibility, it is recommended to test with pytest-run-parallel.

Something like:
% uvx --with=pytest-run-parallel pytest --iterations=8 --parallel-threads=auto

Pwntools Pull Request

Thanks for contributing to Pwntools! Take a moment to look at CONTRIBUTING.md to make sure you're familiar with Pwntools development.

Please provide a high-level explanation of what this pull request is for.

Testing

Pull Requests that introduce new code should try to add doctests for that code. See TESTING.md for more information.

Target Branch

Depending on what the PR is for, it needs to target a different branch.

You can always change the branch after you create the PR if it's against the wrong branch.

Branch Type of PR
dev New features, and enhancements
dev Documentation fixes and new tests
stable Bug fixes that affect the current stable branch
beta Bug fixes that affect the current beta branch, but not stable
dev Bug fixes for code that has never been released

Changelog

After creating your Pull Request, please add and push a commit that updates the changelog for the appropriate branch.
You can look at the existing changelog for examples of how to do this.

pytest --doctest-modules --iterations=8 --parallel-threads=auto
Updated Python version matrix for CI workflow to use fewer versions during debugging.
Added pytest and pytest-run-parallel to documentation dependencies and adjusted pytest command.
Increased timeout for pytest-run-parallel and added multiple test commands.
Removed pytest-run-parallel from documentation dependencies installation and added pytest-timeout. Updated pytest commands to include timeout and adjusted installation of pytest-run-parallel.
@cclauss cclauss changed the title GitHub Actions: Test on free-threaded Python 3.14t Test free-threaded Python with pytest-run-parallel Nov 9, 2025
@peace-maker
Copy link
Member

pwnlib isn't fully thread-safe so this might reveal some areas that need work.

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