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 diff --git a/pyproject.toml b/pyproject.toml index 3e95fbf..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 = [ @@ -32,25 +32,25 @@ 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"} + { 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]