Google Summer of Code with Nuitka 3rd Blog Post

tommyli3318
Published: 07/08/2019

This week, I created a script to automate the testing of nuitka-wheel pytest. Details can be found on my pull request: https://github.com/Nuitka/Nuitka/pull/440
Automated testing compares the pytest results of a nuitka wheel built using python setup.py bdist_nuitka to the regular python wheel pytest of each PyPI package. Testing is done to ensure that nuitka is building the wheel correctly. If the pytests pass/fail in the same way, that means Nuitka built the wheel properly. Else if the tests differ, then something is wrong. Virtualenv is used to create a clean environment with no outside pollution.

In addition, a post documenting manual test results of dateutil was made to nuitka.net with a pull request: https://github.com/Nuitka/Nuitka-website/pull/11

I ran into many bugs this week but I was proud of myself for being able to overcome all of them with the help of mentors. In particular, getting stdout and stderr from the virtualenv was not easy. There are also some PermissionErrors that I will still need to look more into. Nevertheless, automation now fully works for the urllib3 and dateutil packages and I am very happy with this week’s progress.

The plan for next week is to extend the automation to more PyPI packages.

1000 characters left