GithubHelp home page GithubHelp logo

blake2b-py's People

Contributors

cburgdorf avatar davesque avatar fjarri avatar fselmo avatar kclowes avatar matthiaslohr avatar pacrob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blake2b-py's Issues

PyPy Support

blake2b-py currently doesn't support compiling for pypy 3.7 without additional configuration (assuming rust is installed)

$ pip install blake2b-py
...bash
Building wheels for collected packages: blake2b-py
  Building wheel for blake2b-py (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: ~/.pyenv/versions/pypy3.7-7.3.4/envs/ape-pypy/bin/pypy3 ~/.pyenv/versions/pypy3.7-7.3.4/envs/ape-pypy/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpkqxloceo
       cwd: /tmp/pip-install-36bcisym/blake2b-py_5d24a7fa36444f4f9f3f16e5f806ed71
  Complete output (47 lines):
  Running `maturin pep517 build-wheel -i ~/.pyenv/versions/pypy3.7-7.3.4/envs/ape-pypy/bin/pypy3`
     Compiling proc-macro2 v1.0.26
     Compiling unicode-xid v0.2.2
     Compiling syn v1.0.72
     Compiling proc-macro-hack v0.5.19
     Compiling serde_derive v1.0.125
     Compiling memchr v2.4.0
     Compiling ryu v1.0.5
     Compiling serde v1.0.125
     Compiling serde_json v1.0.64
     Compiling itoa v0.4.7
     Compiling autocfg v1.0.1
     Compiling regex-syntax v0.6.25
     Compiling version_check v0.9.3
     Compiling libc v0.2.94
     Compiling inventory v0.1.10
     Compiling unindent v0.1.7
     Compiling lazy_static v1.4.0
     Compiling spin v0.5.2
     Compiling num-traits v0.2.14
     Compiling aho-corasick v0.7.18
     Compiling quote v1.0.9
     Compiling paste-impl v0.1.18
     Compiling paste v0.1.18
     Compiling regex v1.5.3
     Compiling pyo3-derive-backend v0.8.5
     Compiling ghost v0.1.2
     Compiling inventory-impl v0.1.10
     Compiling indoc-impl v0.3.6
     Compiling ctor v0.1.20
     Compiling pyo3cls v0.8.5
     Compiling indoc v0.3.6
     Compiling pyo3 v0.8.5
  error: failed to run custom build command for `pyo3 v0.8.5`
  
  Caused by:
    process didn't exit successfully: `/tmp/pip-install-36bcisym/blake2b-py_5d24a7fa36444f4f9f3f16e5f806ed71/target/release/build/pyo3-412cf57dbee04baa/build-script-build` (exit code: 101)
    --- stderr
    thread 'main' panicked at 'Error: pyo3 requires a nightly or dev version of Rust.', ~/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.8.5/build.rs:542:9
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  ๐Ÿ’ฅ maturin failed
    Caused by: Failed to build a native library through cargo
    Caused by: Cargo build finished with "exit code: 101": `cargo rustc --message-format json --manifest-path Cargo.toml --release --lib --`
  ๐Ÿน Building a mixed python/rust project
  ๐Ÿ”— Found pyo3 bindings
  ๐Ÿ Found PyPy 3.7 at ~/.pyenv/versions/pypy3.7-7.3.4/envs/ape-pypy/bin/pypy3
  Error: command ['maturin', 'pep517', 'build-wheel', '-i', '~/.pyenv/versions/pypy3.7-7.3.4/envs/ape-pypy/bin/pypy3'] returned non-zero exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for blake2b-py
Failed to build blake2b-py
ERROR: Could not build wheels for blake2b-py which use PEP 517 and cannot be installed directly

Easy solution is to just release binary wheels for pypy (3.7 preferred, but 3.6 too maybe)

feat: Python 3.12 support

Hello there,

It would be great to have the support for Python 3.12. It would allow other projects to move forward too (for instance I am looking at adding Python 3.12 support for py-evm, but it is blocked as of now).

requirements

install instructions could be a bit more detailed. what are the requirements on Macos e.g.? for me install fails because I don't have gpg installed.

Provide precompiled packages for Raspberry Pi

Hi,

would it be possible to provide precompiled packages also for Raspberry Pi (armhf/aarch64)? Using the source distribution on Raspberry Pis is quite slow and does not succeed (at least for now, takes up to 15 minutes until an error occurs).

Im new into rust, so not sure how I can fix that. If any other people are in the same situation, maybe it helps them if a precompiled wheel is available.

Best regards
Matthias

Provide source package on PyPI or precompiled packages for M1 MacBooks

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.