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

Handle missing trustme/cryptography gracefully in the test suite #1940

Merged
merged 2 commits into from
Apr 12, 2023

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Apr 12, 2023

Skip tests requiring trustme/cryptography if either of the packages are not installed. This makes it possible to run most of the test suite on architectures that do not feature a working Rust toolchain at the time.

@mgorny mgorny force-pushed the opt-cryptography branch from e970dc3 to 1ae1b4e Compare April 12, 2023 06:40
tests/conftest.py Outdated Show resolved Hide resolved
Skip tests requiring trustme/cryptography if either of the packages
are not installed.  This makes it possible to run most of the test suite
on architectures that do not feature a working Rust toolchain
at the time.
@mgorny mgorny force-pushed the opt-cryptography branch from 1ae1b4e to cc8332a Compare April 12, 2023 15:54
tests/conftest.py Outdated Show resolved Hide resolved
tests/conftest.py Outdated Show resolved Hide resolved
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
@mgorny
Copy link
Contributor Author

mgorny commented Apr 12, 2023

Thanks. Please lemme know if I should rebase.

@Kludex
Copy link
Member

Kludex commented Apr 12, 2023

Thanks Michał 🙏

With similar subjects, you can create a PR directly, no need for discussions. 👍

@Kludex Kludex merged commit 23deb2b into encode:master Apr 12, 2023
@Kludex
Copy link
Member

Kludex commented Apr 12, 2023

Do you need me to make a release, or can you already make use of those changes?

@mgorny
Copy link
Contributor Author

mgorny commented Apr 12, 2023

Thanks. We already have a hack in place, so no hurry for a new release.

@mgorny mgorny deleted the opt-cryptography branch April 12, 2023 17:04
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