Skip to content

Commit 2c14a93

Browse files
authored
Merge pull request #95 from blues/devin/1739670023-update-ci-ubuntu-version
Update CI workflow to use ubuntu-24.04 and drops support for Python 3.6, 3.7 & 3.8
2 parents dbec383 + 0c63951 commit 2c14a93

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.github/workflows/python-ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ on:
2424

2525
jobs:
2626
build:
27-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-24.04
2828
strategy:
2929
matrix:
30-
python-version: [3.6, 3.7, 3.8, 3.9, 3.11]
30+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
3131

3232
env:
3333
DD_API_KEY: ${{ secrets.DD_API_KEY }}
@@ -43,13 +43,12 @@ jobs:
4343
--data '{"req":"note.add","file":"build_results.qi","body":{"result":"building"}}'
4444
- uses: actions/checkout@v3
4545
- name: Set up Python ${{ matrix.python-version }}
46-
uses: actions/setup-python@v4
46+
uses: actions/setup-python@v5
4747
with:
4848
python-version: ${{ matrix.python-version }}
4949
- name: Install dependencies
5050
run: |
5151
python -m pip install --upgrade pip
52-
pip install -U flake8 pytest coveralls ddtrace
5352
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
5453
- name: Lint with flake8
5554
run: |

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ iso8601==0.1.12
33
pyserial==3.4
44
python-periphery==2.3.0
55
PyYAML==6.0.1
6-
flake8==3.8.3
6+
flake8==6.1.0
77
pytest==7.0.1
88
pytest-cov==2.8.1
99
filelock==3.0.12
1010
pydocstyle==5.0.2
1111
packaging>=20.4
1212
pre-commit
13+
coveralls==3.3.1
14+
ddtrace==2.21.1

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="note-python",
8-
version="1.5.0",
8+
version="1.5.1",
99
author="Blues Inc.",
1010
author_email="[email protected]",
1111
description="Cross-platform Python Library for the Blues Wireless Notecard,",
@@ -16,16 +16,16 @@
1616
license="MIT",
1717
classifiers=[
1818
"Programming Language :: Python",
19-
"Programming Language :: Python :: 3.6",
20-
"Programming Language :: Python :: 3.7",
21-
"Programming Language :: Python :: 3.8",
2219
"Programming Language :: Python :: 3.9",
20+
"Programming Language :: Python :: 3.10",
2321
"Programming Language :: Python :: 3.11",
22+
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2424
"License :: OSI Approved :: MIT License",
2525
"Operating System :: OS Independent",
2626
"Intended Audience :: Developers",
2727
"Natural Language :: English",
2828
],
2929
install_requires=["filelock"],
30-
python_requires='>=3.6',
30+
python_requires='>=3.9',
3131
)

0 commit comments

Comments
 (0)