diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 98a8b5fe..8a974174 100644 --- a/.github/dependabot.yml +++ b/.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" diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index cc109a65..286881f4 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -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 }} diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index d35644df..770d9b00 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -3,7 +3,7 @@ name: Code Linter on: push: branches: - - main + - main pull_request: jobs: @@ -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: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22ec6131..90816c44 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dd2d6849..f761bafc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,7 +3,7 @@ name: Tests on: push: branches: - - main + - main pull_request: jobs: @@ -13,7 +13,7 @@ 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 @@ -21,9 +21,9 @@ jobs: - 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: | diff --git a/setup.py b/setup.py index e1aac7b4..f6a9cf11 100755 --- a/setup.py +++ b/setup.py @@ -37,5 +37,6 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", ], ) diff --git a/tox.ini b/tox.ini index 3ded49cd..c4fb5706 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [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 = @@ -10,6 +10,7 @@ python = 3.7: py37 3.8: py38 3.9: py39 + 3.10: py310 [testenv] setenv =