Skip to content

Commit 0cd1179

Browse files
committed
Drop support for python 3.5, add support for python 3.9 (breaking change)
1 parent ddfb9f8 commit 0cd1179

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v1
11+
- uses: actions/checkout@v2
1212
- name: Set up Python
13-
uses: actions/setup-python@v1
13+
uses: actions/setup-python@v2
1414
with:
1515
python-version: '3.x'
1616
- name: Install dependencies
@@ -22,7 +22,8 @@ jobs:
2222
git config --global user.name "Github Action"
2323
git config --global user.email "[email protected]"
2424
pip install -r tests/test_requirements.txt
25-
pip install -e .
25+
pip install mkdocs-material
26+
pip install .
2627
pytest
2728
- name: Build and publish
2829
env:
@@ -31,3 +32,7 @@ jobs:
3132
run: |
3233
python setup.py sdist bdist_wheel
3334
twine upload dist/*
35+
36+
- name: Deploy mkdocs site
37+
run: |
38+
mkdocs gh-deploy --force

.github/workflows/unittests_codecov.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ubuntu-latest, macos-latest, windows-latest]
20-
python-version: [3.5, 3.6, 3.7]
20+
python-version: [3.6, 3.7, 3.8, 3.9]
2121
steps:
2222
- uses: actions/checkout@master
2323

@@ -26,23 +26,6 @@ jobs:
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828

29-
# https://github.com/actions/virtual-environments/issues/294
30-
- name: Configure path to rc.exe for Python 3.5
31-
run: |
32-
function Invoke-VSDevEnvironment {
33-
$vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
34-
$installationPath = & $vswhere -prerelease -legacy -latest -property installationPath
35-
$Command = Join-Path $installationPath "Common7\Tools\vsdevcmd.bat"
36-
& "${env:COMSPEC}" /s /c "`"$Command`" -no_logo && set" | Foreach-Object {
37-
if ($_ -match '^([^=]+)=(.*)') {
38-
[System.Environment]::SetEnvironmentVariable($matches[1], $matches[2])
39-
}
40-
}
41-
}
42-
Invoke-VSDevEnvironment
43-
Get-Command rc.exe | Format-Table -AutoSize
44-
if: matrix.os == 'windows-latest' && matrix.python-version == '3.5'
45-
4629
- name: Install dependencies
4730
run: |
4831
pip3 install --upgrade pip

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@
2222
author_email="[email protected]",
2323
include_package_data=True,
2424
license="MIT",
25-
python_requires=">=3.5",
25+
python_requires=">=3.6",
2626
classifiers=[
2727
"Programming Language :: Python :: 3",
28+
"Programming Language :: Python :: 3.6",
29+
"Programming Language :: Python :: 3.7",
30+
"Programming Language :: Python :: 3.8",
31+
"Programming Language :: Python :: 3.9",
2832
"License :: OSI Approved :: MIT License",
2933
"Operating System :: OS Independent",
3034
],

0 commit comments

Comments
 (0)