diff --git a/.github/workflows/build_pypi.yml b/.github/workflows/build_pypi.yml index 028dbaf1..e7c8da82 100644 --- a/.github/workflows/build_pypi.yml +++ b/.github/workflows/build_pypi.yml @@ -65,7 +65,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.7' + python-version: '3.8' - name: Configure pip cache uses: actions/cache@v3 diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index 000738a6..4907a9ff 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -29,14 +29,14 @@ jobs: - uses: hmarr/debug-action@v2.1.0 - name: "Validate PR's title" - uses: thehanimo/pr-title-checker@v1.4.0 + uses: thehanimo/pr-title-checker@v1.4.1 with: GITHUB_TOKEN: ${{ github.token }} pass_on_octokit_error: false configuration_path: ".github/pr-title-checker-config.json" - name: "Set PR's label based on title" - uses: release-drafter/release-drafter@v5.24.0 + uses: release-drafter/release-drafter@v5.25.0 with: disable-releaser: true config-name: autolabeler.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 633e543b..0bcb05d8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,12 +31,12 @@ jobs: steps: - uses: actions/checkout@v4 - + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.7' - + python-version: '3.8' + - uses: actions/cache@v3 name: Configure pip cache id: pip-cache @@ -45,21 +45,21 @@ jobs: key: ${{ env.CACHE_NAME_PREFIX }}-${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-test.txt') }} restore-keys: | ${{ env.CACHE_NAME_PREFIX }}-${{ runner.os }}-pip- - + - name: Install dependencies run: | sudo apt-get clean sudo apt-get update sudo apt-get install virtualenv libsasl2-dev python3-dev libldap2-dev libssl-dev pip install -U pip==20.2 - pip install -r requirements.txt -r requirements-test.txt - + pip install -r requirements.txt -r requirements-test.txt + - name: Run functional tests run: | pytest --junitxml report.xml --cov=. -m "not integration_tests" - + - name: "Upload coverage to Codecov" uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: true + fail_ci_if_error: true diff --git a/label_studio_converter/__init__.py b/label_studio_converter/__init__.py index d5c14b0a..05af951e 100644 --- a/label_studio_converter/__init__.py +++ b/label_studio_converter/__init__.py @@ -4,4 +4,4 @@ except ModuleNotFoundError as e: print(e) -__version__ = '0.0.56.dev' +__version__ = '0.0.58.dev' diff --git a/requirements.txt b/requirements.txt index 7e656949..dd1d9233 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,7 @@ pandas>=0.24.0 requests>=2.22.0,<3 -Pillow==9.3.0 +Pillow>=10.0.1 nltk==3.6.7 label-studio-tools>=0.0.3 ujson ijson~=3.2.0.post0 -