diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f98ce41..683b98d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,11 +7,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -33,11 +33,11 @@ jobs: style: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Setup Python 3.9 - uses: actions/setup-python@v2 + - uses: actions/checkout@v6 + - name: Setup Python 3.13 + uses: actions/setup-python@v6 with: - python-version: 3.9 + python-version: 3.13 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/MANIFEST.in b/MANIFEST.in index 1e68d8e..c9a94ef 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ -include README.rst +include README.md include LICENSE graft pycec recursive-exclude * *.py[co] diff --git a/setup.py b/setup.py index 71a00d8..cc7f3bf 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ import os this_dir = os.path.dirname(os.path.abspath(__file__)) -with open(os.path.join(this_dir, "README.rst"), "r") as f: +with open(os.path.join(this_dir, "README.md"), "r") as f: long_description = f.read() PACKAGES = find_packages(exclude=["tests", "tests.*", "build"]) @@ -33,10 +33,13 @@ "Topic :: Multimedia", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3 :: Only", - "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", + "Programming Language :: Python :: 3.14", ], entry_points={ "console_scripts": [ diff --git a/tests/test_hdmi_network.py b/tests/test_hdmi_network.py index 972b9ec..48ba8bb 100644 --- a/tests/test_hdmi_network.py +++ b/tests/test_hdmi_network.py @@ -12,7 +12,7 @@ def test_devices(): - loop = asyncio.get_event_loop() + loop = asyncio.new_event_loop() network = HDMINetwork( MockAdapter( [ @@ -56,7 +56,7 @@ def test_devices(): def test_scan(): - loop = asyncio.get_event_loop() + loop = asyncio.new_event_loop() network = HDMINetwork( MockAdapter( [