Skip to content

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

Merged
imatiach-msft merged 1 commit intomainfrom
ilmat/fix-winapi-err
Jun 29, 2023
Merged

fix build failures due to new joblib 1.3.0 release failing on windows with python 3.7#2155
imatiach-msft merged 1 commit intomainfrom
ilmat/fix-winapi-err

Conversation

@imatiach-msft
Copy link
Copy Markdown
Collaborator

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.


# 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
Copy Markdown
Collaborator 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
Copy Markdown
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
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

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