circt icon indicating copy to clipboard operation
circt copied to clipboard

Looking for circt==1.48.1.dev34

Open rkshthrmsh opened this issue 1 year ago • 1 comments

I'm trying to install a Python module which requires circt==1.48.1.dev34:

ERROR: Could not find a version that satisfies the requirement circt==1.48.1.dev34 (from magma-lang) (from versions: none)
ERROR: No matching distribution found for circt==1.48.1.dev34

I'm on an Apple Silicon system, and understand that the wheels for circt are having an issue: #6153. So, I'm building from source using this as reference: https://github.com/llvm/circt/blob/main/docs/PythonBindings.md#installing-and-building-with-wheels. For firtool-1.72.0 (latest tag), this installs circt-1.72.1.dev29. So, I assumed using firtool-1.48.0 should provide the required circt version. However, I ended up with circt-0.0.1?!

image

The question is, how do I install circt-1.48.1.dev34 for Apple Silicon Mac?

rkshthrmsh avatar Apr 17 '24 11:04 rkshthrmsh

Sorry about this, unfortunately publishing wheels every day filled up our free space on PyPI, so older daily wheels like circt-1.48.1.dev34 had to be deleted. This is extremely unfortunate, and I've opened an issue requesting more space: https://github.com/pypi/support/issues/3423. But, we needed to get rid of old wheels to make room for new releases in the meantime, so circt-1.48.1.dev34 is gone.

You might be able to update to circt-1.49.0 from PyPI, the next tagged release after circt-1.48.1.dev34, which should have very similar if not identical Python bindings.

Or, if you want to build from source, you can check out the commit that is 34 commits after firtool-1.48.0 (that's what the dev34 means). Regarding the 0.0.1 version number, it may be the case that the code to pick the version based on git tags didn't work. You'll need to checkout the commit you want to build, and also fetch all the tags so the wheel is able to compute the version from the latest tag on that commit.

mikeurbach avatar Apr 17 '24 15:04 mikeurbach