Comments (11)
In a hilarious turn of events, pip 20.3 has just been released: https://pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html
Please re-try to install with it!
Yes, it works with pip 20.3.
from argon2-cffi.
I'm afraid the bigger problem here is that pip doesn't use wheels on Big Sur yet because of the version bump to 11.0: pypa/pip#9138
It looks like an upcoming pip release should fix that and a (ugly) workaround is mentioned in the linked ticket.
As for the build problem that's gonna be a fun one, because cursory googling unveiled that blake2 currenly fails to compile on latest clangs and I don't see any fixes on neither the argon2 nor the blake repos.
from argon2-cffi.
I should note though, that I can compile it with the same clang – and supposedly CLI tools version.
Would you mind trying to work through https://github.com/hynek/argon2-cffi/blob/master/.github/CONTRIBUTING.rst#local-development-environment within a virtualenv and see if that works? There's no way in hell I'm updating to Big Sur yet, so I can't debug it myself for now.
from argon2-cffi.
In a hilarious turn of events, pip 20.3 has just been released: https://pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html
Please re-try to install with it!
from argon2-cffi.
Is there an update on this issue? I tried and failed to pip install this package. Here are my specs:
Numpy version 1.19.5
Python version 3.9.1
pip version 20.3.3
wheel version 0.36.2
macOS Big Sur 11.1 (Apple Silicon/M1)
16gb ram
from argon2-cffi.
Well, it works for others, so you're probably missing some build dependency.
from argon2-cffi.
@hynek The -msse2
flag you're using during compilation is x86-64 specific:
Lines 327 to 334 in ce46d6a
@stewjb has the new apple arm chip. arm CPUs don't support msse, they have their own SIMD extension called Neon
from argon2-cffi.
Actually, apple's own docs make it sound like there's no SIMD extension whatsoever in the new M1 chips: https://developer.apple.com/documentation/apple_silicon/addressing_architectural_differences_in_your_macos_code
from argon2-cffi.
We only pass that flag if optimized is True and optimized is only True on x86:
Line 30 in ce46d6a
So I’m gonna need more output with recent Pythons/pips since I can’t test it myself.
from argon2-cffi.
(Also, most people use Python still under Rosetta which makes -msse2
correct.)
from argon2-cffi.
This is fixed by the outsourcing to https://github.com/hynek/argon2-cffi-bindings
Feel free to try to pip-install it and report back if it's still broken.
from argon2-cffi.
Related Issues (20)
- RFC is no longer a draft (RFC9106); default parameter choice out of date HOT 4
- 21.2.0: pep517 does not build cython modules HOT 6
- 21.1.0: `notebook` test suite is crashing with SIGILL in _cffi_backend.cpython.*so DSO HOT 11
- Inconsistent advice for key derivation HOT 5
- How to avoid timing attacks? HOT 1
- hash function return + / verify issue with sqlite HOT 3
- Question: Can output from argon2.low_level.hash_secret_raw() → bytes directly used to derive aes key? HOT 3
- Associated data cannot be specified in the low_level functions HOT 10
- Support password verification without sending the password from client to server HOT 5
- Make hash verification return True or False HOT 4
- Second salt HOT 1
- hash() got an unexpected keyword argument 'salt' HOT 1
- ImportError: cannot import name 'PasswordHasher' from partially initialized module 'argon2' HOT 1
- Install with poetry on python 3.11.7 --obsolete
- Strange error, can't figure out what is causing it HOT 2
- Make PasswordHasher.check_needs_rehash() accept bytes hash
- Allow use of argon2 "secret" parameter for keyed hashing HOT 1
- 20.1.0: sphinx warnings HOT 4
- 20.1.0: pytest warnings HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argon2-cffi.