Hi! In order to relate what has been done and learned during this fifth week, I will answer the three basic questions of every weekly check-in:
1. What did you do this week?
I've finished making the testing scripts, and sent and approved the proper PR's with those changes.
2. What is coming up next?
Start studying things about Py4Web, in order to start the migration from Web2Py.
3. Did you get stuck anywhere?
Yes, I had difficulties with the testing scripts, with the syntax of those, and finally, I had a problem when pushing all my work, because I forgot to update my fork with the original project of Python Argentina. Since that, I had conflicts when sending the PR, but fortunately I could pass over that problem.
View Blog Post
matiasdemarchi's Blog
Hi! In order to relate what has been done and learned during this fourth week, I will answer the three basic questions of every weekly check-in:
1. What did you do this week?
I've migrated a few files with Python 2 syntax, like PyDoctor with conflicts in the print syntax. Then I have improved the testing scripts, in orden to make them more conventional, and to properly make the Pull Request on them
2. What is coming up next?
Improve and make functional all of my testing scripts, and do the last debugging steps in my last week of my first part of GSoC program.
3. Did you get stuck anywhere?
Yes, I have some problems with the syntax of the playwright scripts, because now I don't understand it very well. I will ask my mentor to improve it, during this week.
View Blog Post
Hi! In order to relate what has been done and learned during this third week, I will answer the three basic questions of every weekly check-in:
1. What did you do this week?
I've finished the creation of the Playwright testing scripts, and I sent my Pull Request for it. I also had to edit the Readme file, because I had to clean the databases directory, making OpenLex without the presence of an example user. The user would have to create their own user, or the developer can use the testing scripts that I made with Playwright, where I put a script for creating an example user. When I was making the testings scripts, I found some exceptions and problems, that I reported by issues in my fork. I still can't find major problems when running OpenLex with Python 3.
2. What is coming up next?
Since I haven't found any major issue related with the differences between Python 2 and Python 3, I will start migrating the Python files one by one. Also, my mentor asked me for a bug to fix. I will work on it. Also, if the project start to have major changes, I will test it with the testing scripts, or even I would create new ones.
3. Did you get stuck anywhere?
Yes, because in this week, I had to familiarize in a real thing, with Git and Github. So, I spent hours trying to make my project clean, in order to make the commit and the PR.
View Blog Post
Hi! In order to relate what has been done and learned during this second week, I will answer the three basic questions of every weekly check-in:
1. What did you do this week?
I solved the problem of a proper testing that uses a clean databases directory for testing. At that point, I started making testing scripts in the project (using playwright codegen), and I found some issues that I will publish in my repository in the next hours of the day. Some issues are possibly related to the problem of the old Python 2 code, that I will work on it in this first period of my participation, and others are related to some missing features that I will evaluate to resolve in the second period, where I will start the migration from web2py to py4web.
2. What is coming up next?
I will continue testing with playwright scripts, and I will start migration of the Python 2 files that causes the most clear issues during the testing process, and sending the proper issues and PRs on it.
3. Did you get stuck anywhere?
Yes, I have no idea about how to proceed with the testing, because I had to manually clean the databases directory, every time I would want to start a testing process. Once that obstacle was overcome, I started to fluidly test the project with Python 3, in order to cause the exceptions that would help me to know the most important Python files to migrate first.
View Blog Post
Hi! In order to relate what has been done and learned during this first week, I will answer the three basic questions of every weekly check-in:
1. What did you do this week?
In order to start migrating the OpenLex project from Python 2 to Python 3, I tried testing Web2Py and OpenLex running it with the Python 3 interpreter, trying to find the points where the software would crash. But my mentor asked me to use an automatic testing script, with playwright and pytest, and I liked those tools. I started publishing the first milestones and a column of To Do in my project. Also I learned some of the __future__ module concepts that will be useful for my migration project.
2. What is coming up next?
I will be studying playwright and creating the scripts for my project. I will also try to use other tools for testing, in order to make me sure that there won't be missing things in my testing process.
3. Did you get stuck anywhere?
Yes, I didn't have idea about how to properly test the project. I tried testing manually OpenLex in my main web browser, but running web2py with Python 3, in order to look for the points where the environment would crash. But it was a waste of time. Now, with my mentor suggesting me to use the testing tools, now I'm studying playwright, in order to prepare a serious testing environment.
View Blog Post