Skip to content

TFGNN can not be includes as dependency to a project that uses poetry for dependency management #868

Open
@post2web

Description

@post2web

poetry is a very popular dependency manager for python applications. Currently, we can not include tensorflow-gnn as a dependency because we see error message:

Package 'tensorflow-macos' is listed as a dependency of itself.

Searching GitHub confirms that nobody is able to include tensorflow-gnn as a dependency in a poetry project.

To recreate this error, create an empty directory with a file named pyproject.toml:

[project]
name = "test"
version = "0.1.0"
requires-python = ">=3.9,<4"

[tool.poetry.dependencies]
tensorflow-gnn = "^1.0.3"

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

Install poetry and run:

poetry lock

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions