Skip to content

Conversation

@TaoK
Copy link

@TaoK TaoK commented Jan 29, 2024

The template's "devcontainer" wasn't working, with an obscure error about "AttributeError: cython_sources" during a pip install, in a "Called Process" - see #151.

After some investigation it turned out that this was happening during the devContainer's onCreateCommand, which runs pre-commit install-hooks.

Searching for other projects with the same error showed that one typical solution is to upgrade to PyYAML 6.X, but as the version of PyYAML in this particular pip install is actually driven by the from pycln==1.2.5 constraint, that's what needs to be bumped for this template to start working again.

Fixes #151.

@TaoK TaoK changed the title pre-commit config: bump pycln to working version after PyYAML v5.X dependencies stopped working fix: pre-commit config: bump pycln to working version after PyYAML v5.X dependencies stopped working Jan 29, 2024
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.

Codespace build fails with "AttributeError: cython_sources"

2 participants