Monday, July 8, 2019

PSF GSoC students blogs: Google Summer of Code with Nuitka 3rd Blog Post

This week, I created a script to automate the testing of nuitka-wheel pytest. Details can be found on my pull request: https://ift.tt/2XBMgx6
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://ift.tt/2Jl8vng

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.



from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...