From 1109b2f5149bd5102b8ae3169a372d0fa6678873 Mon Sep 17 00:00:00 2001 From: Matthew Maxwell Date: Tue, 17 Dec 2024 14:42:41 -0800 Subject: [PATCH] Published Bindings --- .github/workflows/nodejs-demos.yml | 6 ------ .github/workflows/python-demos.yml | 8 -------- .github/workflows/web-demos.yml | 12 ------------ binding/android/PicoLLMTestApp/build.gradle | 6 ------ binding/ios/PicoLLMAppTest/Podfile | 4 ++-- demo/android/Chat/build.gradle | 6 ------ demo/android/Completion/build.gradle | 6 ------ demo/ios/Chat/Podfile | 2 +- demo/ios/Completion/Podfile | 2 +- demo/nodejs/package.json | 2 +- demo/python/requirements.txt | 2 +- demo/web/chat/package.json | 2 +- demo/web/completion/package.json | 2 +- 13 files changed, 8 insertions(+), 52 deletions(-) diff --git a/.github/workflows/nodejs-demos.yml b/.github/workflows/nodejs-demos.yml index aa5727f..6e81ee2 100644 --- a/.github/workflows/nodejs-demos.yml +++ b/.github/workflows/nodejs-demos.yml @@ -47,12 +47,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - # ************ REMOVE AFTER RELEASE *************** - - name: build local binding - run: yarn install && yarn build - working-directory: binding/nodejs - # ************ REMOVE AFTER RELEASE *************** - - name: Install dependencies run: yarn install diff --git a/.github/workflows/python-demos.yml b/.github/workflows/python-demos.yml index 40742ae..8592db8 100644 --- a/.github/workflows/python-demos.yml +++ b/.github/workflows/python-demos.yml @@ -52,14 +52,6 @@ jobs: .venv\Scripts\activate echo PATH=$PATH >> $GITHUB_ENV - # ************ REMOVE AFTER RELEASE *************** - - name: build local binding - run: | - python3 -m pip install setuptools wheel - python3 -m setup sdist bdist_wheel - working-directory: binding/python - # ************ REMOVE AFTER RELEASE *************** - - name: Install Python dependencies run: python3 -m pip install -r requirements.txt diff --git a/.github/workflows/web-demos.yml b/.github/workflows/web-demos.yml index a0ef5cc..0c94435 100644 --- a/.github/workflows/web-demos.yml +++ b/.github/workflows/web-demos.yml @@ -30,12 +30,6 @@ jobs: steps: - uses: actions/checkout@v3 - # ************ REMOVE AFTER RELEASE *************** - - name: build local binding - run: yarn install && yarn copywasm && yarn build - working-directory: binding/web - # ************ REMOVE AFTER RELEASE *************** - - name: Install dependencies run: yarn install @@ -49,11 +43,5 @@ jobs: steps: - uses: actions/checkout@v3 - # ************ REMOVE AFTER RELEASE *************** - - name: build local binding - run: yarn install && yarn copywasm && yarn build - working-directory: binding/web - # ************ REMOVE AFTER RELEASE *************** - - name: Install dependencies run: yarn install \ No newline at end of file diff --git a/binding/android/PicoLLMTestApp/build.gradle b/binding/android/PicoLLMTestApp/build.gradle index b8df57e..c2a2dfe 100644 --- a/binding/android/PicoLLMTestApp/build.gradle +++ b/binding/android/PicoLLMTestApp/build.gradle @@ -6,9 +6,6 @@ buildscript { repositories { google() mavenCentral() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1357/' - } } dependencies { classpath 'com.android.tools.build:gradle:7.2.2' @@ -24,9 +21,6 @@ allprojects { repositories { google() mavenCentral() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1357/' - } } } diff --git a/binding/ios/PicoLLMAppTest/Podfile b/binding/ios/PicoLLMAppTest/Podfile index 8e62678..0c7913c 100644 --- a/binding/ios/PicoLLMAppTest/Podfile +++ b/binding/ios/PicoLLMAppTest/Podfile @@ -2,9 +2,9 @@ source 'https://cdn.cocoapods.org/' platform :ios, '16.0' target 'PicoLLMAppTest' do - pod 'picoLLM-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picollm/refs/heads/v1.2.2/binding/ios/picoLLM-iOS.podspec' + pod 'picoLLM-iOS', '~> 1.2.2' end target 'PicoLLMAppTestUITests' do - pod 'picoLLM-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picollm/refs/heads/v1.2.2/binding/ios/picoLLM-iOS.podspec' + pod 'picoLLM-iOS', '~> 1.2.2' end diff --git a/demo/android/Chat/build.gradle b/demo/android/Chat/build.gradle index 0652bb7..56f710b 100644 --- a/demo/android/Chat/build.gradle +++ b/demo/android/Chat/build.gradle @@ -6,9 +6,6 @@ buildscript { repositories { google() mavenCentral() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1357/' - } } dependencies { classpath 'com.android.tools.build:gradle:7.4.2' @@ -19,9 +16,6 @@ allprojects { repositories { google() mavenCentral() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1357/' - } } } diff --git a/demo/android/Completion/build.gradle b/demo/android/Completion/build.gradle index 0652bb7..56f710b 100644 --- a/demo/android/Completion/build.gradle +++ b/demo/android/Completion/build.gradle @@ -6,9 +6,6 @@ buildscript { repositories { google() mavenCentral() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1357/' - } } dependencies { classpath 'com.android.tools.build:gradle:7.4.2' @@ -19,9 +16,6 @@ allprojects { repositories { google() mavenCentral() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1357/' - } } } diff --git a/demo/ios/Chat/Podfile b/demo/ios/Chat/Podfile index ff918f1..14d0622 100644 --- a/demo/ios/Chat/Podfile +++ b/demo/ios/Chat/Podfile @@ -2,5 +2,5 @@ source 'https://cdn.cocoapods.org/' platform :ios, '16.0' target 'PicoLLMChatDemo' do - pod 'picoLLM-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picollm/refs/heads/v1.2.2/binding/ios/picoLLM-iOS.podspec' + pod 'picoLLM-iOS', '~> 1.2.2' end \ No newline at end of file diff --git a/demo/ios/Completion/Podfile b/demo/ios/Completion/Podfile index 92d26e2..7640f7e 100644 --- a/demo/ios/Completion/Podfile +++ b/demo/ios/Completion/Podfile @@ -2,5 +2,5 @@ source 'https://cdn.cocoapods.org/' platform :ios, '16.0' target 'PicoLLMCompletionDemo' do - pod 'picoLLM-iOS', :podspec => 'https://raw.githubusercontent.com/Picovoice/picollm/refs/heads/v1.2.2/binding/ios/picoLLM-iOS.podspec' + pod 'picoLLM-iOS', '~> 1.2.2' end diff --git a/demo/nodejs/package.json b/demo/nodejs/package.json index b2db31c..dd926fe 100644 --- a/demo/nodejs/package.json +++ b/demo/nodejs/package.json @@ -19,7 +19,7 @@ "author": "Picovoice Inc.", "license": "Apache-2.0", "dependencies": { - "@picovoice/picollm-node": "../../binding/nodejs", + "@picovoice/picollm-node": "~1.2.2", "commander": "^6.1.0", "prettier": "^2.6.2" }, diff --git a/demo/python/requirements.txt b/demo/python/requirements.txt index f0fe66d..d4d5165 100644 --- a/demo/python/requirements.txt +++ b/demo/python/requirements.txt @@ -1 +1 @@ -../../binding/python/dist/picollm-1.2.2-py3-none-any.whl \ No newline at end of file +picollm==1.2.2 \ No newline at end of file diff --git a/demo/web/chat/package.json b/demo/web/chat/package.json index 9aba311..acbd6a4 100644 --- a/demo/web/chat/package.json +++ b/demo/web/chat/package.json @@ -16,7 +16,7 @@ "author": "Picovoice Inc", "license": "Apache-2.0", "dependencies": { - "@picovoice/picollm-web": "../../binding/web" + "@picovoice/picollm-web": "~1.2.2" }, "devDependencies": { "http-server": "^14.0.0" diff --git a/demo/web/completion/package.json b/demo/web/completion/package.json index c89ad13..92946fe 100644 --- a/demo/web/completion/package.json +++ b/demo/web/completion/package.json @@ -16,7 +16,7 @@ "author": "Picovoice Inc", "license": "Apache-2.0", "dependencies": { - "@picovoice/picollm-web": "../../binding/web" + "@picovoice/picollm-web": "~1.2.2" }, "devDependencies": { "http-server": "^14.0.0"