Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bcrypt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
Python
Modules
bcrypt
Commits
eb3b5bca1c85
Commit
eb3b5bca1c85
authored
2 years ago
by
Alex Gaynor
Browse files
Options
Downloads
Patches
Plain Diff
fixes #434 -- build pypy manylinux wheels (#436)
parent
31802e79551e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/wheel-builder.yml
+32
-10
32 additions, 10 deletions
.github/workflows/wheel-builder.yml
README.rst
+5
-0
5 additions, 0 deletions
README.rst
with
37 additions
and
10 deletions
.github/workflows/wheel-builder.yml
+
32
−
10
View file @
eb3b5bca
...
...
@@ -7,6 +7,12 @@
version
:
description
:
The version to build
required
:
false
pull_request
:
paths
:
-
.github/workflows/wheel-builder.yml
-
setup.py
-
setup.cfg
-
pyproject.toml
jobs
:
...
...
@@ -16,13 +22,24 @@
matrix
:
PYTHON
:
-
{
VERSION
:
"
cp36-cp36m"
,
ABI_VERSION
:
'
cp36'
}
CONTAINER
:
-
{
IMAGE
:
"
cryptography-manylinux2014:x86_64"
,
NAME
:
"
manylinux2014"
}
-
{
IMAGE
:
"
cryptography-manylinux_2_24:x86_64"
,
NAME
:
"
manylinux_2_24"
}
-
{
IMAGE
:
"
cryptography-manylinux_2_28:x86_64"
,
NAME
:
"
manylinux_2_28"
}
-
{
IMAGE
:
"
cryptography-musllinux_1_1:x86_64"
,
NAME
:
"
musllinux_1_1"
}
name
:
"
${{
matrix.PYTHON.ABI_VERSION
}}
${{
matrix.CONTAINER.NAME
}}"
container
:
ghcr.io/pyca/${{ matrix.CONTAINER.IMAGE }}
-
{
VERSION
:
"
pp37-pypy37_pp73"
}
-
{
VERSION
:
"
pp38-pypy38_pp73"
}
-
{
VERSION
:
"
pp39-pypy39_pp73"
}
MANYLINUX
:
-
{
CONTAINER
:
"
cryptography-manylinux2014:x86_64"
,
NAME
:
"
manylinux2014"
}
-
{
CONTAINER
:
"
cryptography-manylinux_2_24:x86_64"
,
NAME
:
"
manylinux_2_24"
}
-
{
CONTAINER
:
"
cryptography-manylinux_2_28:x86_64"
,
NAME
:
"
manylinux_2_28"
}
-
{
CONTAINER
:
"
cryptography-musllinux_1_1:x86_64"
,
NAME
:
"
musllinux_1_1"
}
exclude
:
# There are no readily available musllinux PyPy distributions
-
PYTHON
:
{
VERSION
:
"
pp37-pypy37_pp73"
}
MANYLINUX
:
{
NAME
:
"
musllinux_1_1"
,
CONTAINER
:
"
cryptography-musllinux_1_1:x86_64"
}
-
PYTHON
:
{
VERSION
:
"
pp38-pypy38_pp73"
}
MANYLINUX
:
{
NAME
:
"
musllinux_1_1"
,
CONTAINER
:
"
cryptography-musllinux_1_1:x86_64"
}
-
PYTHON
:
{
VERSION
:
"
pp39-pypy39_pp73"
}
MANYLINUX
:
{
NAME
:
"
musllinux_1_1"
,
CONTAINER
:
"
cryptography-musllinux_1_1:x86_64"
}
name
:
"
${{
matrix.PYTHON.VERSION
}}
for
${{
matrix.MANYLINUX.NAME
}}"
container
:
ghcr.io/pyca/${{ matrix.MANYLINUX.CONTAINER }}
steps
:
-
uses
:
actions/checkout@v3.1.0
with
:
...
...
@@ -34,7 +51,12 @@
-
name
:
Make sdist
run
:
.venv/bin/python setup.py sdist
-
run
:
tar zxvf dist/bcrypt*.tar.gz && mkdir tmpwheelhouse
-
run
:
cd bcrypt* && ../.venv/bin/python setup.py bdist_wheel --py-limited-api=${{ matrix.PYTHON.ABI_VERSION }} && mv dist/bcrypt*.whl ../tmpwheelhouse
-
name
:
Build the wheel
run
:
|
if [ -n "${{ matrix.PYTHON.ABI_VERSION }}" ]; then
PY_LIMITED_API="--py-limited-api=${{ matrix.PYTHON.ABI_VERSION }}"
fi
cd bcrypt* && ../.venv/bin/python setup.py bdist_wheel $PY_LIMITED_API && mv dist/bcrypt*.whl ../tmpwheelhouse
env
:
RUSTUP_HOME
:
/root/.rustup
-
run
:
auditwheel repair tmpwheelhouse/bcrypt*.whl -w wheelhouse/
...
...
@@ -46,7 +68,7 @@
-
run
:
mv wheelhouse/bcrypt*.whl bcrypt-wheelhouse/
-
uses
:
actions/upload-artifact@v1
with
:
name
:
"
bcrypt-${{
github.event.inputs.version
}}-${{
matrix.
CONTAINER
.NAME
}}
-${{
matrix.PYTHON.ABI_VERSION
}}"
name
:
"
bcrypt-${{
github.event.inputs.version
}}-${{
matrix.
MANYLINUX
.NAME
}}
-${{
matrix.PYTHON.ABI_VERSION
}}"
path
:
bcrypt-wheelhouse/
macos
:
...
...
This diff is collapsed.
Click to expand it.
README.rst
+
5
−
0
View file @
eb3b5bca
...
...
@@ -51,6 +51,11 @@
Changelog
=========
4.1.0
-----
* We now build PyPy ``manylinux`` wheels.
4.0.0
-----
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment