From 4c7cb381b26df01a1aab452a7bf8470ddfa161de Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 01:41:02 +0000 Subject: [PATCH 1/2] NF-1234: Update CI workflow to use ubuntu-24.04 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated python-ci.yml to use ubuntu-24.04 instead of ubuntu-20.04 for CI builds Co-Authored-By: zfields@blues.com --- .github/workflows/python-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index f779b6d..3fc768a 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -24,7 +24,7 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9, 3.11] From 0c63951adea04c41c592433044fe04f683395b6e Mon Sep 17 00:00:00 2001 From: Alex Bucknall Date: Tue, 18 Feb 2025 16:53:18 +0000 Subject: [PATCH 2/2] fix: drop support for Python 3.6, 3.7, and 3.8. Adds 3.10, 3.11, 3.12 and 3.13. --- .github/workflows/python-ci.yml | 5 ++--- requirements.txt | 4 +++- setup.py | 10 +++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 3fc768a..c92b894 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9, 3.11] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] env: DD_API_KEY: ${{ secrets.DD_API_KEY }} @@ -43,13 +43,12 @@ jobs: --data '{"req":"note.add","file":"build_results.qi","body":{"result":"building"}}' - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -U flake8 pytest coveralls ddtrace if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 run: | diff --git a/requirements.txt b/requirements.txt index 398a0c5..6be2ca5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,10 +3,12 @@ iso8601==0.1.12 pyserial==3.4 python-periphery==2.3.0 PyYAML==6.0.1 -flake8==3.8.3 +flake8==6.1.0 pytest==7.0.1 pytest-cov==2.8.1 filelock==3.0.12 pydocstyle==5.0.2 packaging>=20.4 pre-commit +coveralls==3.3.1 +ddtrace==2.21.1 \ No newline at end of file diff --git a/setup.py b/setup.py index 188832e..55d2467 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="note-python", - version="1.5.0", + version="1.5.1", author="Blues Inc.", author_email="support@blues.com", description="Cross-platform Python Library for the Blues Wireless Notecard,", @@ -16,16 +16,16 @@ license="MIT", classifiers=[ "Programming Language :: Python", - "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.12", + "Programming Language :: Python :: 3.13", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Intended Audience :: Developers", "Natural Language :: English", ], install_requires=["filelock"], - python_requires='>=3.6', + python_requires='>=3.9', )