Skip to content

Commit 63f40c0

Browse files
authored
Merge pull request #144 from fosslight/ver
Update python support ver 3.10~3.12
2 parents d76f530 + 8f6827d commit 63f40c0

File tree

6 files changed

+10
-11
lines changed

6 files changed

+10
-11
lines changed

.github/workflows/build-daily.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
python-version: ["3.8", "3.9", "3.10", "3.11"]
13+
python-version: ["3.10", "3.11", "3.12"]
1414

1515
steps:
1616
- uses: actions/checkout@v3

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Set up Python
6262
uses: actions/setup-python@v4
6363
with:
64-
python-version: '3.8'
64+
python-version: '3.11'
6565
- name: Install dependencies
6666
run: |
6767
python -m pip install --upgrade pip

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: [3.8]
19+
python-version: ['3.11']
2020
steps:
2121
- uses: actions/checkout@v3
2222
- name: Set up Python ${{ matrix.python-version }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ SPDX-License-Identifier: Apache-2.0
4242

4343
## 📋 Prerequisite
4444

45-
FOSSLight Scanner needs a Python 3.6+.
45+
FOSSLight Scanner needs a Python 3.10+.
4646

4747
## 🎉 How to install
4848

4949

50-
It can be installed using pip3. It is recommended to install it in the [python 3.7 + virtualenv]([etc/guide_virtualenv.md](https://fosslight.org/fosslight-guide-en/scanner/etc/guide_virtualenv.html)) environment.
50+
It can be installed using pip3. It is recommended to install it in the [virtualenv]([etc/guide_virtualenv.md](https://fosslight.org/fosslight-guide-en/scanner/etc/guide_virtualenv.html)) environment.
5151

5252
```
5353
$ pip3 install fosslight_scanner

requirements-dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tox
22
pytest
33
pytest-cov
4-
flake8==3.9.2
4+
flake8
55
pytest-flake8
6-
importlib-metadata==4.2.0
6+
importlib-metadata

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@
2727
download_url='https://github.com/fosslight/fosslight_scanner',
2828
classifiers=['License :: OSI Approved :: Apache Software License',
2929
"Programming Language :: Python :: 3",
30-
"Programming Language :: Python :: 3.8",
31-
"Programming Language :: Python :: 3.9",
3230
"Programming Language :: Python :: 3.10",
33-
"Programming Language :: Python :: 3.11", ],
34-
python_requires=">=3.8",
31+
"Programming Language :: Python :: 3.11",
32+
"Programming Language :: Python :: 3.12", ],
33+
python_requires='>=3.10,<3.13',
3534
install_requires=required,
3635
package_data={'fosslight_scanner': ['resources/bom_compare.html']},
3736
entry_points={

0 commit comments

Comments
 (0)