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

CI: Revert Win Py3.9 back to Py3.8; pin tensorflow<=2.6 #267

Merged
merged 2 commits into from
Sep 2, 2022

Conversation

dominiquesydow
Copy link
Collaborator

@dominiquesydow dominiquesydow commented Sep 1, 2022

Description

While looking into the tensorflow issue reported in #265, I noticed that we are running the CI for Windows under Py3.9 although we intended to run all platforms by default under Py3.8 (plus an additional test for Py3.9 under Linux).
I introduced this discrepency when I made a CI test run for Win Py3.9 and forgot (?) to revert back to Py3.8: #254 (comment) (the exact commit: f1596b4)

Pin tensorflow version matching the API used in T021 and T022 (i.e. 2.6).

Todos

  • Revert CI back to Win Py3.8
  • Pin tensorflow <=2.6

Status

  • Ready to go

@dominiquesydow dominiquesydow self-assigned this Sep 1, 2022
@dominiquesydow dominiquesydow added the dependency Update/fix dependencies label Sep 1, 2022
@dominiquesydow dominiquesydow changed the title CI: Revert Win Py3.9 back to Py3.8 CI: Revert Win Py3.9 back to Py3.8; pin tensorflow<=2.6 Sep 2, 2022
@dominiquesydow
Copy link
Collaborator Author

After consultation with @t-kimber, we concluded that our usage of tensorflow in T021 and T022 is basic enough to justify sticking to the API as of version 2.6. Hence, I am pinning tensorflow<=2.6, which should allow running the talktorials for all OS and Python 3.8 and 3.9.

@dominiquesydow dominiquesydow linked an issue Sep 2, 2022 that may be closed by this pull request
@dominiquesydow
Copy link
Collaborator Author

Hi @t-kimber, would you mind reviewing this PR?

Copy link
Contributor

@t-kimber t-kimber left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thank you for looking into this, @dominiquesydow :)
I had a quick look at the changes made to the TensorFlow API after 2.6, and it doesn't seem to affect any of the functionalities that we are using in the notebooks, see https://github.com/tensorflow/tensorflow/releases/tag/v2.7.3.

@dominiquesydow dominiquesydow merged commit ea3b2e8 into master Sep 2, 2022
@dominiquesydow dominiquesydow deleted the ds-ci-win-py39 branch September 2, 2022 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Update/fix dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

T021/22: Deprecated tensorflow imports?
2 participants