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

Tip-of-tree amaranth not compatible with tip of amaranth-boards #190

Closed
thirtythreeforty opened this issue Jan 4, 2022 · 2 comments
Closed
Labels

Comments

@thirtythreeforty
Copy link

When I try to include both Amaranth and amaranth-boards in a Poetry project:

[tool.poetry]
name = "test-poetry"
description = ""
version = "0.1.0"
authors = ["George Hilliard <thirtythreeforty@gmail.com>"]

[tool.poetry.dependencies]
python = "^3.10"
amaranth = {git = "https://github.com/amaranth-lang/amaranth", branch = "main"}
amaranth-boards = {git = "https://github.com/amaranth-lang/amaranth-boards", branch = "main"}

[tool.poetry.dev-dependencies]

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

I get an error:

  SolverProblemError

  Because amaranth-boards (rev main) depends on amaranth (>=0.2,<0.4)
   and test-poetry depends on amaranth (branch main), amaranth-boards is forbidden.
  So, because test-poetry depends on amaranth-boards (branch main), version solving failed.

I think this has to do something with this line in setup.py although I don't know what the intent is.

@thirtythreeforty
Copy link
Author

Found because https://github.com/greatscottgadgets/luna is currently doing this.

@whitequark whitequark transferred this issue from amaranth-lang/amaranth Jan 5, 2022
@whitequark whitequark added the bug label Jan 5, 2022
@whitequark
Copy link
Member

Should be fixed now!

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

No branches or pull requests

2 participants