Skip to content
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
14 changes: 7 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
os: [ubuntu-latest, windows-latest, macos-15-intel]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.11'
python-version: '3.13'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.22.0
python -m pip install cibuildwheel==3.2.1
- name: Build wheel
run: |
python -m cibuildwheel --output-dir dist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels
path: dist/
Expand All @@ -41,7 +41,7 @@ jobs:
run: |
export V=$(python -c "print(next(iter(eval(L.split('=')[-1]) for L in open('pyproject.toml') if 'version =' in L)))")
echo "tag=${V}" >> "$GITHUB_ENV"
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- name: Create Release
uses: ncipollo/release-action@v1
with:
Expand All @@ -59,8 +59,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Download Wheels
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/v1.13.0
with:
packages-dir: wheels
6 changes: 3 additions & 3 deletions embreex/rtcore_scene.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ cdef void error_printer(const rtc.RTCError code, const char *_str) noexcept:
cdef class EmbreeScene:
def __init__(self, rtc.EmbreeDevice device=None, robust=False):
if device is None:
# We store the embree device inside EmbreeScene to avoid premature deletion
self.device = rtc.EmbreeDevice()
device = self.device
device = rtc.EmbreeDevice()
# We store the embree device inside EmbreeScene to avoid premature deletion
self.device = device
flags = RTC_SCENE_STATIC
if robust:
# bitwise-or the robust flag
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "embreex"
version = "2.17.7.post6"
version = "2.17.7.post7"
requires-python = ">=3.8"

dependencies = ["numpy"]
Expand All @@ -32,7 +32,7 @@ find = {namespaces = false}
embreex = ["*.pxd"]

[tool.cibuildwheel]
skip = "pp* *i686 *-win32 *musllinux*"
skip = "*i686 *-win32 *musllinux*"
manylinux-x86_64-image = "manylinux_2_28"
before-test = "pip install pytest"
test-command = "pytest -v {project}/tests"
Expand Down
Loading