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

[MISC] Fix compilation on python3.10, correct workflow file for python3.10, fix pre-commit-config.yaml + github CI #29

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

nikoskoukis-slamcore
Copy link

Bundling a few small commits into the same PR

  • Fix compilation for python 3.10
  • Fix broken syntax in pre-commit-config.yaml
  • Fix execution of Github actions workflow file

This solves the following issue:

```
TypeError: entry_points() got an unexpected keyword argument 'group'
```

This comes due to an old implementation of `importlib` and specifically
when I'm running my app inside a virtual environment. Attempts to `pip3
install --force-reinstall importlib`, inside the virtualenv, did not
work since it seems that `importlib` is brought from the standard python
distribution regardless of whether the environment is sourced or not. To
accommodate running the app inside and outside a virtualenv I'm instead
depending on `importlib_metadata` which seems to resolve the
aforementioned issue.
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.

1 participant