Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test-suite in python #36

Open
sangallidavide opened this issue Jun 17, 2024 · 2 comments
Open

Test-suite in python #36

sangallidavide opened this issue Jun 17, 2024 · 2 comments
Assignees

Comments

@sangallidavide
Copy link
Member

sangallidavide commented Jun 17, 2024

I do think that there is only one sustainable way to move from perl to python:

  1. we create a new branch and start rewriting a brand new test-suite drive
  2. we test it and make stable and fully functional (note that the perl version took years to become what it is)
  3. we slowly move from perl to python

Now. Even if perl is so obsolete (are you sure? Look https://github.com/Perl and https://www.perl.org/) I see a big problem: who is going to spend hours in rewriting something that is fully working?

Originally posted by @andreamarini in yambo-code/yambo#96 (comment)

@sangallidavide
Copy link
Member Author

I move the discussion on the test-suite in python here.

Sure, it is not something which can be done easily.

@andrea-ferretti
Copy link
Member

Just a couple of words to clarify:

At present, I think, there is no priority in converting the working test suite driver from perl to python...
The current driver is rather complex, and, as Andrea wrote, it would take quite some time to convert it. After all, the test suite driver implements some complex logics, similarly to other third party sw like buildbot or alike, and is a sw by itself.

The situation is different instead, if we consider simpler actions like running a few tests for CI purposes... In these cases, having a simple python script that does the job may be convenient (also in terms of how many people can contribute python rather than perl)...
The two things are not incompatible but rather complementary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants