Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ It is a package that supports common utils used by FOSSLight Scanner.

## 📋 Prerequisite

FOSSLight Util needs a Python 3.6+.
FOSSLight Util needs a Python 3.10+.

## 🎉 How to install

Expand Down
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
tox>=4.18.1
tox
pytest
pytest-cov
pytest-flake8
flake8==3.9.2
flake8
fosslight-source
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ beautifulsoup4
jsonmerge
spdx-tools==0.8.*;sys_platform=="linux"
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability
numpy; python_version < '3.8'
numpy>=1.22.2; python_version >= '3.8'
numpy
requests
GitPython
cyclonedx-python-lib==8.5.*;sys_platform=="linux"
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,12 @@
download_url='https://github.com/fosslight/fosslight_util',
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",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", ],
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", ],
install_requires=required,
package_data={'fosslight_util': ['resources/frequentLicenselist.json', 'resources/licenses.json']},
include_package_data=True,
extras_require={":python_version<'3.7'": ["pygit2==1.6.1"],
":python_version>='3.7'": ["pygit2>=1.10.1"]},
entry_points={
"console_scripts": [
"fosslight_download = fosslight_util.download:main",
Expand Down