aviramha / rfernet

Python extension for Fernet encryption/decryption, faster than other alternatives.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rfernet fails to install on aarch64 (Macbook M1)

Hooksie opened this issue · comments

Currently, off latest version of rfernet on PyPi, I receive this error when attempting to install on M1 macbook:

        × Building wheel for maturin (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [257 lines of output]
            running bdist_wheel
            running build
            installing to build/bdist.macosx-13.4-arm64/wheel
            running install
               Compiling libc v0.2.67
               Compiling proc-macro2 v1.0.9
               Compiling unicode-xid v0.2.0
               Compiling syn v1.0.16
               Compiling cfg-if v0.1.10
               Compiling cc v1.0.50
               Compiling log v0.4.8
               Compiling version_check v0.9.1
               Compiling memchr v2.3.3
               Compiling lazy_static v1.4.0
               Compiling itoa v0.4.5
               Compiling untrusted v0.7.0
               Compiling spin v0.5.2
               Compiling slab v0.4.2
               Compiling serde v1.0.104
               Compiling bytes v0.5.4
               Compiling fnv v1.0.6
               Compiling bitflags v1.2.1
               Compiling core-foundation-sys v0.7.0
               Compiling futures-core v0.3.4
               Compiling autocfg v1.0.0
               Compiling ring v0.16.11
               Compiling proc-macro-nested v0.1.3
               Compiling getrandom v0.1.14
               Compiling pin-project-lite v0.1.4
               Compiling indexmap v1.3.2
               Compiling unicase v2.6.0
               Compiling typenum v1.11.2
               Compiling http v0.2.0
               Compiling proc-macro-error-attr v0.4.11
               Compiling quote v1.0.3
               Compiling net2 v0.2.33
               Compiling iovec v0.1.4
               Compiling num_cpus v1.12.0
            error: failed to run custom build command for `ring v0.16.11

I've pulled the repo locally, and updated the lock file. After doing so, ring is updated and the package installs successfully

Will prepare a PR to update the lock file, and maturin config as well. @aviramha Is this library still being maintained so that a release can be made?

Hey @Hooksie - I'm not actively developing this repository but would be happy to review/accept/release incoming PRs :)