Skip to content

Commit

Permalink
Merge branch 'develop' into feature/e2e-test
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Aug 14, 2024
2 parents fa91f89 + e6a0599 commit afc1651
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 52 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/examples-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: examples-e2e-test
on:
workflow_dispatch:
push:
# paths:
# - .github/workflows/examples-e2e-test.yml
# - examples
paths:
- .github/workflows/examples-e2e-test.yml
- examples

jobs:
e2e_ubuntu_test:
Expand Down
35 changes: 0 additions & 35 deletions fix_nanobind_nb_func.patch

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ build-backend = "setuptools.build_meta"

[tool.rye]
dev-dependencies = [
"nanobind~=2.0.0",
"nanobind~=2.1.0",
"setuptools>=69.2",
"build~=1.2.1",
"wheel~=0.43.0",
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exceptiongroup==1.2.2
# via pytest
iniconfig==2.0.0
# via pytest
nanobind==2.0.0
nanobind==2.1.0
numpy==2.0.1
# via opencv-python
opencv-python==4.10.0.84
Expand Down
12 changes: 0 additions & 12 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from buildbase import (
Platform,
add_path,
apply_patch,
build_sora,
build_webrtc,
cd,
Expand Down Expand Up @@ -157,17 +156,6 @@ def install_deps(
}
install_openh264(**install_openh264_args)

# nanobind にパッチを適用する
nanobind_include_dir = cmdcap([sys.executable, "-m", "nanobind", "--include_dir"])
if not os.path.exists(os.path.join(nanobind_include_dir, "nanobind", "nb_func.h.old")):
shutil.copyfile(
os.path.join(nanobind_include_dir, "nanobind", "nb_func.h"),
os.path.join(nanobind_include_dir, "nanobind", "nb_func.h.old"),
)
patch = os.path.join(BASE_DIR, "fix_nanobind_nb_func.patch")
with cd(nanobind_include_dir):
apply_patch(patch, nanobind_include_dir, 1)


AVAILABLE_TARGETS = [
"windows_x86_64",
Expand Down

0 comments on commit afc1651

Please sign in to comment.