From 6dcdd856b44c1bae1a8526442b77ef34eb384198 Mon Sep 17 00:00:00 2001 From: Brad Barnett <127794626+bdbarnett@users.noreply.github.com> Date: Tue, 10 Nov 2026 23:25:37 -0600 Subject: [PATCH] Depend on omnipython-audiodsp; build against audiodsp v0.6.16.dev2 The pydevices-audiodsp name stopped at 0.6.10 and shadows omnipython-audiodsp when both install. CI installs audiodsp from TestPyPI, where the new name's releases are, and the unix-port build now reads audiodsp v0.6.16.dev2. --- .github/workflows/test.yml | 4 ++-- CONTRIBUTING.md | 2 +- DEPENDENCIES.lock | 4 ++-- README.md | 2 +- docs/get-started/install.md | 2 +- pyproject.toml | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33f592d..0c1268f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -91,7 +91,7 @@ jobs: git diff --exit-code - name: Install run: | - python -m pip install setuptools numpy flake8 "pydevices-audiodsp>=0.6.10" + python -m pip install --pre -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ setuptools numpy flake8 "omnipython-audiodsp>=0.6.10" python -m pip install --no-build-isolation . - name: Lint run: python -m flake8 --select=E9,F63,F7,F82,F401,F841 src tests tools examples @@ -186,7 +186,7 @@ jobs: make -C micropython/ports/unix -j4 USER_C_MODULES=$GITHUB_WORKSPACE/modules - name: Install the CPython side run: | - python -m pip install setuptools numpy "pydevices-audiodsp>=0.6.10" + python -m pip install --pre -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ setuptools numpy "omnipython-audiodsp>=0.6.10" python -m pip install --no-build-isolation ./modules/airwindows - name: MicroPython renders the same bytes as CPython env: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b460110..2eb90d5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ ```sh python -m venv .venv -.venv/bin/pip install setuptools numpy "pydevices-audiodsp>=0.6.10" +.venv/bin/pip install --pre -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ setuptools numpy "omnipython-audiodsp>=0.6.10" .venv/bin/pip install --no-build-isolation . .venv/bin/python -m unittest discover -s tests .venv/bin/python -m unittest discover -s tests -p 'check_*.py' diff --git a/DEPENDENCIES.lock b/DEPENDENCIES.lock index 64526fa..8cd23ee 100644 --- a/DEPENDENCIES.lock +++ b/DEPENDENCIES.lock @@ -4,8 +4,8 @@ # airwindows: the upstream every effect is generated from; tools/awgen and # tests/reference read a checkout of it at this commit (.cache/airwindows-upstream). airwindows https://github.com/airwindows/airwindows.git b110fac3991fff7c4655cc2d25d6a3e221f9799c -# audiodsp: the audio stack the nodes run on (v0.6.10). CI builds the +# audiodsp: the audio stack the nodes run on (v0.6.16.dev2). CI builds the # MicroPython unix port with it at this commit. -audiodsp https://github.com/PyDevices/audiodsp.git d2c502bdd1a87f12c56aabaf1266305c13201cb0 +audiodsp https://github.com/PyDevices/audiodsp.git c0ae8fba81946593698a51aae707cb54989f587e # micropython: the interpreter CI builds (v1.29.0). micropython https://github.com/micropython/micropython.git 0fd6c573ea815774668bbb16b8e197c8822368b2 diff --git a/README.md b/README.md index ab55331..0099cfa 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ On CPython 3.11 or later: pip install omnipython-airwindows ``` -That installs a prebuilt wheel, and [pydevices-audiodsp](https://pypi.org/project/pydevices-audiodsp/) 0.6.10 or later beside it. [Install](docs/get-started/install.md) lists the platforms that have a wheel and how to build from source on the rest. +That installs a prebuilt wheel, and [omnipython-audiodsp](https://pypi.org/project/omnipython-audiodsp/) 0.6.10 or later beside it. [Install](docs/get-started/install.md) lists the platforms that have a wheel and how to build from source on the rest. On MicroPython, build this repository into the firmware next to audiodsp 0.6.10 or later: [Install](docs/get-started/install.md) has the command. diff --git a/docs/get-started/install.md b/docs/get-started/install.md index 4111c2f..ae5542d 100644 --- a/docs/get-started/install.md +++ b/docs/get-started/install.md @@ -10,7 +10,7 @@ pip install omnipython-airwindows ``` That installs a prebuilt wheel with every plug-in in it, so nothing -compiles, and [pydevices-audiodsp](https://pypi.org/project/pydevices-audiodsp/) +compiles, and [omnipython-audiodsp](https://pypi.org/project/omnipython-audiodsp/) beside it. Python 3.11 or later. A wheel is published for: diff --git a/pyproject.toml b/pyproject.toml index 7e35e41..bb3d644 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" license = "MIT" license-files = ["LICENSE", "NOTICE", "third_party/airwindows/LICENSE"] requires-python = ">=3.11" -dependencies = ["pydevices-audiodsp>=0.6.10"] +dependencies = ["omnipython-audiodsp>=0.6.10"] classifiers = [ "Programming Language :: Python :: 3", "Programming Language :: C", @@ -36,7 +36,7 @@ build = "cp311-* cp312-* cp313-* cp314-* cp315-* cp315t-*" # have no 3.15 users yet. skip = "*musllinux* *-win32 cp315*-android_* cp315*-pyodide_*" # Each wheel installs into a clean environment with audiodsp beside it and -# renders PurestDrive. pydevices-audiodsp's PyPI releases have no Linux aarch64 +# renders PurestDrive. The old pydevices-audiodsp releases have no Linux aarch64 # wheel and no 3.15 wheel, so the test environment takes omnipython-audiodsp, # the same code under its current name, from TestPyPI and installs the wheel # without resolving its dependencies.