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

Provide source package on PyPI or precompiled packages for M1 MacBooks #7

Open
niklasb opened this issue May 29, 2021 · 7 comments
Open

Comments

@niklasb
Copy link

niklasb commented May 29, 2021

Similar to #1, since 0.1.4 does not provide a source package, it cannot be installed on M1 MacBooks currently:

$ pip install 'blake2b-py==1.4.0'
ERROR: Could not find a version that satisfies the requirement blake2b-py==1.4.0
ERROR: No matching distribution found for blake2b-py==1.4.0

This is an issue, since it is a dependency of py-evm (specifically, >=1.4.0)

@yorhodes
Copy link

yorhodes commented Dec 27, 2021

As a workaround to build from source on arm64 I added

blake2b-py = { git = "https://github.com/ethereum/blake2b-py.git", tag="v0.1.4" }

to my pyproject.toml

@mattslipari
Copy link

@yorhodes Where in pyprojec.toml did you add this line?

@martin-thoma
Copy link

martin-thoma commented Feb 10, 2022

@mattslipari Something like this:

[tool.poetry.dependencies]
blake2b-py = { git = "https://github.com/ethereum/blake2b-py.git", tag="v0.1.4" }

Alternatively, you can use my fork which added a setup.py in order to fix some issues:

[tool.poetry.dependencies]
blake2b-py = { git = "https://github.com/MT-Cash/blake2b-py" }

@martin-thoma
Copy link

@cburgdorf What do you think about uploading a source package?

@0xTimepunk
Copy link

@cburgdorf seconding the above

@foufrix
Copy link

foufrix commented Jul 27, 2022

This issue is solved no?
Just installed Mythril that used blake2b-py; the only thing needed is to install a nightly version of rust for it to install properly

@martin-thoma
Copy link

martin-thoma commented Jul 27, 2022

I only see Wheel distribution files on https://pypi.org/project/blake2b-py/#files

It's not solved. But it would be easy to solve for the maintainer.

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

6 participants