Skip to content

Commit

Permalink
795 conda env python3 10 (#807)
Browse files Browse the repository at this point in the history
* 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.

* Python 310 ci (#806)

* 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>

* Removing the outdated python version.

* Test if sphinx is working now while we are doing a small pull request.

* We want to use python 3.8 or higher.

* We want to use python 3.9 or higher.

* Use only python39 and python310

* Just in case for future.

Co-authored-by: Gyeonghun Kim <34947229+GyeonghunKim@users.noreply.github.com>
Co-authored-by: Samarth Hawaldar <47246334+SamarthH@users.noreply.github.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>
  • Loading branch information
6 people authored Aug 2, 2022
1 parent ea644a5 commit e71a799
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# Set matrix for runs-on
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.9", "3.10"]
os: ["macOS-latest", "ubuntu-latest"]
steps:
- name: Chekout code
Expand All @@ -41,7 +41,7 @@ jobs:
# runs-on: windows-latest
# strategy:
# matrix:
# python-version: [3.7, 3.8, 3.9]
# python-version: ["3.9", "3.10"]
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release Artifacts
on:
push:
tags:
- '*'
- "*"
jobs:
wheel-build:
name: Build and Publish Release Artifacts
Expand All @@ -12,7 +12,7 @@ jobs:
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.7'
python-version: "3.9"
- name: Install Deps
run: pip install -U twine wheel
- name: Build Artifacts
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: qiskit-metal
channels:
- conda-forge
dependencies:
- python>=3.7
- python>=3.9
- addict
- descartes
- gdspy>=1.5.2
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pylint
yapf

# Doc Build
sphinx==5.0.2
sphinx
numpydoc
sphinx-automodapi
jupyter_sphinx
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
],
keywords="qiskit sdk quantum eda",
packages=find_packages(),
package_data={"": ["*.ui", "*.qrc", "_imgs/*.png", "_imgs/*.txt"]},
python_requires=">=3.7",
python_requires=">=3.9",
install_requires=requirements,
project_urls={
"Bug Tracker": "https://github.com/Qiskit/qiskit-metal/issues",
Expand Down

0 comments on commit e71a799

Please sign in to comment.