tommyli3318's Blog

Google Summer of Code with Nuitka 2nd Weekly Check-in

tommyli3318
Published: 06/17/2019

1. What did you do this week?
Created nuitka standalone tests for python-dateutil and pyyaml packages. Details can be found here: https://github.com/Nuitka/Nuitka/pull/418

Performed manual virtualenv pytest testing for the urllib3 package wheel built using nuitka. Details can be found here: https://github.com/Nuitka/Nuitka-website/pull/10

 

2. What is coming up next?
Finish up urllib3 wheel test report, then move on to manual virtualenv wheel tests for python-dateutil and pyyaml.

 

3. Did you get stuck anywhere?
Yes, the nuitka-built urllib3 wheel originally had import problems that was crashing pytest execution. The C code of nuitka was changed to fix the bug.

View Blog Post

Google Summer of Code with Nuitka 1st Blog Post

tommyli3318
Published: 06/10/2019

This week, I created nuitka standalone tests for boto3 and made changes to urllib3. Details can be seen in my PR: https://github.com/Nuitka/Nuitka/pull/339

I also created standalone tests for the python-dateutil and pyyaml packages. My pull request for that can be seen here: https://github.com/Nuitka/Nuitka/pull/418


In addition, I tested urllib3 bdist_nuitka compatibility with Nuitka by building the urllib3 dist wheel via Nuitka inside a virtual environment and then running urllib3’s pytests with the compiled version. It ended up raising an error which I reported here: https://github.com/Nuitka/Nuitka/issues/413

The plan for next week is to look more into this issue and also work on testing the other packages, python-dateutil and pyyaml are next on the list.

View Blog Post

Google Summer of Code with Nuitka 1st Weekly Check-in

tommyli3318
Published: 06/04/2019

1. What did you do this week?
Created nuitka standalone tests for boto3 and made changes to urllib3. Details can be seen in my PR: https://github.com/Nuitka/Nuitka/pull/339

2. What is coming up next?
Compatibility test for Nuitka distutils with urllib3, then move on to the next package, which will be python-dateutil.

3. Did you get stuck anywhere?
Yes, the boto3 standalone test was not passing with nuitka compilation due to unknown errors. My guess was that it has to do with the AWS mocking package moto. If this is too complicated to figure out, we will probably skip this test.

View Blog Post

Google Summer of Code with Nuitka

tommyli3318
Published: 05/28/2019

Hi all! :) My name is Taofeng Li and I go by the nickname of Tommy, github handle tommyli3318. I'm a Computer Science major at the University of California, Irvine in the United States. I am very excited to announce that I'll be contributing to Nuitka this summer under the Google Summer of Code program! My project is "Nuitka support for PyPI top 50", it ensures Nuitka’s compatibility with the 50 most popular PyPI packages by setting up automated testing for each package. These automated tests will serve to be very important tools for the development of Nuitka, as they will be used to assure Nuitka’s compatibility with the most used Python packages every time Nuitka receives a new update. My mentors will be Vaibhav Tulsyan, Kamran Ghanaat, and Kay Hayen. My project abstract can be seen at https://summerofcode.withgoogle.com/projects/#4874692681269248 and the full details of my project can be found at https://docs.google.com/document/d/1tdbXyMy5xjVEeWociI_t2f6tlmge6czT0xmfCLyDXYg/edit?usp=sharing This week, I am mainly working on the first standalone tests for urllib3 while trying to get the test for boto3 to work. I have been struggling for a while trying to get boto3 tests, getting a weird build error when compiled with nuitka. I plan on using custom plugins to see if that will fix the errors. Furthermore, if the originally proposed 50 tests of my project seems to be too much to do, my mentor says I might have to lower that number. I am greatly looking forward to the many things that I'll learn this summer!
View Blog Post