Use actions/checkout for Raspberry Pi 5 CI (#10097)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pull/10099/head
Glenn Jocher 7 months ago committed by GitHub
parent b76400a06b
commit edc8263120
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      .github/workflows/ci.yaml
  2. 2
      pyproject.toml
  3. 2
      ultralytics/__init__.py

@ -230,6 +230,7 @@ jobs:
timeout-minutes: 60 timeout-minutes: 60
runs-on: raspberry-pi runs-on: raspberry-pi
steps: steps:
- uses: actions/checkout@v4
- name: Activate Virtual Environment - name: Activate Virtual Environment
run: | run: |
python3.11 -m venv env python3.11 -m venv env
@ -245,7 +246,8 @@ jobs:
pip list pip list
- name: Pytest tests - name: Pytest tests
run: | run: |
pytest --slow tests/ # pytest --slow tests/ # WARNING: Slow tests fail on Explorer Tests https://github.com/ultralytics/ultralytics/actions/runs/8715976528/job/23908727539?pr=10097
pytest tests/
Conda: Conda:
if: github.repository == 'ultralytics/ultralytics' && (github.event_name == 'schedule' || github.event.inputs.conda == 'true') if: github.repository == 'ultralytics/ultralytics' && (github.event_name == 'schedule' || github.event.inputs.conda == 'true')

@ -101,7 +101,7 @@ export = [
"openvino>=2024.0.0", # OpenVINO export "openvino>=2024.0.0", # OpenVINO export
"tensorflow<=2.13.1; python_version <= '3.11'", # TF bug https://github.com/ultralytics/ultralytics/issues/5161 "tensorflow<=2.13.1; python_version <= '3.11'", # TF bug https://github.com/ultralytics/ultralytics/issues/5161
"tensorflowjs>=3.9.0; python_version <= '3.11'", # TF.js export, automatically installs tensorflow "tensorflowjs>=3.9.0; python_version <= '3.11'", # TF.js export, automatically installs tensorflow
"flatbuffers>=23.5.26,<100", # update old 'flatbuffers' included inside tensorflow package # "flatbuffers>=23.5.26,<100", # update old 'flatbuffers' included inside tensorflow package: WARNING Dockerfile error https://github.com/ultralytics/ultralytics/actions/runs/8715942435/job/23908971614
"numpy==1.23.5; platform_machine == 'aarch64'", # fix error: `np.bool` was a deprecated alias for the builtin `bool` when using TensorRT models on NVIDIA Jetson "numpy==1.23.5; platform_machine == 'aarch64'", # fix error: `np.bool` was a deprecated alias for the builtin `bool` when using TensorRT models on NVIDIA Jetson
"h5py!=3.11.0; platform_machine == 'aarch64'", # fix h5py build issues due to missing aarch64 wheels in 3.11 release "h5py!=3.11.0; platform_machine == 'aarch64'", # fix h5py build issues due to missing aarch64 wheels in 3.11 release
] ]

@ -1,6 +1,6 @@
# Ultralytics YOLO 🚀, AGPL-3.0 license # Ultralytics YOLO 🚀, AGPL-3.0 license
__version__ = "8.1.47" __version__ = "8.2.0"
from ultralytics.data.explorer.explorer import Explorer from ultralytics.data.explorer.explorer import Explorer
from ultralytics.models import RTDETR, SAM, YOLO, YOLOWorld from ultralytics.models import RTDETR, SAM, YOLO, YOLOWorld

Loading…
Cancel
Save