Comments (13)
so good news, it looks like abi3 kinda just works on windows now? I'm not quite sure what changed but I just tried it for one of my packages and everything seems great?
I'll apply the same patch here and see what I can do to get deployments more automated
from argon2-cffi.
Thanks to @asottile, there are 3.9 Windows wheels on PyPI now.
from argon2-cffi.
Unfortunately our wheel builder is broken again and I'll have to invest hours to get it back into a working state.
from argon2-cffi.
Hail Mary: @asottile any chance you have something we could copy paste? My wheel build infra is completely busted and you seemed to be more in it?
from argon2-cffi.
sure I can take a look!
from argon2-cffi.
given the stuff I set up before, we should only need to build cp39 wheels for windows the cp35-abi3 wheels will work for linux and the cp37-abi3 wheels will work for macos
from argon2-cffi.
ah ok I went to look into this more, looks like the way mine works uses a feature that's not implemented for github actions (only for azure pipelines π) -- https://github.com/asottile/azure-pipeline-templates/blob/c05f40d916aa33ae8dab84461c1872dc4e2838ab/job--python-tox.yml#L88-L103
I really only use it for windows / macos
@hynek what were you using before and I can see what I can do for it
from argon2-cffi.
You contributed to it which is why I pinged you! π (I usually wouldnβt pull people into my problems)
I used to use AP too, the YAML is still there, but the base container got nuked and I suspect thereβs a better way to do it nowadays?
from argon2-cffi.
so the cool thing is we're already set on macos / linux (this was the work that I did before):
$ virtualenv venv -ppython3.9
. ve created virtual environment CPython3.9.0.final.0-64 in 739ms
creator CPython3Posix(dest=/tmp/venv, clear=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/asottile/.local/share/virtualenv)
added seed packages: pip==20.2.3, setuptools==50.3.0, wheel==0.35.1
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
$ . venv/bin/activate
(venv) $ pip install argon2-cffi
Collecting argon2-cffi
Using cached argon2_cffi-20.1.0-cp35-abi3-manylinux1_x86_64.whl (97 kB)
Collecting six
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting cffi>=1.0.0
Downloading cffi-1.14.3-cp39-cp39-manylinux1_x86_64.whl (405 kB)
|ββββββββββββββββββββββββββββββββ| 405 kB 398 kB/s
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Installing collected packages: six, pycparser, cffi, argon2-cffi
Successfully installed argon2-cffi-20.1.0 cffi-1.14.3 pycparser-2.20 six-1.15.0
the only platform that doesn't yet support abi3 is windows (I'm praying it comes soon) -- so all we need to do is get the windows build working and producing an artifact somehow
from argon2-cffi.
Well itβs only so-so cool. π
Yes, the windows wheel is urgent (argon2-cffi is used by Jupyter and Iβve already received an e-mail about it #todayInOpenSource) but it would be amazeballs if we (sorry again π ) could end up with a working wheel builder for argon2-cffi so I donβt have to dread the next release. π
But yeah, just a windows wheel would take off the heat a lot.
from argon2-cffi.
I'll see what I can do when I'm back at home tomorrow π (on vacation at the moment and I'm being told to go to bed now I shouldn't be on the computer!)
from argon2-cffi.
Omg enjoy your vacation!
from argon2-cffi.
https://t.me/Python4Channel/154
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
- Fail to install by pip on macOS 11.0.1 Big Sur HOT 11
- 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.