Free Motion Capture for Everyone πβ¨
TypeScript
Support 3.12 (#609)
philipqueenb148baffa2a2
diff --git a/.github/workflows/version-testing.yml b/.github/workflows/version-testing-1.ymlsimilarity index 84%rename from .github/workflows/version-testing.ymlrename to .github/workflows/version-testing-1.ymlindex 2183962f..c5899696 100755--- a/.github/workflows/version-testing.yml+++ b/.github/workflows/version-testing-1.yml@@ -1,4 +1,4 @@-name: Version Testing with Nox+name: Version Testing with Nox (3.9, 3.10)on:workflow_dispatch:@@ -21,11 +21,11 @@ jobs:- name: Set up Python 3.xuses: wntrblm/[email protected]with:- python-versions: "3.9, 3.10, 3.11"+ python-versions: "3.9, 3.10"- name: Install libegl1run: |sudo apt-get updatesudo apt-get install libegl1-mesa- name: Run noxfilerun: |- nox --session test+ nox --session test_9_10diff --git a/.github/workflows/version-testing-2.yml b/.github/workflows/version-testing-2.ymlnew file mode 100644index 00000000..2cd2046f--- /dev/null+++ b/.github/workflows/version-testing-2.yml@@ -0,0 +1,31 @@+name: Version Testing with Nox (3.11, 3.12)++on:+ workflow_dispatch:+ pull_request:+ branches: [ main, development ]+ paths:+ - 'pyproject.toml'++jobs:+ build:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v3+ - name: Free up disk space+ uses: jlumbroso/free-disk-space@main+ with:+ large-packages: false+ docker-images: false+ swap-storage: false+ - name: Set up Python 3.x+ uses: wntrblm/[email protected]+ with:+ python-versions: "3.11, 3.12"+ - name: Install libegl1+ run: |+ sudo apt-get update+ sudo apt-get install libegl1-mesa+ - name: Run noxfile+ run: |+ nox --session test_11_12\ No newline at end of filediff --git a/noxfile.py b/noxfile.pyindex 796f9f93..f9ca1f38 100644--- a/noxfile.py+++ b/noxfile.py@@ -2,21 +2,35 @@ import noxfrom nox.sessions import Session[email protected](python=["3.9", "3.10", "3.11"])[email protected](python=["3.9", "3.10", "3.11", "3.12"])def test(session: Session):- """Run the full test suite on python versions 3.9, 3.10, 3.11."""+ """Run the full test suite on python versions 3.9, 3.10, 3.11, and 3.12."""session.install("-e", ".")session.run("pytest", "freemocap/tests")[email protected](python="3.11")[email protected](python=["3.9", "3.10"])+def test_9_10(session: Session):+ """Run the full test suite on python versions 3.9 and 3.10."""+ session.install("-e", ".")+ session.run("pytest", "freemocap/tests")++[email protected](python=["3.11", "3.12"])+def test_11_12(session: Session):+ """Run the full test suite on python versions 3.11 and 3.12."""+ session.install("-e", ".")+ session.run("pytest", "freemocap/tests")++[email protected](python="3.12")def coverage(session: Session):- """Run a coverage test on python 3.11."""+ """Run a coverage test on python 3.12."""session.install("-e", ".", "pytest-cov")session.run("pytest", "--cov=freemocap", "freemocap/tests")[email protected](python="3.11")[email protected](python="3.12")def lint(session: Session):"""Lint using Flake8"""session.install(diff --git a/pyproject.toml b/pyproject.tomlindex 18fe3f37..29b310d0 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -68,11 +68,11 @@ keywords = [dependencies = ["skellycam==2024.07.1092",- "skelly_viewer==2024.04.1022",- "skellyforge==2023.12.1005",+ "skelly_viewer==2024.07.1023",+ "skellyforge==2024.07.1006","skelly_synchronize==2024.07.1032","skellytracker[all]==2024.06.1016",- "ajc27_freemocap_blender_addon==2023.10.1017",+ "ajc27_freemocap_blender_addon==v2024.07.1021","opencv-contrib-python==4.8.*","toml==0.10.2","aniposelib==0.4.3",@@ -84,7 +84,7 @@ dependencies = ["packaging===23.2",]-requires-python = ">=3.9,<3.12"+requires-python = ">=3.9,<3.13"dynamic = ["version", "description"]