Skip to content

Commit

Permalink
Bump Python versions (torchbox#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruisaraiva19 authored Nov 5, 2020
1 parent 4bffbe9 commit 5156166
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8
- uses: pre-commit/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v3.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 19.10b0
rev: 20.8b1
hooks:
- id: black
language_version: python3.7
language_version: python3.8
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Contributions are what make the open source community such an amazing place to b

### Local development

- In the python environment of your choice, navigate to `/examples`
- In the python environment of your choice, navigate to `/example`
- Run `pip install -r requirements.txt`
- Delete the `db.sqlite3` file and run `./manage.py migrate`
- Run server `./manage.py runserver`
Expand All @@ -208,7 +208,7 @@ Contributions are what make the open source community such an amazing place to b
Wagtail Grapple supports:

- Django 2.2.x, 3.0.x
- Python 3.6, 3.7 and 3.8
- Python 3.6, 3.7, 3.8 and 3.9
- Wagtail >= 2.5, < 2.11

## License
Expand Down
2 changes: 1 addition & 1 deletion example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use an official Python runtime as a parent image
FROM python:3.7
FROM python:3.8
LABEL maintainer="[email protected]"

# Set environment varibles
Expand Down
4 changes: 3 additions & 1 deletion example/home/migrations/0017_auto_20201006_2147.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ class Migration(migrations.Migration):
),
),
],
options={"abstract": False,},
options={
"abstract": False,
},
),
migrations.AddField(
model_name="blogpage",
Expand Down
4 changes: 3 additions & 1 deletion grapple/migrations/0004_delete_stubmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ class Migration(migrations.Migration):
]

operations = [
migrations.DeleteModel(name="StubModel",),
migrations.DeleteModel(
name="StubModel",
),
]
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Framework :: Wagtail
Framework :: Wagtail :: 2
Topic :: Scientific/Engineering
Expand Down

0 comments on commit 5156166

Please sign in to comment.