Skip to content

What's a valid pyproject.toml file to build from inboard images? #53

Answered by br3ndonland
diegoquintanav asked this question in Q&A
Discussion options

You must be logged in to vote

That's right, if you don't have inboard in your pyproject.toml, you may see Poetry remove it.

The solution is to add inboard to your pyproject.toml. Your example would look like this:

[tool.poetry]
name = "app"
version = "0.1.0"
description = ""
authors = ["Diego Quintana <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.9"
inboard = {version = "^0.26", extras = ["fastapi"]}

[tool.poetry.dev-dependencies]
black = "^22.3.0"
flake8 = "^4.0.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

The SolverProblemError you're seeing is a Poetry error. inboard 0.26 is definitely up on PyPI, so it could be a caching error. You can clear …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by br3ndonland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants