[Debian-pan-maintainers] Progress Report

RAHLI Oussama oussama.rahli at synchrotron-soleil.fr
Fri Aug 30 16:33:26 BST 2024



Hello everyone, 




This week, with the help of Mr. PICCA, we created integration tests for the orange3 project. 




python: The script begins by setting the HOME environment variable to a temporary directory used by autopkgtest. It then copies the Orange/tests and Orange/widgets/tests directories to this temporary location. After changing to the temporary directory, the script iterates over all available Python 3 versions using the py3versions command. For each version, it runs the tests in the Orange/tests and Orange/widgets/tests directories using the unittest module in verbose mode, ensuring that the tests are executed for each supported Python version. 




gui: This script is designed to test an Orange Canvas workflow. It begins by setting the HOME environment variable to the temporary directory used by autopkgtest. The script then copies a specific Orange workflow file) to this temporary directory and navigates there. It runs the workflow using the orange-canvas command with a timeout limit of 100 seconds. If the execution ends with exit code 143 , the script treats the test as successful and returns 0. Otherwise, it exits with the actual status code of the executed process, indicating whether the test passed or failed. 




conda-autodep8_plus: This script automates the process of fetching and testing Conda packages by downloading the package's `.conda` file from the Anaconda repository, extracting the `meta.yaml` file, and parsing it for test-related information such as commands and Python imports. It then generates a shell script that runs these commands and checks the imports across different Python versions, facilitating the verification of the package's integrity and functionality. 







Best regards, 

Oussama RAHLI 
Student at INSA Rennes 








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-pan-maintainers/attachments/20240830/80454a46/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python.txt
Type: application/x-shellscript
Size: 349 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-pan-maintainers/attachments/20240830/80454a46/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gui.txt
Type: application/x-shellscript
Size: 410 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-pan-maintainers/attachments/20240830/80454a46/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conda-autodep8_plus.txt
Type: text/x-python
Size: 4081 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-pan-maintainers/attachments/20240830/80454a46/attachment-0001.py>


More information about the Debian-pan-maintainers mailing list