From 6d29d65dd8958b329ca529452769087abca9849c Mon Sep 17 00:00:00 2001 From: Soim Kim Date: Thu, 1 Sep 2022 10:44:45 +0900 Subject: [PATCH 1/2] Change the required version of Python to 3.7 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ca411fc..c683553 100644 --- a/setup.py +++ b/setup.py @@ -26,10 +26,10 @@ download_url='https://github.com/fosslight/fosslight_source_scanner', classifiers=['License :: OSI Approved :: Apache Software License', "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", ], + python_requires=">=3.7", install_requires=required, extras_require={":python_version>'3.6'": ["scanoss>=0.7.0"], ":python_version<'3.7'": ["dataclasses", "scanoss"]}, From 343622b5290f1226b6370912ce70d2795c5e2a37 Mon Sep 17 00:00:00 2001 From: Soim Kim Date: Thu, 1 Sep 2022 10:57:23 +0900 Subject: [PATCH 2/2] Change it to test with Python 3.7 or higher --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 46e0b9b..9a0274f 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7] + python-version: [3.7, 3.8] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }}