From 5c871624f0ec4fde8442d54e9c852a708a5fdac8 Mon Sep 17 00:00:00 2001 From: jarrekk Date: Fri, 9 Apr 2021 18:39:08 +0800 Subject: [PATCH] Prepare for 1.2.1 (#67) --- .github/labeler.yml | 13 +++++++++---- .github/workflows/pull_request_labeler.yml | 1 + .github/workflows/unit_test.yml | 2 +- requirements.txt | 4 ---- setup.cfg | 2 +- 5 files changed, 12 insertions(+), 10 deletions(-) delete mode 100644 requirements.txt diff --git a/.github/labeler.yml b/.github/labeler.yml index a826fab..f7806a6 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,8 +1,13 @@ -test: +pr/test: - tests/* -GitHub: +pr/GitHub: - .github/* -IMGkit: +pr/IMGkit: - src/* -documents: +pr/documents: - '*.md' + - 'LICENSE' +pr/pypi: + - 'pyproject.toml' + - 'setup.cfg' + - 'setup.py' diff --git a/.github/workflows/pull_request_labeler.yml b/.github/workflows/pull_request_labeler.yml index c2e6b19..e7f3764 100644 --- a/.github/workflows/pull_request_labeler.yml +++ b/.github/workflows/pull_request_labeler.yml @@ -11,3 +11,4 @@ jobs: - uses: actions/labeler@main with: repo-token: "${{ secrets.GH_TOKEN }}" + sync-labels: true diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 87e7678..0563db4 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -32,7 +32,7 @@ jobs: sudo apt install -y xvfb wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb sudo apt install -y ./wkhtmltox_0.12.6-1.bionic_amd64.deb - pip install -r requirements.txt + pip install six coverage codecov nose - name: Run unit test run: nosetests --with-coverage --cover-package=src/imgkit --where tests imgkit_test.py diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index c404b1f..0000000 --- a/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -six -coverage -codecov -nose \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 78196a9..e74989b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = imgkit -version = 1.2.0 +version = 1.2.1 author = Jarrekk author_email = me@jarrekk.com description = Wkhtmltopdf python wrapper to convert html to image using the webkit rendering engine and qt