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

Setup doesn't work #19

Open
MrJake222 opened this issue May 31, 2024 · 0 comments
Open

Setup doesn't work #19

MrJake222 opened this issue May 31, 2024 · 0 comments

Comments

@MrJake222
Copy link

Python used: 3.12 (no others tested)

$ python -m venv venv

$ source venv/bin/activate

$ pip install -e .
Obtaining file:///home/norbert/Projects/pico-ice/risc-v/icicle-impl
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Installing backend dependencies ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting amaranth@ git+https://github.com/amaranth-lang/amaranth@main (from icicle==0.1.dev188+ga3839c8)
  Cloning https://github.com/amaranth-lang/amaranth (to revision main) to /tmp/pip-install-t8ruomje/amaranth_c42fc9b837f04d27b0940227a02b4af6
  Running command git clone --filter=blob:none --quiet https://github.com/amaranth-lang/amaranth /tmp/pip-install-t8ruomje/amaranth_c42fc9b837f04d27b0940227a02b4af6
  Resolved https://github.com/amaranth-lang/amaranth to commit d1895108c3e61ae7f2b309d970c8b1a2521dcdf6
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting amaranth-boards@ git+https://github.com/amaranth-lang/amaranth-boards@main (from icicle==0.1.dev188+ga3839c8)
  Cloning https://github.com/amaranth-lang/amaranth-boards (to revision main) to /tmp/pip-install-t8ruomje/amaranth-boards_28fe871d7ac5482189e306e4ff630d1b
  Running command git clone --filter=blob:none --quiet https://github.com/amaranth-lang/amaranth-boards /tmp/pip-install-t8ruomje/amaranth-boards_28fe871d7ac5482189e306e4ff630d1b
  Resolved https://github.com/amaranth-lang/amaranth-boards to commit aba2300dc83216523e1c98fdb22471cb4bac5027
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting amaranth-soc@ git+https://github.com/amaranth-lang/amaranth-soc@main (from icicle==0.1.dev188+ga3839c8)
  Cloning https://github.com/amaranth-lang/amaranth-soc (to revision main) to /tmp/pip-install-t8ruomje/amaranth-soc_01a37827018046a4bddef3421b67e565
  Running command git clone --filter=blob:none --quiet https://github.com/amaranth-lang/amaranth-soc /tmp/pip-install-t8ruomje/amaranth-soc_01a37827018046a4bddef3421b67e565
  Resolved https://github.com/amaranth-lang/amaranth-soc to commit 45ff663b83694b09b2b8f3fc0f10c555a12ba987
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting amaranth-stdio@ git+https://github.com/amaranth-lang/amaranth-stdio@main (from icicle==0.1.dev188+ga3839c8)
  Cloning https://github.com/amaranth-lang/amaranth-stdio (to revision main) to /tmp/pip-install-t8ruomje/amaranth-stdio_3f2320c56a7b4615b482ef0107a8d401
  Running command git clone --filter=blob:none --quiet https://github.com/amaranth-lang/amaranth-stdio /tmp/pip-install-t8ruomje/amaranth-stdio_3f2320c56a7b4615b482ef0107a8d401
  Resolved https://github.com/amaranth-lang/amaranth-stdio to commit ae774a5709321d5bffddbcebed09b0e350cb6282
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting jschon~=0.11.1 (from amaranth@ git+https://github.com/amaranth-lang/amaranth@main->icicle==0.1.dev188+ga3839c8)
  Obtaining dependency information for jschon~=0.11.1 from https://files.pythonhosted.org/packages/ce/b1/31f454a2ac0d23b0a47283d115f0af4abe2a1ea391f5ccb223e02d685b82/jschon-0.11.1-py3-none-any.whl.metadata
  Downloading jschon-0.11.1-py3-none-any.whl.metadata (5.4 kB)
Collecting pyvcd<0.5,>=0.2.2 (from amaranth@ git+https://github.com/amaranth-lang/amaranth@main->icicle==0.1.dev188+ga3839c8)
  Obtaining dependency information for pyvcd<0.5,>=0.2.2 from https://files.pythonhosted.org/packages/98/8d/a0d8fb2b9611f3ae22ddc98890b346833fa2c645ad21fd282e61ccdad477/pyvcd-0.4.0-py2.py3-none-any.whl.metadata
  Downloading pyvcd-0.4.0-py2.py3-none-any.whl.metadata (4.1 kB)
Collecting Jinja2~=3.0 (from amaranth@ git+https://github.com/amaranth-lang/amaranth@main->icicle==0.1.dev188+ga3839c8)
  Obtaining dependency information for Jinja2~=3.0 from https://files.pythonhosted.org/packages/31/80/3a54838c3fb461f6fec263ebf3a3a41771bd05190238de3486aae8540c36/jinja2-3.1.4-py3-none-any.whl.metadata
  Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting amaranth@ git+https://github.com/amaranth-lang/amaranth (from amaranth-soc@ git+https://github.com/amaranth-lang/amaranth-soc@main->icicle==0.1.dev188+ga3839c8)
  Cloning https://github.com/amaranth-lang/amaranth to /tmp/pip-install-t8ruomje/amaranth_5a3a48076b6649949090f52b25da4438
  Running command git clone --filter=blob:none --quiet https://github.com/amaranth-lang/amaranth /tmp/pip-install-t8ruomje/amaranth_5a3a48076b6649949090f52b25da4438
  Resolved https://github.com/amaranth-lang/amaranth to commit d1895108c3e61ae7f2b309d970c8b1a2521dcdf6
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of amaranth-soc to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install icicle and icicle==0.1.dev188+ga3839c8 because these package versions have conflicting dependencies.

The conflict is caused by:
    icicle 0.1.dev188+ga3839c8 depends on amaranth 0.5.0.dev310 (from git+https://github.com/amaranth-lang/amaranth@main)
    amaranth-boards 0.1.dev246+gaba2300 depends on amaranth<0.6 and >=0.4
    amaranth-soc 0.1a1.dev14+g45ff663 depends on amaranth 0.5.0.dev310 (from git+https://github.com/amaranth-lang/amaranth)

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
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

No branches or pull requests

1 participant