From a721964e07aa9ab72e7860931c56b061fe4eed14 Mon Sep 17 00:00:00 2001 From: ikaroskun Date: Mon, 21 Oct 2024 11:22:52 +0800 Subject: [PATCH 1/3] feat(dependencies): :arrow_up: update dependencies --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3e95fbf..46db985 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,8 +32,8 @@ packages = [ [tool.poetry.dependencies] python = "^3.6" requests = "^2.24.0" -requests-oauthlib = "^1.3.0" -isodate = "^0.7.2" +requests-oauthlib = "=1.3.0,<3.0.0" +isodate = ">=0.6.0,<=0.7.2" dataclasses-json = [ {version = "^0.5.3", python = "<3.7"}, {version = "^0.6.0", python = ">=3.7"} From 362a033abdff091d7d69f3d1ae010746db20686e Mon Sep 17 00:00:00 2001 From: ikaroskun Date: Mon, 21 Oct 2024 11:29:48 +0800 Subject: [PATCH 2/3] feat(ci): :green_heart: add codecov token --- .github/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 16a9cac..a3376ed 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -36,10 +36,11 @@ jobs: poetry run pytest - name: Upload coverage to Codecov if: ${{ matrix.update-coverage }} - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} lint: name: black From da51ea339001519d397b6006dce5e6e8da044438 Mon Sep 17 00:00:00 2001 From: ikaroskun Date: Mon, 21 Oct 2024 11:39:50 +0800 Subject: [PATCH 3/3] feat(ci): :green_heart: nothing --- pyproject.toml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 46db985..3875705 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,9 @@ readme = "README.rst" homepage = "https://github.com/sns-sdks/python-youtube" repository = "https://github.com/sns-sdks/python-youtube" classifiers = [ + "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", + "Topic :: Software Development :: Libraries :: Python Modules", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", @@ -20,8 +22,6 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", - "Topic :: Software Development :: Libraries :: Python Modules", - "Intended Audience :: Developers", ] packages = [ @@ -35,22 +35,22 @@ requests = "^2.24.0" requests-oauthlib = "=1.3.0,<3.0.0" isodate = ">=0.6.0,<=0.7.2" dataclasses-json = [ - {version = "^0.5.3", python = "<3.7"}, - {version = "^0.6.0", python = ">=3.7"} + { version = "^0.5.3", python = "<3.7" }, + { version = "^0.6.0", python = ">=3.7" } ] [tool.poetry.dev-dependencies] responses = [ - {version = "^0.17.0", python = "<3.7"}, - {version = "^0.23.0", python = ">=3.7"} + { version = "^0.17.0", python = "<3.7" }, + { version = "^0.23.0", python = ">=3.7" } ] pytest = [ - {version = "^6.2", python = "<3.7"}, - {version = "^7.1", python = ">=3.7"} + { version = "^6.2", python = "<3.7" }, + { version = "^7.1", python = ">=3.7" } ] pytest-cov = [ - {version = "^2.10.1", python = "<3.7"}, - {version = "^3.0.0", python = ">=3.7"} + { version = "^2.10.1", python = "<3.7" }, + { version = "^3.0.0", python = ">=3.7" } ] [build-system]