Skip to content

Commit

Permalink
Address comments in code review:
Browse files Browse the repository at this point in the history
Use updated pyproject.toml syntax to specifiy project requirements.

Add comment to link to act for testing github actions
  • Loading branch information
bachase committed Feb 5, 2025
1 parent 51e063f commit 85ddbb9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This workflow will install Python dependencies, run tests using poetry.
# It can be tested locally using https://github.com/nektos/act with the command `act push --container-architecture linux/amd64 -j test`

name: Run Tests

on:
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 19 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
[tool.poetry]
[project]
name = "ucc"
version = "0.4.2"
description = "Unitary Compiler Collection: A quantum circuit interface and compiler for multiple quantum frameworks"
authors = ["Jordan Sullivan <jordan@unitary.foundation>", "Misty Wahl", "Nate Stemen"]
authors = [
{name="Jordan Sullivan", email="jordan@unitary.foundation"},
{name="Misty Wahl"},
{name="Nate Stemen"}
]
license = "GPL-3.0"
readme = "README.md"
repository = "https://github.com/unitaryfund/ucc"
requires-python = ">=3.12,<4"
packages = [{ include = "ucc" }]
dependencies = [
"cirq-core>=1.4.1",
"ply>=3.11",
"pytket>=1.40.0",
"qbraid>=0.9.3",
"qiskit>=1.3.2",
"qiskit-qasm3-import>=0.5.1",
]

[tool.poetry.dependencies]
python = ">=3.12,<4"
qiskit = ">=1.3.0"
qiskit-qasm3-import = "0.5.1"
cirq-core = ">=1.4.0"
pytket = ">=1.3.0"
qbraid = ">=0.7.3"
ply = ">=3.11"
[tool.poetry]
packages = [{include = "ucc"}]

[tool.poetry.group.dev.dependencies]
pytest = ">=6.0"
Expand All @@ -28,6 +35,7 @@ myst-parser = ">=0.15"
[tool.poetry.scripts]
ucc = "ucc.__main__:main"


[build-system]
requires = ["poetry-core"]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 85ddbb9

Please sign in to comment.