Skip to content

Commit e1c5410

Browse files
committed
Change the minimum Python version to 3.10
1 parent 1562aa4 commit e1c5410

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ jobs:
6262
TARGET: ubuntu
6363
CMD_BUILD: >
6464
pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks --hidden-import=pkg_resources.extern --add-binary "LICENSE:LICENSES" --add-binary "LICENSES/LicenseRef-3rd_party_licenses.txt:LICENSES" &&
65-
mv dist/cli fosslight_bin_ubuntu18
66-
OUT_FILE_NAME: fosslight_bin_ubuntu18
65+
mv dist/cli fosslight_bin_ubuntu
66+
OUT_FILE_NAME: fosslight_bin_ubuntu
6767
ASSET_MIME: application/octet-stream
6868
- os: macos-latest
6969
TARGET: macos

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
python-version: [3.12.x]
4141
steps:
4242
- uses: actions/checkout@v3
43-
- name: Set up Python 3.12
43+
- name: Set up Python ${{ matrix.python-version }}
4444
uses: actions/setup-python@v4
4545
with:
46-
python-version: '3.12.x'
46+
python-version: ${{ matrix.python-version }}
4747
- name: Install & Run
4848
run: |
4949
python -m pip install --upgrade pip

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ binaryornot
22
numpy
33
pandas
44
parmap
5-
psycopg2-binary==2.9.9
5+
psycopg2-binary
66
python-dateutil
77
py-tlsh
88
pytz

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
download_url='https://github.com/fosslight/fosslight_binary_scanner',
4646
classifiers=['License :: OSI Approved :: Apache Software License',
4747
"Programming Language :: Python :: 3",
48-
"Programming Language :: Python :: 3.6",
49-
"Programming Language :: Python :: 3.7",
50-
"Programming Language :: Python :: 3.8",
51-
"Programming Language :: Python :: 3.9", ],
48+
"Programming Language :: Python :: 3.10",
49+
"Programming Language :: Python :: 3.11",
50+
"Programming Language :: Python :: 3.12"],
51+
python_requires='>=3.10,<3.13',
5252
install_requires=install_requires,
5353
extras_require={
5454
':sys_platform == "win32"': [

0 commit comments

Comments
 (0)