Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
🔧 Support python3.10
Browse files Browse the repository at this point in the history
OF 2.7.x still uses python3.10
  • Loading branch information
stevenbal committed Aug 8, 2024
1 parent b14b134 commit e1e81d1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ jobs:
tests:
name: Run the Django test suite
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12', '3.10']
ref:
- master
- your-branch-for-3.10
exclude:
- python-version: '3.12'
ref: master
- python-version: '3.10'
ref: stable/2.7.x
services:
postgres:
image: postgres:14
Expand Down Expand Up @@ -49,7 +60,7 @@ jobs:
uses: maykinmedia/[email protected]
with:
apt-packages: 'libxml2 libxmlsec1 libxmlsec1-openssl gettext postgresql-client gdal-bin'
python-version: '3.12'
python-version: ${{ matrix.python-version }}
optimize-postgres: 'yes'
pg-service: 'postgres'
setup-node: 'yes'
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Welcome to stuf_zds_payments's documentation!
:Version: 0.1.0
:Source: https://github.com/maykinmedia/stuf_zds_payments
:Keywords: ``<keywords>``
:PythonVersion: 3.12
:PythonVersion: 3.10

|build-status| |code-quality| |black| |coverage| |docs|

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ classifiers = [
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.12"
requires-python = ">=3.10"
dependencies = [
"django>=4.2"
]
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{312}-django{42}
py{310,312}-django{42}
isort
black
flake8
Expand All @@ -9,6 +9,7 @@ skip_missing_interpreters = true

[gh-actions]
python =
3.10: py310
3.12: py312

[gh-actions:env]
Expand Down

0 comments on commit e1e81d1

Please sign in to comment.