-
Notifications
You must be signed in to change notification settings - Fork 0
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
Switch to poetry for dependency management #78
Comments
Hey @jordandsullivan I think the general approach here that I would take would be:
[tool.poetry]
name = "ucc"
version = "0.1.0"
description = "Unitary Compiler Collection: A quantum circuit interface and compiler for multiple quantum frameworks"
authors = ["Jordan Sullivan <jordan@unitary.foundation>", "Misty Wahl", "Nate Stemen"]
license = "GPL-3.0"
readme = "README.md"
repository = "https://github.com/unitaryfund/ucc"
packages = [{ include = "ucc" }]
[tool.poetry.dependencies]
python = ">=3.12"
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.group.dev.dependencies]
pytest = ">=6.0"
pytest-cov = ">=2.10"
[tool.poetry.group.doc.dependencies]
sphinx = "8.1.3"
myst-parser = ">=0.15"
[tool.poetry.scripts]
ucc = "ucc.__main__:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
There might be some minor things I am missing (like updating the Hope that helps, and feel free to reach out if we can help more! |
I have no preference either way for |
Also, one day in and first PR by @bachase! Great :) |
I have no strong preference either, but I would like for us to be consistent across projects in the organization. Yay to @bachase's |
+1 for consistency and for the 2 PRs on the first day! ✨ |
Thanks all -- lets focus on the poetry one for review and release. I don't think its that urgent to change, and it won't be too painful if we decide to change later on. |
Closing this based on #208, but will open a followup to introduce the linter/formatter changes |
We can switch to using
poetry
for dependency management like inmitiq
and inmetriq-gym
. We can add the linter/formatter as well like in unitaryfund/metriq-gym#22The text was updated successfully, but these errors were encountered: