Uh oh!
There was an error while loading. Please reload this page.
Python 3.9 - #3926
Conversation
dhruvmanila
commented
Nov 23, 2020
|
My strong preference would be that this repo migrates to the current version of Python and leave the following algorithms out of our test cycle because their dependencies do not yet support Python 3.9. I would much rather ensure that our code is tested on and compatible with the current Python than to continue to wait. Six+ weeks is long enough especially given CPython's long alpha, beta, release candidate cycle. Note: The following files do not have
|
dhruvmanila
commented
Nov 23, 2020
I am a bit hesitant to do monkey patching on an entire repository as that might lead to an unforeseen situation in the future. Also, not everyone is going to have the latest Python installed on their machine let alone use it. On a side note, any idea as to why the test is taking 18 minutes to download the dependecies? |
cclauss
commented
Nov 23, 2020
I do not think that changing the file extension on four files constitutes monkey patching on an entire repository. The build times are about the lack of wheels on some dependencies. Does your build cache help us to resolve that issue or will we always have long builds? |
dhruvmanila
commented
Nov 23, 2020
Try pushing an empty commit and we will check but even without cache it shouldn't take this much time. |
dhruvmanila
commented
Nov 24, 2020
Closing and reopening the pull request to trigger workflow runs. |
cclauss
commented
Nov 24, 2020
Pip process is 3 minutes with caching... I can live with that. |
There's some problem with the wheels of |
dhruvmanila
commented
Nov 24, 2020
Let's restrict |
cclauss
commented
Nov 24, 2020
dhruvmanila
commented
Nov 24, 2020
Well then we don't need to restrict |
cclauss
commented
Nov 24, 2020
Running on Python 3.9 is different than having a wheel for Python 3.9. The former means that it does not work. The latter means that it works but the install time is long. The tests for all of our quantum algorithms run and pass on Python 3.9. The long install times are dealt with by your pip cache. |
* Upgrade to Python 3.9
* pip install wheel for faster builds
* updating DIRECTORY.md
* requirements.txt: tensorflow; python_version < '3.9'
* keras requires tensorflow
* Rename lstm_prediction.py to lstm_prediction.py_tf
* Update requirements.txt
* updating DIRECTORY.md
* Update requirements.txt
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>* Upgrade to Python 3.9
* pip install wheel for faster builds
* updating DIRECTORY.md
* requirements.txt: tensorflow; python_version < '3.9'
* keras requires tensorflow
* Rename lstm_prediction.py to lstm_prediction.py_tf
* Update requirements.txt
* updating DIRECTORY.md
* Update requirements.txt
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>* Upgrade to Python 3.9
* pip install wheel for faster builds
* updating DIRECTORY.md
* requirements.txt: tensorflow; python_version < '3.9'
* keras requires tensorflow
* Rename lstm_prediction.py to lstm_prediction.py_tf
* Update requirements.txt
* updating DIRECTORY.md
* Update requirements.txt
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>* Upgrade to Python 3.9
* pip install wheel for faster builds
* updating DIRECTORY.md
* requirements.txt: tensorflow; python_version < '3.9'
* keras requires tensorflow
* Rename lstm_prediction.py to lstm_prediction.py_tf
* Update requirements.txt
* updating DIRECTORY.md
* Update requirements.txt
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Describe your change:
Migrate to Python 3.9 changing the file extensions of all files that require TensorFlow.
Checklist:
Fixes: #{$ISSUE_NO}.