Closed ntoxeg closed 2 years ago
Bad news: because of the new type annotations I have to upgrade Python in the docker image (not trivial). Until that is done all tests will be failing.
I have a solution to build against Python 3.10 in my images in the works, hopefully tests will be working soon.
Update on the image — it seems maybe installing Cython to user-space actually fixed the problem. On the other hand AtomSpace doesn’t build currently anyway...
I have absolutely no idea why pip still fails in the workflow, this is exactly the problem I have fixed in the image now.
@ngeiswei I think you can merge this, it also changes the workflow to run as non-root as all PyPI packages are user-installed now. As for the broken workflow I really have no idea — I can run the same image and pip is fine, it should be impossible to see such a difference when running the same image...
I’m done for today but I’ve figured out what’s wrong — there are quite a few problems with GitHub Actions idiosyncrasies, I’ll slowly deal with those.
@ngeiswei oof, pip
finally works in Github Actions. At this point you can just merge this PR as I went out of scope already.
There are more issues to fix but they are less confusing — like some packages not installing because they build from source (for some reason) and missing development packages. There is also the fact that FindCython
brakes in AtomSpace, so the whole thing is not buildable currently. That will take more work but this Actions workflow is now correct — the rest of fixing will be on my Docker image-side, so there is nothing more to do here.
Thanks @ntoxeg !
This properly fixes #36.