Skip to content

OSSEVALML-80 Python 3.10 audit #3609

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

Merged
merged 10 commits into from
Aug 15, 2022
Merged

OSSEVALML-80 Python 3.10 audit #3609

merged 10 commits into from
Aug 15, 2022

Conversation

cp2boston
Copy link
Contributor

Pull Request Description

This ticket provides minor updates to allow successful testing under python 3.10. Specifically:

  • Added Dockerfile.arm (and .dockerignore) to provide a 3.10 test environment
  • Added a container/arm specific test fixture to limit chrome to single thread
  • Updated several unit tests to accept the enhanced exception message
  • Updated the pytest version to 7.1.2

After creating the pull request: in order to pass the release_notes_updated check you will need to update the "Future Release" section of docs/source/release_notes.rst to include this pull request by adding :pr:123.

@CLAassistant
Copy link

CLAassistant commented Jul 14, 2022

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Jul 14, 2022

Codecov Report

Merging #3609 (e4fd575) into main (4ebe97a) will decrease coverage by 0.1%.
The diff coverage is 60.0%.

@@           Coverage Diff           @@
##            main   #3609     +/-   ##
=======================================
- Coverage   99.7%   99.7%   -0.0%     
=======================================
  Files        335     335             
  Lines      33840   33845      +5     
=======================================
+ Hits       33712   33715      +3     
- Misses       128     130      +2     
Impacted Files Coverage Δ
evalml/tests/data_checks_tests/test_data_checks.py 100.0% <ø> (ø)
evalml/tests/utils_tests/test_gen_utils.py 99.5% <60.0%> (-0.5%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@cp2boston cp2boston requested a review from chukarsten July 14, 2022 15:43
Copy link
Collaborator

@jeremyliweishih jeremyliweishih left a comment

Choose a reason for hiding this comment

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

@cp2boston thank you for putting this up and investigating 3.10! A couple things:

  • do you believe EvalML fully supports 3.10 at this point? If so we can also update the install page to reflect that! To do so you just need to update docs/source/install.md
  • coverage tests will not pass for in_container_arm64 as it is not being run as part of our CI. @chukarsten will need to merge this PR in for you.

Lmk what you think!

The env var is set in the Dockerfile.arm for the purposes of local
testing in a container on a mac M1, otherwise it's a noop.
"""
if os.getenv("DOCKER_ARM", None):
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to # pragma: no cover this?

@gsheni
Copy link
Contributor

gsheni commented Aug 2, 2022

@cp2boston or @chukarsten Can we fix the lint error and release notes conflict here?

@chukarsten chukarsten force-pushed the OSSEVALML-80_3-10-support branch from 260d0cb to cac97b6 Compare August 15, 2022 18:26
@chukarsten chukarsten merged commit 8a4d0ba into main Aug 15, 2022
@chukarsten chukarsten deleted the OSSEVALML-80_3-10-support branch August 15, 2022 19:19
@chukarsten chukarsten mentioned this pull request Aug 16, 2022
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

Successfully merging this pull request may close these issues.

5 participants