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
Bugfix 251 test scorecard #256
Conversation
…opyWarning no longer available for this check
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.
Hi @bikegeek. The same problem I mentioned in PR #255 exists 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.
@bikegeek Also, it appears that this PR and Feature 251 test scorecard #253 are both requesting to be merged into main_v2.0:
[Feature 251 test scorecard #253](https://github.com/dtcenter/METcalcpy/pull/253)
"bikegeek wants to merge 3 commits into main_v2.0 from feature_251_test_scorecard"
[Bugfix 251 test scorecard #256](https://github.com/dtcenter/METcalcpy/pull/256)
“bikegeek wants to merge 3 commits into main_v2.0 from bugfix_251_test_scorecard”
But I think PR #253 should be going into develop. However, I'm not sure what branch it was created off of or how to tell.
Base changed to 'develop' branch.
---------------
Minna Win
Pronouns: she/her
National Center for Atmospheric Research
Developmental Testbed Center
Phone: 303-497-8423
Fax: 303-497-8401
---------------
…On Wed, Jan 11, 2023 at 1:04 PM jprestop ***@***.***> wrote:
***@***.**** commented on this pull request.
@bikegeek <https://github.com/bikegeek> Also, it appears that this PR and Feature
251 test scorecard #253 <#253>
are both requesting to be merged into main_v2.0:
[Feature 251 test scorecard #253](#253)
"bikegeek wants to merge 3 commits into main_v2.0 from feature_251_test_scorecard"
[Bugfix 251 test scorecard #256](#256)
“bikegeek wants to merge 3 commits into main_v2.0 from bugfix_251_test_scorecard”
But I think PR #253 <#253>
should be going into develop. However, I'm not sure what branch it was
created off of or how to tell.
—
Reply to this email directly, view it on GitHub
<#256 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4UJHXX2NKUEB7NFO7PCRTWR4G6RANCNFSM6AAAAAATXOBQOI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I thought the base for this bugfix branch should be main_v2.0 and the base for the feature branch should be main_v2.0? |
I just verified that the bugfix_251 base is main_v2.0 and the feature_251
base is develop. The previous comment was incorrect. I was looking at the PR for the feature_251
…---------------
Minna Win
Pronouns: she/her
National Center for Atmospheric Research
Developmental Testbed Center
Phone: 303-497-8423
Fax: 303-497-8401
---------------
On Wed, Jan 11, 2023 at 1:28 PM jprestop ***@***.***> wrote:
I thought the base for this bugfix branch should be main_v2.0 and the base
for the feature branch should be main_v2.0?
—
Reply to this email directly, view it on GitHub
<#256 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4UJHTV4ILZ4QU65HMLRM3WR4JYLANCNFSM6AAAAAATXOBQOI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Awesome. Thank you so much! |
Hi @bikegeek. I just did a git pull and didn't see any changes here. I was wondering if maybe my previous comment was missed or misinterpreted due to the conversation about the branches:
This branch has the same issue as PR #255 with regard to "FAILED test_lon_360_to_180.py::test_lon_from_360_to_180 - AttributeError: module 'numpy' has no attribute 'float'", unfortunately. |
…o bugfix_251_test_scorecard
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.
Hi @bikegeek. I checked out the updates and ran the tests on Acorn. I'm happy to report that test_lon_360_to_180.py along with the others all passed. I approve this request. Sorry for the delay in approval.
* Bump pillow from 8.3.2 to 9.3.0 (#260) Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.2 to 9.3.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@8.3.2...9.3.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bugfix 251 test scorecard (#256) * Replace Python versions 3.8.6 and 3.8.12 with 3.8 * Bugfix #251 replace SettingWithCopyWarning with Warning. SettingWithCopyWarning no longer available for this check * Adding double asterisks to end bolding on mulitple lines Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * bugfix_249_warnings (#261) * Update unit_tests.yml replace 3.8.6 and 3.8.12 with 3.8 for Python because latest version of ubuntu does not have support for python 3.8.6 * Feature 251 test scorecard (#253) * Issue #251 In Pandas 1.3 and above, the SettingWithCopy Warning category has been removed. Replace the check for category=SettingWithCopyWarning with Warning, since SettingWithCopyWarning is a subclass of Warning * Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string. Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * Feature 250 test event equalize (#252) * Remove Python 3.8.6 and 3.8.12 and use Python 3.8 instead. The latest version of ubuntu no longer has python 3.8.6 available. * Issue #250 fix the test_equalize_axis_data_no_fcst_var fixture * Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string. * #251 allow test to run check on numpy types regardless of numpy version * Update unit_tests.yml add python 3.10 to testing to evaluate package compatibility * Update unit_tests.yml remove Python 3.10 there are issues with HDF5 Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * Delete requirements_36.txt Python 3.6 no longer supported * #249 Add test_future_warnings test * #249 additional sample data * Update requirements.txt https://github.com/dtcenter/METcalcpy/security/dependabot/22 * Update requirements.txt https://github.com/dtcenter/METcalcpy/security/dependabot/20 * #249 replacing pd.append with pd.concat and adding tests and data * #249 added tests * #249 Additional test data * Revert "Merge branch 'develop' of https://github.com/dtcenter/METcalcpy into bugfix_249_warnings" This reverts commit 7f203bf, reversing changes made to dd87d77. Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * Adding file based on testing on Acorn for NCO (#265) * Per #267, updating modulefiles * Adding script for testing on WCOSS2 * Correcting filename * Bugfix release (#272) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> Co-authored-by: Hank Fisher <fisherh@ucar.edu>
* Delete requirements_36.txt Python 3.6 no longer supported * #249 Add test_future_warnings test * #249 additional sample data * Bugfix Issue #249 Future Warnings- replace append with pd.concat * Bugfix issue #249 add the test for future warnings * Bugfix #249 additional data * Bugfix Issue #249 additional data that wasn't previously committed * Bugfix #249 add sum stat import * Bugfix #249 added workflow to check for Python package vulnerabilities * Updated requirements.txt for nco and all others * issue #249 add imports to pandas and warning * Bugfix 249 future warnings (#280) * Bump pillow from 8.3.2 to 9.3.0 (#260) Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.2 to 9.3.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@8.3.2...9.3.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bugfix 251 test scorecard (#256) * Replace Python versions 3.8.6 and 3.8.12 with 3.8 * Bugfix #251 replace SettingWithCopyWarning with Warning. SettingWithCopyWarning no longer available for this check * Adding double asterisks to end bolding on mulitple lines Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * bugfix_249_warnings (#261) * Update unit_tests.yml replace 3.8.6 and 3.8.12 with 3.8 for Python because latest version of ubuntu does not have support for python 3.8.6 * Feature 251 test scorecard (#253) * Issue #251 In Pandas 1.3 and above, the SettingWithCopy Warning category has been removed. Replace the check for category=SettingWithCopyWarning with Warning, since SettingWithCopyWarning is a subclass of Warning * Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string. Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * Feature 250 test event equalize (#252) * Remove Python 3.8.6 and 3.8.12 and use Python 3.8 instead. The latest version of ubuntu no longer has python 3.8.6 available. * Issue #250 fix the test_equalize_axis_data_no_fcst_var fixture * Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string. * #251 allow test to run check on numpy types regardless of numpy version * Update unit_tests.yml add python 3.10 to testing to evaluate package compatibility * Update unit_tests.yml remove Python 3.10 there are issues with HDF5 Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * Delete requirements_36.txt Python 3.6 no longer supported * #249 Add test_future_warnings test * #249 additional sample data * Update requirements.txt https://github.com/dtcenter/METcalcpy/security/dependabot/22 * Update requirements.txt https://github.com/dtcenter/METcalcpy/security/dependabot/20 * #249 replacing pd.append with pd.concat and adding tests and data * #249 added tests * #249 Additional test data * Revert "Merge branch 'develop' of https://github.com/dtcenter/METcalcpy into bugfix_249_warnings" This reverts commit 7f203bf, reversing changes made to dd87d77. Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * Adding file based on testing on Acorn for NCO (#265) * Per #267, updating modulefiles * Adding script for testing on WCOSS2 * Correcting filename * Bugfix release (#272) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> Co-authored-by: Hank Fisher <fisherh@ucar.edu> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> Co-authored-by: Hank Fisher <fisherh@ucar.edu>
* Delete requirements_36.txt Python 3.6 no longer supported * #249 Add test_future_warnings test * #249 additional sample data * Bugfix Issue #249 Future Warnings- replace append with pd.concat * Bugfix issue #249 add the test for future warnings * Bugfix #249 additional data * Bugfix Issue #249 additional data that wasn't previously committed * Bugfix #249 add sum stat import * Bugfix #249 added workflow to check for Python package vulnerabilities * Updated requirements.txt for nco and all others * issue #249 add imports to pandas and warning * Bugfix 249 future warnings (#280) * Bump pillow from 8.3.2 to 9.3.0 (#260) Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.2 to 9.3.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@8.3.2...9.3.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bugfix 251 test scorecard (#256) * Replace Python versions 3.8.6 and 3.8.12 with 3.8 * Bugfix #251 replace SettingWithCopyWarning with Warning. SettingWithCopyWarning no longer available for this check * Adding double asterisks to end bolding on mulitple lines Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * bugfix_249_warnings (#261) * Update unit_tests.yml replace 3.8.6 and 3.8.12 with 3.8 for Python because latest version of ubuntu does not have support for python 3.8.6 * Feature 251 test scorecard (#253) * Issue #251 In Pandas 1.3 and above, the SettingWithCopy Warning category has been removed. Replace the check for category=SettingWithCopyWarning with Warning, since SettingWithCopyWarning is a subclass of Warning * Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string. Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * Feature 250 test event equalize (#252) * Remove Python 3.8.6 and 3.8.12 and use Python 3.8 instead. The latest version of ubuntu no longer has python 3.8.6 available. * Issue #250 fix the test_equalize_axis_data_no_fcst_var fixture * Added ending asterisks for end bold to fix these warnings: WARNING: Inline strong start-string without end-string. * #251 allow test to run check on numpy types regardless of numpy version * Update unit_tests.yml add python 3.10 to testing to evaluate package compatibility * Update unit_tests.yml remove Python 3.10 there are issues with HDF5 Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * Delete requirements_36.txt Python 3.6 no longer supported * #249 Add test_future_warnings test * #249 additional sample data * Update requirements.txt https://github.com/dtcenter/METcalcpy/security/dependabot/22 * Update requirements.txt https://github.com/dtcenter/METcalcpy/security/dependabot/20 * #249 replacing pd.append with pd.concat and adding tests and data * #249 added tests * #249 Additional test data * Revert "Merge branch 'develop' of https://github.com/dtcenter/METcalcpy into bugfix_249_warnings" This reverts commit 7f203bf, reversing changes made to dd87d77. Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> * Adding file based on testing on Acorn for NCO (#265) * Per #267, updating modulefiles * Adding script for testing on WCOSS2 * Correcting filename * Bugfix release (#272) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> Co-authored-by: Hank Fisher <fisherh@ucar.edu> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Julie Prestopnik <jpresto@ucar.edu> Co-authored-by: Hank Fisher <fisherh@ucar.edu>
Pull Request Testing
Create a python 3.8 conda environment with these NCO metcalcpy minimal requirements:
Run tests using this script (to run only the 'basic' tests that don't use image comparison 3rd party packages):
run_basics.sh.txt
Verified that the specified tests passed (some tests are skipped in test_agg_stats_and_boots.py because they take a very long time to run) .
NOTE test_event_equalize.py tests is not included in the run_basics.sh script because there is another Github issue #250 for addressing the failing test in test_event_equalization.py
Perform the same testing as above
Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [NA]
Do these changes include sufficient testing updates? [NA]
Will this PR result in changes to the test suite? [ No]
If yes, describe the new output and/or changes to the existing output:
Please complete this pull request review by Bugfix release.
Pull Request Checklist
See the METplus Workflow for details.
Select: Reviewer(s)
Select: Organization level software support Project or Repository level development cycle Project
Select: Milestone as the version that will include these changes