-
Notifications
You must be signed in to change notification settings - Fork 215
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
795 conda env python3 10 #807
Conversation
…se collections.abc.
* 795 conda env python3 10 using updated tag from pyepr (#796) * Callable from collections is depreicated for python 3.10 so need to use collections.abc. * Add new tag for pyepr. * Update tags for new Metal pypi release. * Wait until Samarth s pull request is merged. * To make run_all_tests to pass. @GyeongHun had the fix. * Use later tag. * Implement Ability to Extract Q-factors from Eigenmode Simulations (#794) * Implement Ability to Extract Q-factors from Eigenmode Simulations * Updated tests * Added Tutorial * Revert "Updated tests" This reverts commit 146b0e9. Tests would be restored to the one in main. * When one plot_convergences(), then the frequiences are gathered so they gotten by get_frequencies(). * Removed solution_type variable. Replaced by pyEPR implementation * Updated tests Co-authored-by: Priti Ashvin Shah <74020801+priti-ashvin-shah-ibm@users.noreply.github.com> Co-authored-by: Priti A Shah <Priti.Ashvin.Shah@ibm.com> * Create a new tag for pip release. (#802) Co-authored-by: Priti Shah <Priti.Ashvin.Shah@ibm.com> * Fixed the FakeJunctionGDS error this time for Issue 733 (#801) Co-authored-by: Priti Ashvin Shah <74020801+priti-ashvin-shah-ibm@users.noreply.github.com> * Optimize-performance (#803) * allow for using cached s_remove and s_keep; vectorize extract_energies() * initialize chi matrix with np.empty instead of list * cache c_k, c_inv_k, l_inv_k * no need to validate input for add_interaction since it's called internally * Add python 3.10 * Change python version from number to text Co-authored-by: Priti Ashvin Shah <74020801+priti-ashvin-shah-ibm@users.noreply.github.com> Co-authored-by: Samarth Hawaldar <47246334+SamarthH@users.noreply.github.com> Co-authored-by: Priti A Shah <Priti.Ashvin.Shah@ibm.com> Co-authored-by: Connor Bowman <58343812+bowmanconnor@users.noreply.github.com> Co-authored-by: Soham Bopardikar <bopardikarsoham@gmail.com> Co-authored-by: Yehan Liu <74025052+quantum-quant@users.noreply.github.com>
This work was done by @GyeonghunKim as part of QAMP. |
Regarding Qiskit Metal, when we are using the latest commit, the conda environment has python 3.10. When we add the dependencies for pyaedt i.e. PythonNet and PyVista, then generate a new conda env, the environment is python 3.9. This makes us believe PythonNet and PyVista have some code which is not python 3.10 compatible. This is just sharing of information; however, it would be ideal to not limit python version. |
We noticed pyaedt is not part of conda-forge. If we want to use that package, we would need to manually pip install. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, go team!
@GyeonghunKim Thank you for all of your help to get the repo to work with python 3.10. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, good job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, glad we are slimming this down!
What are the issues this pull addresses (issue numbers / links)?
#795 is mostly finished, however, we still need to add python 3.10 CI.
Did you add tests to cover your changes (yes/no)?
no
Did you update the documentation accordingly (yes/no)?
Yes
Did you read the CONTRIBUTING document (yes/no)?
yes
Summary
pyaedt has dependencies which limit python to 3.9. So we are holding off on merging this pull request for now.
Details and comments