Bump python for assets to 3.9 (#79)

This commit is contained in:
Otto Winter 2021-10-29 12:39:15 +02:00 committed by GitHub
parent 9d57fbbff3
commit 23a6bae0ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 11 deletions

View File

@ -14,7 +14,7 @@ jobs:
- name: Install Python - name: Install Python
uses: actions/setup-python@v2.2.2 uses: actions/setup-python@v2.2.2
with: with:
python-version: '3.7' python-version: '3.9'
architecture: 'x64' architecture: 'x64'
- name: Install requirements - name: Install requirements
run: | run: |
@ -36,7 +36,7 @@ jobs:
- name: Install Python - name: Install Python
uses: actions/setup-python@v2.2.2 uses: actions/setup-python@v2.2.2
with: with:
python-version: '3.7' python-version: '3.9'
architecture: 'x86' architecture: 'x86'
- name: Install requirements - name: Install requirements
run: | run: |
@ -60,7 +60,7 @@ jobs:
- name: Install Python - name: Install Python
uses: actions/setup-python@v2.2.2 uses: actions/setup-python@v2.2.2
with: with:
python-version: '3.7' python-version: '3.9'
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt install libgtk-3-dev libnotify-dev libsdl2-dev sudo apt install libgtk-3-dev libnotify-dev libsdl2-dev
@ -90,7 +90,7 @@ jobs:
- name: Install Python - name: Install Python
uses: actions/setup-python@v2.2.2 uses: actions/setup-python@v2.2.2
with: with:
python-version: '3.7' python-version: '3.9'
- name: Install requirements - name: Install requirements
run: | run: |
pip install -r requirements.txt -r requirements_build.txt pip install -r requirements.txt -r requirements_build.txt
@ -117,7 +117,7 @@ jobs:
- name: Install Python - name: Install Python
uses: actions/setup-python@v2.2.2 uses: actions/setup-python@v2.2.2
with: with:
python-version: '3.7' python-version: '3.9'
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt install libgtk-3-dev libnotify-dev libsdl2-dev sudo apt install libgtk-3-dev libnotify-dev libsdl2-dev

View File

@ -12,7 +12,7 @@ jobs:
- name: Install Python - name: Install Python
uses: actions/setup-python@v2.2.2 uses: actions/setup-python@v2.2.2
with: with:
python-version: '3.7' python-version: '3.9'
architecture: 'x64' architecture: 'x64'
- name: Install requirements - name: Install requirements
run: | run: |
@ -37,7 +37,7 @@ jobs:
- name: Install Python - name: Install Python
uses: actions/setup-python@v2.2.2 uses: actions/setup-python@v2.2.2
with: with:
python-version: '3.7' python-version: '3.9'
architecture: 'x86' architecture: 'x86'
- name: Install requirements - name: Install requirements
run: | run: |
@ -64,7 +64,7 @@ jobs:
- name: Install Python - name: Install Python
uses: actions/setup-python@v2.2.2 uses: actions/setup-python@v2.2.2
with: with:
python-version: '3.7' python-version: '3.9'
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt install libgtk-3-dev libnotify-dev libsdl2-dev sudo apt install libgtk-3-dev libnotify-dev libsdl2-dev
@ -97,7 +97,7 @@ jobs:
- name: Install Python - name: Install Python
uses: actions/setup-python@v2.2.2 uses: actions/setup-python@v2.2.2
with: with:
python-version: '3.7' python-version: '3.9'
- name: Install requirements - name: Install requirements
run: | run: |
pip install -r requirements.txt -r requirements_build.txt pip install -r requirements.txt -r requirements_build.txt

View File

@ -10,7 +10,7 @@ PROJECT_NAME = 'esphomeflasher'
PROJECT_PACKAGE_NAME = 'esphomeflasher' PROJECT_PACKAGE_NAME = 'esphomeflasher'
PROJECT_LICENSE = 'MIT' PROJECT_LICENSE = 'MIT'
PROJECT_AUTHOR = 'ESPHome' PROJECT_AUTHOR = 'ESPHome'
PROJECT_COPYRIGHT = '2020, ESPHome' PROJECT_COPYRIGHT = '2021, ESPHome'
PROJECT_URL = 'https://esphome.io/guides/faq.html' PROJECT_URL = 'https://esphome.io/guides/faq.html'
PROJECT_EMAIL = 'contact@esphome.io' PROJECT_EMAIL = 'contact@esphome.io'
@ -45,7 +45,7 @@ setup(
zip_safe=False, zip_safe=False,
platforms='any', platforms='any',
test_suite='tests', test_suite='tests',
python_requires='>=3.5,<4.0', python_requires='>=3.7,<4.0',
install_requires=REQUIRES, install_requires=REQUIRES,
long_description=LONG_DESCRIPTION, long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown', long_description_content_type='text/markdown',