I have the following pyproject.toml
file:
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "my_package"
version = "0.0.1"
description = "description"
authors = ["BioGeek"]
[tool.poetry.dependencies]
python = "^3.9"
t5x = { git = "https://github.com/google-research/t5x" }
But when I try to resolve the dependencies I get the following error:
$ poetry lock
Creating virtualenv my-package-FE40Innx-py3.10 in /home/biogeek/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies... (45.6s)
Because t5x (0.0.0) @ git+https://github.com/google-research/t5x@HEAD depends on seqio (0.0.15) @ git+https://github.com/google/seqio
and seqio (0.0.15) @ git+https://github.com/google/seqio@HEAD depends on tfds-nightly (*), t5x (0.0.0) @ git+https://github.com/google-research/t5x@HEAD requires tfds-nightly (*).
Because no versions of tfds-nightly match 4.8.3.dev202303210044
and no versions of tfds-nightly match !=4.8.3.dev202303210044, tfds-nightly is forbidden.
Thus, t5x is forbidden.
So, because my-package depends on t5x (0.0.0) @ git+https://github.com/google-research/t5x, version solving failed.
So how do I install t5x
with poetry
?