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

pip install of tag 0.12 fails #146

Open
shareefj opened this issue Nov 9, 2023 · 5 comments
Open

pip install of tag 0.12 fails #146

shareefj opened this issue Nov 9, 2023 · 5 comments

Comments

@shareefj
Copy link

shareefj commented Nov 9, 2023

I'm guessing you've fixed something to do with the Git submodules that is still present in the latest tag you have available.

Collecting misoc (from -r requirements.txt (line 3))
  Cloning https://github.com/m-labs/misoc (to revision 0.12) to /tmp/pip-install-1whmjgce/misoc_10587c2327dd468cb9ae015eb90c3230
  Running command git clone --filter=blob:none --quiet https://github.com/m-labs/misoc /tmp/pip-install-1whmjgce/misoc_10587c2327dd468cb9ae015eb90c3230
  Running command git checkout -q 714ea6899b038c07b5a20f02a2172496486f9ef0
  Resolved https://github.com/m-labs/misoc to commit 714ea6899b038c07b5a20f02a2172496486f9ef0
  Running command git submodule update --init --recursive -q
  fatal: unable to access 'http://llvm.org/git/compiler-rt.git/': Maximum (20) redirects followed
  fatal: clone of 'http://llvm.org/git/compiler-rt.git' into submodule path '/tmp/pip-install-1whmjgce/misoc_10587c2327dd468cb9ae015eb90c3230/misoc/software/compiler_rt' failed
  Failed to clone 'misoc/software/compiler_rt'. Retry scheduled
  fatal: unable to access 'http://llvm.org/git/libunwind.git/': Maximum (20) redirects followed
  fatal: clone of 'http://llvm.org/git/libunwind.git' into submodule path '/tmp/pip-install-1whmjgce/misoc_10587c2327dd468cb9ae015eb90c3230/misoc/software/unwinder' failed
  Failed to clone 'misoc/software/unwinder'. Retry scheduled
  fatal: unable to access 'http://llvm.org/git/compiler-rt.git/': Maximum (20) redirects followed
  fatal: clone of 'http://llvm.org/git/compiler-rt.git' into submodule path '/tmp/pip-install-1whmjgce/misoc_10587c2327dd468cb9ae015eb90c3230/misoc/software/compiler_rt' failed
  Failed to clone 'misoc/software/compiler_rt' a second time, aborting
  error: subprocess-exited-with-error

Installing from master doesn't have this issue. Do you need to create a new tag that incorporates whatever the fix is?

@shareefj
Copy link
Author

shareefj commented Nov 9, 2023

Actually, I just noted that the 0.12 tag is from 2018 so you've obviously dropped using tags? What's the best way to pick the latest stable release?

@sbourdeauducq
Copy link
Member

Can you just use PYTHONPATH for your use case? MiSoC doesn't actually require anything from the python packaging systems.

@shareefj
Copy link
Author

shareefj commented Nov 9, 2023

Of course we could use PYTHONPATH, but that defeats one of the main benefits of tagged releases. How do you currently version MiSoC?

@sbourdeauducq
Copy link
Member

Most flows are based on Nix/Git these days so there's been little interest in releases.

@shareefj
Copy link
Author

shareefj commented Nov 9, 2023

So if I wanted to checkout a Git tag of the latest release, what do I use?

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

2 participants