Skip to content

Commit

Permalink
Merge branch 'develop' into 'fb-leap-1490/audioultra-vs-overlays'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gondragos committed Oct 21, 2024
2 parents 967cc66 + 72e84da commit 86ba083
Show file tree
Hide file tree
Showing 33 changed files with 826 additions and 1,249 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/follow-merge-upstream-repo-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
continue-on-error: true
uses: ./.github/actions-hub/actions/git-merge
with:
base_branch: ${{ steps.get-branch.outputs.base_name }}
base_branch: ${{ steps.get-branch.outputs.base_branch_name }}
head_branch: ${{ steps.get-branch.outputs.branch_name }}
our_files: "pyproject.toml poetry.lock web"
working_directory: "${{ env.UPSTREAM_REPO_WORKDIR }}"
Expand Down
21 changes: 6 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ env:
jobs:
run_pytest_sqlite:
name: LS SQLite Ubuntu
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'

env:
DJANGO_SETTINGS_MODULE: core.settings.label_studio
Expand Down Expand Up @@ -54,7 +55,7 @@ jobs:
- name: Install OS dependencies
run: |
sudo apt-get update
sudo apt-get install libffi7 libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxslt-dev python3-dev
sudo apt-get install libffi8 libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxslt-dev python3-dev
- name: Set up Poetry
uses: snok/install-poetry@v1
Expand All @@ -76,7 +77,7 @@ jobs:

run_pytest_postgresql:
name: LS PostgreSQL Ubuntu
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -138,7 +139,7 @@ jobs:
- name: Install OS dependencies
run: |
sudo apt-get update
sudo apt-get install libffi7 libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxslt-dev python3-dev
sudo apt-get install libffi8 libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxslt-dev python3-dev
- name: Set up Poetry
uses: snok/install-poetry@v1
Expand Down Expand Up @@ -176,7 +177,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.8'
- '3.9'

# required for poetry action
Expand Down Expand Up @@ -218,15 +218,6 @@ jobs:
- name: Install Python dependencies
run: poetry install --with test

- name: Fix sqlite.dll for python < 3.9
if: ${{ contains(matrix.python-version, '3.8') }}
run: |
set PYTHONIOENCODING=utf-8
set PYTHONLEGACYWINDOWSSTDIO=utf-8
bash -c "poetry run label-studio init my_project --agree-fix-sqlite --force-fix-sqlite"
cp sqlite3.dll %pythonLocation%/DLLs/sqlite3.dll
shell: cmd

- name: Init project
run: |
set PYTHONIOENCODING=utf-8
Expand Down
6 changes: 6 additions & 0 deletions docs/netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[[redirects]]
from = "/redirect/guide/*"
to = "/guide/:splat"
status = 301
force = true

[[redirects]]
from = "https://heartex-docs.netlify.app/api/*"
to = "https://app.heartex.com/docs/api/:splat"
Expand Down
Loading

0 comments on commit 86ba083

Please sign in to comment.