Fixed issue with pypy 3.11 and latest crypt4gh - #284
Open
jmfernandez wants to merge 5 commits into
Open
Conversation
…straints Updated constraints due security reasons (triggered on 2026-07-27T22:30:39+00:00 by 8aac49f)
`black` is written in Python, and latest releases do not work on discontinued Python versions. As upstream also releases `black` as a self-contained, pre-compiled binary, switch to that both at the pre-commit and development dependencies. The main problem we have had in the past trying to support several versions of black is that the formatting rules evolve on each release, so what it is considered ok in an ancient release must be reformatted with newer ones. So, we were adhering to an ancient release which was supporting Python 3.7. The problems started when we added support for Python 3.14, as the old version of black did not work on that python release.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Latest crypt4gh release is not pre-compiled for pypy 3.11. When pip tries compiling it from its source wheel stored at pypi, it fails preparing the compilation of a static copy of libsodium used by it, because it lacks some expected files. So, for pypy, the source of crypt4gh is switched to its github repo.