Skip to content

Commit

Permalink
Merge branch 'main' into single-cython
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk authored Aug 10, 2023
2 parents 8e00502 + 9bee18a commit ec3c1f5
Show file tree
Hide file tree
Showing 12 changed files with 519 additions and 19 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,11 @@ jobs:
grep -v plugins .coveragerc > .coveragerc-save
mv .coveragerc-save .coveragerc
- name: enable Cython coverage
if: "! (startsWith(matrix.python, 'pypy') || startsWith(matrix.python, '3.12'))"
run: |
echo "PYZMQ_CYTHON_COVERAGE=1" >> "$GITHUB_ENV"
# - name: enable Cython coverage
# if: "! (startsWith(matrix.python, 'pypy') || startsWith(matrix.python, '3.12'))"
# run: |
# echo "PYZMQ_CYTHON_COVERAGE=1" >> "$GITHUB_ENV"

# preserve pip cache to speed up installation
- name: Cache pip
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ concurrency:

env:
TWINE_NONINTERACTIVE: "1"
CIBW_PRERELEASE_PYTHONS: "1"
# CIBW_PRERELEASE_PYTHONS: "1"

jobs:
check-bundle:
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
exclude: zmq/tests/test_imports.py

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
exclude: ^buildutils/templates/
Expand All @@ -50,7 +50,7 @@ repos:
additional_dependencies:
- types-paramiko
- repo: https://github.com/asottile/pyupgrade
rev: v3.8.0
rev: v3.10.1
hooks:
- id: pyupgrade
args:
Expand All @@ -67,7 +67,7 @@ repos:
name: isort (pyi)
types: [pyi]
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black
# don't run black twice on constants.py
Expand Down
2 changes: 2 additions & 0 deletions buildutils/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ def stage_platform_hpp(zmqroot):
platform_dir = pjoin(HERE, 'include_freebsd')
elif sys.platform.startswith('linux-armv'):
platform_dir = pjoin(HERE, 'include_linux-armv')
elif sys.platform.startswith('sunos'):
platform_dir = pjoin(HERE, 'include_sunos')
else:
# check for musl (alpine)
from packaging import tags
Expand Down
Loading

0 comments on commit ec3c1f5

Please sign in to comment.