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

Get tests working again #1132

Merged

Conversation

dwhswenson
Copy link
Member

Taking a few days to do some OPS upkeep; after far too much neglect. This PR will get our tests back in working order.

Importantly, as of this PR (and the next release), we're (finally) dropping Python 2.7 support. It is too much of a maintenance burden, and everyone else dropped it over 3 years ago. There should be no active projects going with Python 2.7.

  • Drop Python 2 support (finally)
  • Fix up Gromacs tests for newer grompp warnings

- [x] Drop Python 2 support (finally)
- [x] Fix up Gromacs tests for newer grompp warnings
@dwhswenson dwhswenson changed the title [WIP] Get tests working again Get tests working again Sep 15, 2023
@dwhswenson
Copy link
Member Author

I'll leave this where it is; looks like we might need some more work to get things working on Python 3.10/3.11.

This is ready for review and comment. Without review, I will merge this sometime after Sat 16 Sep 15:00 GMT (10:00 my local).

@dwhswenson dwhswenson mentioned this pull request Sep 15, 2023
4 tasks
Copy link
Member

@sroet sroet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 question, LGTM otherwise. Feel free to merge on green.

Comment on lines +264 to +265
stdout=PIPE,
stderr=PIPE)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this actually needed? I don't see these pipes used anywhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for the _communicate() method. It makes it so that you can get stdout/stderr -- this was somewhat useful in debugging (told me that I wasn't generating the tpr, so I knew to look at the grompp command). But it seemed like communicate is blocking (so we just run the full length trajectory, never checking if we should kill it). So PIPE/communicate are probably only useful when debugging.

@dwhswenson dwhswenson merged commit 2b2809c into openpathsampling:master Sep 15, 2023
4 checks passed
@dwhswenson dwhswenson deleted the get-tests-working-again branch September 15, 2023 21:28
@dwhswenson dwhswenson mentioned this pull request Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants