Skip to content

Commit

Permalink
Drop all Python 2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiX committed Jan 9, 2025
1 parent c43773b commit 88e71c5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 23 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Kodi Addon-Check

on: [push, pull_request]
Expand All @@ -7,17 +8,9 @@ jobs:
runs-on: ubuntu-latest
name: Kodi addon checker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate Addon
uses: xbmc/[email protected]
with:
kodi-version: jarvis
addon-id: ${{ github.event.repository.name }}
- name: Validate Addon for Matrix
uses: xbmc/[email protected]
with:
kodi-version: matrix
rewrite-for-matrix: true
addon-id: ${{ github.event.repository.name }}

- name: Checkout
uses: actions/checkout@v4
- name: Validate Addon
uses: xbmc/[email protected]
kodi-version: matrix
addon-id: ${{ github.event.repository.name }}
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
max-parallel: 5
matrix:
python-version:
- pypy2.7
- 3.8
- 3.9
- '3.10'
Expand All @@ -32,4 +31,3 @@ jobs:
- uses: codecov/codecov-action@v3
with:
file: .tox/coverage.xml

4 changes: 2 additions & 2 deletions addon.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.media-ccc-de" name="media.ccc.de" version="0.3.0" provider-name="Tobias Gruetzmacher">
<requires>
<import addon="xbmc.python" version="2.24.0"/>
<import addon="script.module.requests" version="2.15.1"/>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.requests" version="2.22.0"/>
<import addon="script.module.routing" version="0.2.3"/>
</requires>
<extension point="xbmc.python.pluginsource" library="addon.py">
Expand Down
7 changes: 2 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
[tox]
envlist = py27, py36, py37, py38, py39, py310, flake8
envlist = py38, py39, py310, flake8
skipsdist = True

[gh-actions]
python =
2.7: py27
3.6: py36
3.7: py37
3.8: py38, flake8
3.9: py39
3.10: py310
Expand Down Expand Up @@ -38,7 +35,7 @@ deps =
max-line-length = 79
ignore = E127,E128,E241,FI12,FI14,FI15,FI50,FI51,FI53,FI54,FI55,W503
require-code = True
min-version = 2.7
min-version = 3.8

[pytest]
filterwarnings = default

0 comments on commit 88e71c5

Please sign in to comment.