From c5e4d918bf81c3c04328421d02b46d101155ee26 Mon Sep 17 00:00:00 2001 From: Akkily Date: Thu, 31 Aug 2023 10:43:21 +0900 Subject: [PATCH 1/2] pillow update ver_10 --- README.md | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f81d95a..c08c825 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ pip install --upgrade fastlabel ``` -> Python version 3.7 or greater is required +> Python version 3.8 or greater is required ## Usage diff --git a/requirements.txt b/requirements.txt index eff1d01..a48e1c6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,5 @@ requests==2.25.1 numpy>=1.21.2 geojson==2.5.0 xmltodict==0.12.0 -Pillow>=9.0.1,<10.0.0 +Pillow>=10.0.0,<11.0.0 opencv-python==4.7.0.72 \ No newline at end of file From aa5d4d7cca1e50df940c7e76d2af38c2c6f0d4a3 Mon Sep 17 00:00:00 2001 From: Akkily Date: Fri, 1 Sep 2023 09:57:43 +0900 Subject: [PATCH 2/2] fix release note --- .github/workflows/release.yml | 44 +++++++++++++++++------------------ setup.py | 2 +- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f56bbe4..7cda555 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,30 +9,30 @@ jobs: build-n-publish: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.7' + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "3.8" - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel - - name: Build - run: | - python setup.py sdist - python setup.py bdist_wheel + - name: Build + run: | + python setup.py sdist + python setup.py bdist_wheel - - name: Check - run: | - ls ./dist + - name: Check + run: | + ls ./dist - - name: Publish a Python distribution to PyPI - if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.PYPI_API_TOKEN }} + - name: Publish a Python distribution to PyPI + if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' + uses: pypa/gh-action-pypi-publish@master + with: + password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/setup.py b/setup.py index c2ba4b5..98b1d81 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ long_description_content_type="text/markdown", packages=setuptools.find_packages(), install_requires=install_requires, - python_requires=">=3.7", + python_requires=">=3.8", include_package_data=True, use_scm_version=True, setup_requires=["setuptools_scm"],