Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat(ci): Run tests for more python versions #296
feat(ci): Run tests for more python versions #296
Changes from all commits
5c1f97d
977803c
ffa8f0a
0cb1bba
2efc51d
8374d81
87b9aa0
a38f1c9
c5e5903
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@orso82 Any idea if this has been fixed on the OMFIT side? I assume we should just cast it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably this needs to be fixed on the OMFIT side. Could you please take care of it @kalling ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@orso82 Alright.
@hassec Would you mind sending me (or pointing me to) a trace of the error that occurs if you don't skip this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kalling no problem. It's in
omfit_gapy.py
which has the following lines:which should probably we wrapped in
int(...)
Corresponding ci run with the error is here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cplot
is used in other calculations later that look like they may need it to be afloat
, so I submitted a change to OMFITauto_merge
that stores the cast versions passed in tosubplot
asplot_cols
andplot_rows
instead of doing the cast at assignment, just to be safe. Re-ran the tests locally and it took care of the issue.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kalling are you sure? The latest version on pypi is from Nov 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kalling @orso82 How would you feel about merging as is, and I can follow up as soon as the fix on
omfit_classes
is released on PyPi? Or if it's coming in the next days I'm also happy to wait.There isn't really a strong urgency, but I'd like to avoid that the PR sits too long, goes stale and gets forgotten.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hassec Interesting, I wonder if the 2 factor auth introduced messed up the automation for uploading to
pypi
. It should currently be at3.2024.09
I'll take a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I fixed the
pypi
uploading issue foromfit-classes
and3.2024.9.2
was uploaded. Hopefully now it'll actually be weekly again :) (Assuming tests pass)Thanks for pointing that out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @kalling I'll have an update PR for OMAS ready asap to remove the workaround :)