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

Reacticate CI jobs after switch to pyproject and setuptools #1675

Merged
merged 7 commits into from
Aug 12, 2024
Merged

Reacticate CI jobs after switch to pyproject and setuptools #1675

merged 7 commits into from
Aug 12, 2024

Conversation

lucc
Copy link
Collaborator

@lucc lucc commented Aug 10, 2024

I want to reactivate the unittests on the ubuntu runners and find a replacement for the petry check jobs. We can even think about pycodestyle or mypy or the like.

@pazz I added this to the 0.11 milestone but I don't know how quickly you want to release that and how quickly I can finish this PR. You can just drop it from 0.11 if you want as we have at least some working CI with the nix flake.

@lucc lucc added this to the release 0.11 milestone Aug 10, 2024
@lucc lucc self-assigned this Aug 10, 2024
The tests had been deactivated in
89fd7ce because of the gpg dependency
problem from #1630.  The relevant test cases will be skipped in a later
commit.
This patches the pyproject.toml file during ci to not install the gpg
dependency > 1.10 which does not exist on PyPI.  See also
https://dev.gnupg.org/T6297
@lucc lucc marked this pull request as ready for review August 11, 2024 17:35
@lucc lucc requested a review from pazz August 11, 2024 17:35
@lucc
Copy link
Collaborator Author

lucc commented Aug 11, 2024

@pazz I did not install gpg in ci because it was even more complicated than notmuch. Instead I patch the pyproject dependencies during ci, removing gpg and then add a mock of the package and skip all other tests that depend on the gpg module.

This is suboptimal but for me it is still acceptable because we get the python test matrix back and the gpg related tests are still run in the nix ci job.

What do you think?

@pazz
Copy link
Owner

pazz commented Aug 12, 2024

What do you think?

Sounds like a sensible temporary solution, yes!

@pazz pazz merged commit d760d98 into master Aug 12, 2024
21 of 22 checks passed
@lucc lucc deleted the ci branch August 12, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants