Skip to content

Commit

Permalink
updated python compatability to include 3.9 (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
athackst authored Oct 24, 2020
1 parent ae0dce3 commit bdf6886
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3, 3.5, 3.6, 3.7, 3.8]
python-version: [3, 3.5, 3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/test_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,30 +31,29 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: git setup
with:
token: ${{ secrets.RELEASEBOT_TOKEN }}
- name: tag
run: |
git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --local user.name "${GITHUB_ACTOR}"
git remote add action https://x-access-token:${RELEASEBOT_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
- name: tag
run: |
git tag --force ${TEST_TAG}
git push --force action ${TEST_TAG}
git push --force origin ${TEST_TAG}
sed "s/^ version=.*/ version='0.0.0',/" -i setup.py
git add setup.py
git commit -m "testing bump commit"
git checkout -b ${TEST_RELEASE}
git show-ref
echo "Pushing to ${TEST_RELEASE}"
git push --force action ${TEST_RELEASE}
git push --force origin ${TEST_RELEASE}
git tag --force ${TEST_TAG}
git push --force action ${TEST_TAG}
git push --force origin ${TEST_TAG}
- name: cleanup tag
if: ${{ always() }}
run: git push --delete action ${TEST_TAG}
run: git push --delete origin ${TEST_TAG}
- name: cleanup branch
if: ${{ always() }}
run: git push --delete action ${TEST_RELEASE}
run: git push --delete origin ${TEST_RELEASE}

test-docker:
if: contains(github.event.pull_request.labels.*.name, 'test-docker')
Expand Down
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
{
"label": "update",
"type": "shell",
"command": "pip3 install --user -r requirements.txt --upgrade",
"command": "pip3 install --upgrade pip && pip3 install --user -r requirements.txt --upgrade",
"problemMatcher": []
},
]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-alpine
FROM python:3.9-alpine

WORKDIR /tmp
COPY mkdocs_simple_plugin mkdocs_simple_plugin
Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs-simple-gen.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Install the plugin with pip.
pip install mkdocs-simple-plugin
```

_Python 3.x, 3.5, 3.6, 3.7, 3.8 supported._
_Python 3.x, 3.5, 3.6, 3.7, 3.8, 3.9 supported._


### Command line options
Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs-simple-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Install the plugin with pip.
pip install mkdocs-simple-plugin
```

_Python 3.x, 3.5, 3.6, 3.7, 3.8 supported._
_Python 3.x, 3.5, 3.6, 3.7, 3.8, 3.9 supported._

### Plugin usage

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
],
packages=setuptools.find_packages(),
entry_points={
Expand Down

0 comments on commit bdf6886

Please sign in to comment.