Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pybind11-stubgen to 2.5.x #228

Merged
merged 4 commits into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 7 additions & 17 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
strategy:
max-parallel: ${{ fromJSON(needs.setup_concurrency.outputs.max-parallel).v }}
matrix:
os: [windows-latest, macos-latest, ubuntu-20.04]
os: ["ubuntu-22.04", "macos-12", "windows-2022"]
python_version:
- '3.8'
- '3.9'
Expand All @@ -98,9 +98,9 @@ jobs:
- '3.12'
architecture: [x86, x64]
exclude:
- os: macos-latest
- os: macos-12
architecture: x86
- os: ubuntu-20.04
- os: ubuntu-22.04
architecture: x86

steps:
Expand All @@ -119,21 +119,11 @@ jobs:
name: dist
path: dist

- name: Set ccache variant
shell: bash
id: ccache
run: |
if [[ "${{ matrix.os }}" == windows-* ]]; then
echo "VARIANT=sccache" >> $GITHUB_OUTPUT
else
echo "VARIANT=ccache" >> $GITHUB_OUTPUT
fi

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: robotpy/ccache-action@fork
with:
key: ${{ matrix.os }}-${{ matrix.architecture }}-${{ matrix.python_version }}
variant: ${{ steps.ccache.outputs.variant }}
variant: ccache

- name: Install
shell: bash
Expand All @@ -150,7 +140,7 @@ jobs:
env:
RPYBUILD_PARALLEL: 1
RPYBUILD_STRIP_LIBPYTHON: 1
RPYBUILD_CC_LAUNCHER: ${{ steps.ccache.outputs.variant }}
RPYBUILD_CC_LAUNCHER: ccache
working-directory: tests
run: |
python run_tests.py
Expand All @@ -176,7 +166,7 @@ jobs:

- run: apt-get update
- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: robotpy/ccache-action@fork
with:
key: ${{ matrix.container }}

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ write_to = "robotpy_build/version.py"
target-version = ['py38']
extend-exclude = '''
^/robotpy_build/pybind11
^/robotpy_build/version.py
'''
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ install_requires =
typing-extensions
pyyaml >= 5.1
patch == 1.*
pybind11-stubgen ~= 2.3.3
pybind11-stubgen ~= 2.5.1
delocate; platform_system == 'Darwin'
distro; platform_system == 'Linux'
python_requires = >=3.8
Expand Down
Loading