Skip to content

Attempt to test on armv7l and build wheels#12420

Merged
reaperhulk merged 1 commit intopyca:mainfrom
alex:armv7l
Feb 11, 2025
Merged

Attempt to test on armv7l and build wheels#12420
reaperhulk merged 1 commit intopyca:mainfrom
alex:armv7l

Conversation

@alex
Copy link
Member

@alex alex commented Feb 9, 2025

No description provided.

@alex alex force-pushed the armv7l branch 5 times, most recently from 2e07786 to edd10e8 Compare February 9, 2025 19:07
@paultag
Copy link

paultag commented Feb 10, 2025

I tested this on an armhf cpu (no armv8, so any arm8 instructions woul result
in an invalid opcode)

debian@debian:~$ uname -a
Linux debian 6.12.12-armmp #1 SMP Debian 6.12.12-1 (2025-02-02) armv7l GNU/Linux

I downloaded cryptography--manylinux_2_31_armv7l-cp311-cp311-py37.zip,
and extracted
cryptography-45.0.0.dev1-cp37-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl
from it.

89670a5fe79c3d4ab807edab30ba5190f1529e18f65c67aed80d683419678426  cryptography-45.0.0.dev1-cp37-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl
debian@debian:~$ virtualenv pyca
debian@debian:~$ source pyca/bin/activate
(pyca) debian@debian:~$ pip install cryptography-45.0.0.dev1-cp37-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl
[...]
Successfully installed cffi-1.17.1 cryptography-45.0.0.dev1 pycparser-2.22
(pyca) debian@debian:~$ python -c "from cryptography.hazmat.backends.openssl.backend import backend;print('Loaded: ' + backend.openssl_version_text());print('Linked Against: ' + backend._ffi.string(backend._lib.OPENSSL_VERSION_TEXT).decode('ascii'))"
Loaded: OpenSSL 3.4.0 22 Oct 2024
Linked Against: OpenSSL 3.4.0 22 Oct 2024
(pyca) debian@debian:~$ python -c "from cryptography.hazmat.primitives.ciphers import aead; print(aead.AESGCM(b'\x00' * 32).encrypt(b'\x00' * 12, b'some plaintext hello world', None))"
b'\xbd\xc8-Xm\x10\x07\x0fn \xb1\xb6\xc2\x87\xbdp\x17\x0co\xa5\x17\xd1E\x06\xbd\xc6\xc7\xae{aRU&\xe0\x84\\W\x95O\x1e\xa3$'

@alex
Copy link
Member Author

alex commented Feb 10, 2025

Thanks so much @paultag !

@reaperhulk reaperhulk merged commit 87872a1 into pyca:main Feb 11, 2025
94 checks passed
@alex alex deleted the armv7l branch February 11, 2025 02:28
alex added a commit to alex/cryptography that referenced this pull request Feb 11, 2025
alex added a commit to alex/cryptography that referenced this pull request Feb 11, 2025
alex added a commit to alex/cryptography that referenced this pull request Feb 11, 2025
reaperhulk added a commit that referenced this pull request Feb 11, 2025
* [backport] test and build on armv7l (#12420)

* add explicit config to rtd (#12184)

also update some versions we declare, why not

* poetry 2.0 no longer has export, install it for certbot-josepy (#12241)

* poetry 2.0 no longer has export, install it for certbot-josepy

* Update .github/downstream.d/certbot-josepy.sh

Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>

---------

Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>

* chore(deps): bump pyo3 from 0.23.3 to 0.23.4 (#12278)

Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.23.3 to 0.23.4.
- [Release notes](https://github.com/pyo3/pyo3/releases)
- [Changelog](https://github.com/PyO3/pyo3/blob/v0.23.4/CHANGELOG.md)
- [Commits](PyO3/pyo3@v0.23.3...v0.23.4)

---
updated-dependencies:
- dependency-name: pyo3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* backport uv version bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Paul Kehrer <paul.l.kehrer@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants