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

fix build failures due to new joblib 1.3.0 release failing on windows with python 3.7 #2155

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

imatiach-msft
Copy link
Contributor

Description

Fix build failures due to new joblib 1.3.0 release failing on windows with python 3.7.

It looks like our gated builds broke again today with joblib 1.3.0 release 8 hours ago:
Python 3.7 compatibility issue introduced by release 1.3.0 · Issue #1469 · joblib/joblib (github.com)

See example build error log:
add retry logic to common vision utils to make tests more robust · microsoft/responsible-ai-toolbox@fd82d2c (github.com)

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@@ -13,6 +13,8 @@ ml-wrappers>=0.4.0

# Jupyter dependency that fails with python 3.6
pywinpty==2.0.2; python_version <= '3.6' and sys_platform == 'win32'
# fix for recent joblib release and windows python 3.7 builds
Copy link
Contributor Author

Choose a reason for hiding this comment

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

not sure if I should just pin the requirements.txt to make sure we don't have this issue in prod or that might be too heavy-handed and I should go with the less intrusive fix to only resolve our build failures (who knows what the ramifications might be for the more heavy-handed fix... and relatively few people probably use this on python 3.7 w/ windows anyway)

Copy link
Contributor

Choose a reason for hiding this comment

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

Python 3.7 reached EOL yesterday. Perhaps it's time to drop it 🙂

https://peps.python.org/pep-0537/

@codecov-commenter
Copy link

codecov-commenter commented Jun 28, 2023

Codecov Report

Merging #2155 (5e66d32) into main (234c439) will increase coverage by 1.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2155      +/-   ##
==========================================
+ Coverage   91.02%   92.21%   +1.19%     
==========================================
  Files         115      103      -12     
  Lines        6061     5140     -921     
==========================================
- Hits         5517     4740     -777     
+ Misses        544      400     -144     
Flag Coverage Δ
unittests 92.21% <ø> (+1.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 12 files with indirect coverage changes

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.

4 participants