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

Installation warning on Poetry1.8.3 #12

Open
winternewt opened this issue Jun 4, 2024 · 1 comment · May be fixed by #13
Open

Installation warning on Poetry1.8.3 #12

winternewt opened this issue Jun 4, 2024 · 1 comment · May be fixed by #13

Comments

@winternewt
Copy link

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 <[email protected]>"]
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 slobentanzer linked a pull request Jun 4, 2024 that will close this issue
slobentanzer added a commit to winternewt/clinical-knowledge-graph that referenced this issue Jun 4, 2024
fixes Installation warning on Poetry1.8.3 biocypher#12
@slobentanzer
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants