Skip to content

Commit

Permalink
Merge pull request #147 from C2QA/issue142/pypi
Browse files Browse the repository at this point in the history
Verification of PyPi details
  • Loading branch information
dtropf-pnnl authored Jan 28, 2025
2 parents 1ecf068 + 9d54375 commit f48a03f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 19 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
deploy:

runs-on: ubuntu-latest

permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -32,6 +33,3 @@ jobs:
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = [
"qiskit==1.3.0",
"qiskit-aer==0.15.1",
"qiskit-ibm-runtime==0.33.2",
"qiskit==1.3.2",
"qiskit-aer==0.16.0",
"qiskit-ibm-runtime==0.34.0",
"qutip==5.0.4",
"matplotlib==3.9.3",
"matplotlib==3.9.4",
"pylatexenc==2.10",
"numpy==2.0.2",
]
Expand All @@ -29,7 +29,7 @@ Homepage = "https://github.com/C2QA/bosonic-qiskit"
Issues = "https://github.com/C2QA/bosonic-qiskit/issues"

[build-system]
requires = ["setuptools >= 61.0", "setuptools-git-versioning"]
requires = ["setuptools == 75.8.0", "setuptools-git-versioning"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
qiskit==1.3.0
qiskit-aer==0.15.1
qiskit-ibm-runtime==0.33.2
qiskit==1.3.2
qiskit-aer==0.16.0
qiskit-ibm-runtime==0.34.0
qutip==5.0.4
numpy==2.0.2

# QuTiP install failing without setuptools
setuptools
setuptools==75.8.0

# For drawing circuits, state vectors, Wigner function plots
matplotlib==3.9.3
matplotlib==3.9.4
pylatexenc==2.10
10 changes: 5 additions & 5 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-r requirements.txt
jupyter==1.0.0
pytest==8.0.2
pylint==3.1.0
black==24.2.0
flake8==7.0.0
jupyter==1.1.1
pytest==8.3.4
pylint==3.3.3
black==24.10.0
flake8==7.1.1

0 comments on commit f48a03f

Please sign in to comment.