Skip to content

Commit

Permalink
Add support to python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
jairhenrique committed Oct 9, 2021
1 parent f278865 commit 47edfb6
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 26 deletions.
18 changes: 9 additions & 9 deletions .github/dependabot.yml
@@ -1,12 +1,12 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "monthly"
rebase-strategy: "auto"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "monthly"
rebase-strategy: "auto"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
12 changes: 6 additions & 6 deletions .github/workflows/changelog.yml
Expand Up @@ -6,9 +6,9 @@ jobs:
remind:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: peterjgrainger/action-changelog-reminder@v1.3.0
with:
changelog_regex: 'CHANGELOG.md'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@main
- uses: peterjgrainger/action-changelog-reminder@v1.3.0
with:
changelog_regex: "CHANGELOG.md"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/linter.yml
Expand Up @@ -3,7 +3,7 @@ name: Code Linter
on:
push:
branches:
- main
- main
pull_request:

jobs:
Expand All @@ -14,10 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"

- name: Install Python dependencies
run: python -m pip install --upgrade pip setuptools wheel twine
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Expand Up @@ -3,7 +3,7 @@ name: Tests
on:
push:
branches:
- main
- main
pull_request:

jobs:
Expand All @@ -13,17 +13,17 @@ jobs:

strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2

- name: Setup PostgreSQL with PostGIS
uses: huaxk/postgis-action@v1
with:
postgresql version: '11'
postgresql db: 'postgres'
postgresql user: 'postgres'
postgresql version: "11"
postgresql db: "postgres"
postgresql user: "postgres"

- name: Install PostgreSQL dependencies
run: |
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -37,5 +37,6 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)
5 changes: 3 additions & 2 deletions tox.ini
@@ -1,15 +1,16 @@
[tox]
envlist =
py{36,37,38}-django{22,31,32}-{postgresql,sqlite}
py{39}-django{32}-{postgresql,sqlite}
py39-djangomain
py{39,310}-django{32}-{postgresql,sqlite}
py{39,310}-djangomain

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310

[testenv]
setenv =
Expand Down

0 comments on commit 47edfb6

Please sign in to comment.