Skip to content

Commit

Permalink
Drop testing for Python 2.7 (#127)
Browse files Browse the repository at this point in the history
* Drop testing for python 2.7
  • Loading branch information
michaelarnauts committed Jul 21, 2023
1 parent bc82711 commit dd1f49b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,12 @@ jobs:
python-version: ["3.8", "3.9", "3.10"]
include:
# End-of-life Python versions are not available anymore with ubuntu-latest
- os: ubuntu-20.04
python-version: "2.7"
- os: ubuntu-20.04
python-version: "3.5"
- os: ubuntu-20.04
python-version: "3.6"
- os: ubuntu-20.04
python-version: "3.7"
# Kodi Leia on Windows uses a bundled Python 2.7.
- os: windows-latest
python-version: "2.7"
steps:
- name: Check out ${{ github.sha }} from repository ${{ github.repository }}
uses: actions/checkout@v3
Expand Down
6 changes: 2 additions & 4 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@

import os
import shutil
import sys
import xml.etree.ElementTree as ET

BRANDS_DIR = 'brands'
DIST_DIR = 'dist'


Expand Down Expand Up @@ -85,5 +83,5 @@ def modify_xml(file, version, news, python=None):
shutil.make_archive(os.path.join(DIST_DIR, "%s-%s+matrix.1" % (brand, addon_info['version'])), 'zip', DIST_DIR, brand)

# Modify addon.xml for leia and create zip
modify_xml(os.path.join(dest, 'addon.xml'), addon_info['version'], addon_info['news'], '2.26.0')
shutil.make_archive(os.path.join(DIST_DIR, "%s-%s" % (brand, addon_info['version'])), 'zip', DIST_DIR, brand)
# modify_xml(os.path.join(dest, 'addon.xml'), addon_info['version'], addon_info['news'], '2.26.0')
# shutil.make_archive(os.path.join(DIST_DIR, "%s-%s" % (brand, addon_info['version'])), 'zip', DIST_DIR, brand)

0 comments on commit dd1f49b

Please sign in to comment.