biocypher / clinical-knowledge-graph

GNU General Public License v3.0
12 stars 4 forks source link

Installation warning on Poetry1.8.3 #12

Open winternewt opened 3 weeks ago

winternewt commented 3 weeks ago

After executing poetry install with Poetry (version 1.8.3) there is a Warning that will become an error in funtute:

Installing the current project: ckg (0.2.0) Warning: The current project could not be installed: No file/folder found for package ckg If you do not want to install the current project use --no-root. If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file. In a future version of Poetry this warning will become an error!

I suggest change of pyproject.toml (package-mode = false):

[tool.poetry]
name = "ckg"
version = "0.2.0"
description = "CKG migration to BioCypher"
authors = ["Sebastian Lobentanzer <sebastian.lobentanzer@gmail.com>"]
package-mode = false

[tool.poetry.dependencies]
python = "^3.9"
pandas = "^2.0.1"
biocypher = "^0.5.38"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
slobentanzer commented 3 weeks ago

Thanks for the info, didn't have the newest poetry yet. Addressing in your PR