Skip to content

Commit 638071e

Browse files
committed
Update python support ver 3.10~3.12
Signed-off-by: 석지영/책임연구원/SW공학(연)Open Source TP <[email protected]>
1 parent 1bf949c commit 638071e

File tree

6 files changed

+8
-14
lines changed

6 files changed

+8
-14
lines changed

.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
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
python-version: [3.8]
20+
python-version: ['3.10', '3.11', '3.12']
2121
steps:
2222
- uses: actions/checkout@v3
2323
- name: Set up Python ${{ matrix.python-version }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ It is a package that supports common utils used by FOSSLight Scanner.
2929

3030
## 📋 Prerequisite
3131

32-
FOSSLight Util needs a Python 3.6+.
32+
FOSSLight Util needs a Python 3.10+.
3333

3434
## 🎉 How to install
3535

requirements-dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
tox>=4.18.1
1+
tox
22
pytest
33
pytest-cov
44
pytest-flake8
5-
flake8==3.9.2
5+
flake8
66
fosslight-source

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ beautifulsoup4
1010
jsonmerge
1111
spdx-tools==0.8.*;sys_platform=="linux"
1212
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability
13-
numpy; python_version < '3.8'
14-
numpy>=1.22.2; python_version >= '3.8'
13+
numpy
1514
requests
1615
GitPython
1716
cyclonedx-python-lib==8.5.*;sys_platform=="linux"

setup.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,12 @@
2626
download_url='https://github.com/fosslight/fosslight_util',
2727
classifiers=['License :: OSI Approved :: Apache Software License',
2828
"Programming Language :: Python :: 3",
29-
"Programming Language :: Python :: 3.6",
30-
"Programming Language :: Python :: 3.7",
31-
"Programming Language :: Python :: 3.8",
32-
"Programming Language :: Python :: 3.9",
3329
"Programming Language :: Python :: 3.10",
34-
"Programming Language :: Python :: 3.11", ],
30+
"Programming Language :: Python :: 3.11",
31+
"Programming Language :: Python :: 3.12", ],
3532
install_requires=required,
3633
package_data={'fosslight_util': ['resources/frequentLicenselist.json', 'resources/licenses.json']},
3734
include_package_data=True,
38-
extras_require={":python_version<'3.7'": ["pygit2==1.6.1"],
39-
":python_version>='3.7'": ["pygit2>=1.10.1"]},
4035
entry_points={
4136
"console_scripts": [
4237
"fosslight_download = fosslight_util.download:main",

0 commit comments

Comments
 (0)