Skip to content
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

chore(py): Specify py dependencies for packaged wheels #477

Merged
merged 1 commit into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 57 additions & 57 deletions poetry.lock

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

9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ packages = [{ include = "tket2-py" }]

[tool.poetry.dependencies]
python = "^3.10"
# Note: Be sure to update the dependency versions in [project.dependencies] as well
#
# Poetry does not currently follow PEP 621, it will be supported on poetry 2
# https://github.com/python-poetry/poetry/issues/3332
pytket = "1.29.2"
hugr = "^0.4.0"

Expand All @@ -40,7 +44,7 @@ pre-commit = "^3.7.1"
guppylang = "^0.6.2"

[build-system]
requires = ["maturin~=1.5.1"]
requires = ["maturin~=1.7"]
build-backend = "maturin"

[project]
Expand Down Expand Up @@ -69,6 +73,9 @@ description = "pytket extension for the tket 2 compiler"
requires-python = ">=3.10"
license = { file = "LICENCE" }

# Note: Be sure to update the dependency versions in [tool.poetry.dependencies] as well
dependencies = ['pytket >= 1.29.2, < 2', 'hugr >= 0.4.0, < 0.5']

[project.urls]
homepage = "https://github.com/CQCL/tket2"
repository = "https://github.com/CQCL/tket2"
Expand Down
Loading